Bitbybit Docs
    Preparing search index...

    Class Heart2DDto (Inputs.OCCT)

    The size and placement of a heart outline for shapes.wire.createHeartWire and shapes.face.createHeartFace.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

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

      Returns Heart2DDto

    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