Bitbybit Docs
    Preparing search index...

    Class NGonWireDto (Inputs.OCCT)

    A corner count, a radius and a placement for shapes.wire.createNGonWire and shapes.face.createNGonFace, a regular polygon.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalcenter: Point3
      • Optionaldirection: Vector3
      • OptionalnrCorners: number
      • Optionalradius: number

      Returns NGonWireDto

    Properties

    center: Point3

    The point the polygon is centered on.

    [0, 0, 0]
    
    direction: Vector3

    The normal of the plane the polygon lies in; the default lays it flat on the ground.

    [0, 1, 0]
    
    nrCorners: number

    How many corners, and so how many equal sides, the polygon has.

    6
    

    3

    Infinity

    1

    radius: number

    The distance from the center to each corner, in model units.

    1
    

    0

    Infinity

    0.1