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

    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

    true

    Infinity

    0.001

    yUpToZUp makes the points Z-up for tools that treat Z as up, turned about X when right-handed, else with Y and Z swapped; keep leaves them. zUpToYUp is refused.

    keep
    
    adjustYtoZ?: boolean

    When true, the points turn as upAxis yUpToZUp does; false, its old default, decides nothing. True wins over upAxis at its default; beside another chosen turn it is refused.

    Give upAxis instead; this flag goes in the next major version.

    undefined
    

    true

    reversedPoints?: boolean

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

    false