Bitbybit Docs
    Preparing search index...

    Class LPolygonSolidDto (Inputs.OCCT)

    An L shape and the extrusion lengths for shapes.solid.createLPolygonSolid; at least one length must be above 0.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • OptionalwidthFirst: number
      • OptionallengthFirst: number
      • OptionalwidthSecond: number
      • OptionallengthSecond: number
      • Optionalalign: directionEnum
      • Optionalrotation: number
      • Optionalcenter: Point3
      • Optionaldirection: Vector3
      • OptionalextrusionLengthFront: number
      • OptionalextrusionLengthBack: number

      Returns LPolygonSolidDto

    Properties

    widthFirst: number

    The thickness of the first leg, in model units.

    1
    

    0

    Infinity

    0.1

    lengthFirst: number

    The length of the first leg, in model units.

    2
    

    0

    Infinity

    0.1

    widthSecond: number

    The thickness of the second leg, in model units.

    0.5
    

    0

    Infinity

    0.1

    lengthSecond: number

    The length of the second leg, in model units.

    2
    

    0

    Infinity

    0.1

    Where the corner of the L sits relative to the legs: on their outside, their inside or their middle.

    outside
    
    rotation: number

    How far the shape is turned in its plane, in degrees.

    0
    

    0

    Infinity

    15

    center: Point3

    The point the shape is placed at.

    [0, 0, 0]
    
    direction: Vector3

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

    [0, 1, 0]
    
    extrusionLengthFront: number

    How far the L shape grows along its plane normal, in model units.

    1
    

    0

    Infinity

    0.1

    extrusionLengthBack: number

    How far the L shape grows against its plane normal, in model units.

    0
    

    0

    Infinity

    0.1