Bitbybit Docs
    Preparing search index...

    Class HeartSolidDto (Inputs.OCCT)

    A heart outline and the extrusion lengths for shapes.solid.createHeartSolid; at least one length must be above 0.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalcenter: Point3
      • Optionaldirection: Vector3
      • Optionalrotation: number
      • OptionalsizeApprox: number
      • OptionalextrusionLengthFront: number
      • OptionalextrusionLengthBack: number

      Returns HeartSolidDto

    Properties

    center: Point3

    The point the heart is centered on.

    [0, 0, 0]
    
    direction: Vector3

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

    [0, 1, 0]
    
    rotation: number

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

    0
    

    0

    Infinity

    15

    sizeApprox: number

    The side of the square the heart roughly fits into, in model units.

    2
    

    0

    Infinity

    0.1

    extrusionLengthFront: number

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

    1
    

    0

    Infinity

    0.1

    extrusionLengthBack: number

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

    0
    

    0

    Infinity

    0.1