Bitbybit Docs
    Preparing search index...

    Class ShapesToMeshesDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshapes: T[]
      • Optionalprecision: number
      • OptionaladjustYtoZ: boolean
      • OptionalcomputeMetadata: boolean
      • OptionalkeepMeshData: boolean
      • OptionalallowQualityDecrease: boolean
      • OptionalforceFaceDeflection: boolean

      Returns ShapesToMeshesDto<T>

    Properties

    shapes: T[]

    Shapes to transform

    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 each shape after meshing. When false (default) the mesh data is flushed 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 a 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