Bitbybit Docs
    Preparing search index...

    Class DrawMeshingOptionsBeta (Inputs.Draw)

    Built by draw.optionsMeshing for the meshing of DrawOcctDocumentOptions: how closely the triangles of an assembly document follow its curved faces. Left out, these defaults apply.

    Index

    Constructors

    • Beta

      Parameters

      • Optionalprecision: number
      • OptionalangularDeflection: number
      • OptionalrelativeDeflection: boolean
      • OptionalforceFaceDeflection: boolean
      • OptionalallowQualityDecrease: boolean

      Returns DrawMeshingOptions

    Properties

    precision?: number

    The largest distance, in model units, the triangles and edge lines may stray from the curved faces; smaller is finer and heavier.

    0.01
    

    0

    true

    Infinity

    0.01

    angularDeflection?: number

    The largest angle, in radians, a curved face may turn between neighboring triangles; smaller follows curvature more closely with more triangles.

    0.5
    

    0.001

    3.14159

    0.05

    relativeDeflection?: boolean

    When true, precision is a fraction of each edge's and face's size instead of model units, so small and large parts get triangles in proportion to their size.

    false
    @beta
    forceFaceDeflection?: boolean

    When true, every face is meshed at exactly precision; when false, a face's precision is raised to the average of its edges' and to twice its tolerance.

    false
    @beta
    allowQualityDecrease?: boolean

    When true, a part already meshed more finely may be meshed again at the coarser precision.

    true
    @beta