Bitbybit Docs
    Preparing search index...

    Class ShapeToMeshDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalprecision: number
      • OptionaladjustYtoZ: boolean
      • OptionalcomputeMetadata: boolean
      • OptionalkeepMeshData: boolean
      • OptionalallowQualityDecrease: boolean
      • OptionalforceFaceDeflection: boolean

      Returns ShapeToMeshDto<T>

    Properties

    shape: T

    Shape to save

    undefined
    
    precision: number

    Precision of the mesh

    0.01
    

    0

    Infinity

    0.001

    adjustYtoZ: boolean

    Adjust Y (up) coordinate system to Z (up) coordinate system

    false
    
    computeMetadata?: boolean

    Compute additional per-face and per-edge metadata (area, length, centers of mass, surface/curve type, tolerance and adjacency). Adds cost; base mesh is unchanged when false.

    false
    
    keepMeshData?: boolean

    Keep the cached triangulation on the shape after meshing. When false (default) the mesh data is flushed off the shape so it does not accumulate in memory across calls.

    false
    
    allowQualityDecrease?: boolean

    Allow re-meshing to a lower resolution triangulation than one already cached on the shape (OCCT IMeshTools_Parameters.AllowQualityDecrease).

    true
    
    forceFaceDeflection?: boolean

    Force every face to be re-meshed to the requested precision regardless of any cached triangulation (OCCT IMeshTools_Parameters.ForceFaceDeflection).

    false