Bitbybit Docs
    Preparing search index...

    Class MakeDraftDto<T> (Inputs.OCCT)

    A wire or shape, a direction, an angle and a length for draft.makeDraft, which grows a tapered skirt from the edges.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldirection: Vector3
      • Optionalangle: number
      • OptionallengthMax: number
      • Optionalinternal: boolean

      Returns MakeDraftDto<T>

    Properties

    shape: T

    The wire, face or shape whose edges the skirt grows from.

    undefined
    
    direction: Vector3

    The direction the skirt grows along, the pull direction of the mold.

    [0, 1, 0]
    
    angle: number

    How far the skirt leans from the direction, in degrees.

    5
    

    1

    lengthMax: number

    How long the skirt may grow, in model units, measured along the corner edges between its faces.

    10
    

    0.1

    internal: boolean

    When true, the skirt leans inward instead of outward.

    false