Bitbybit Docs
    Preparing search index...

    Class ShapeFacesToPolygonPointsDto<T> (Inputs.OCCT)

    A shape and meshing settings for shapeFacesToPolygonPoints, which returns every triangle of the shape as three points.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalprecision: number
      • OptionaladjustYtoZ: boolean
      • OptionalreversedPoints: boolean

      Returns ShapeFacesToPolygonPointsDto<T>

    Properties

    shape: T

    The shape to triangulate.

    undefined
    
    precision: number

    The meshing tolerance in model units; a smaller value follows curved surfaces more closely with more triangles.

    0.01
    

    0

    Infinity

    0.001

    adjustYtoZ: boolean

    When true, the points are turned so this library's Y-up becomes Z-up, for tools that treat Z as up.

    false
    
    reversedPoints: boolean

    When true, the three points of each triangle come in the opposite order, for tools that wind triangles the other way.

    false