Bitbybit Docs
    Preparing search index...

    Class MakeDraftToShapeDto<T> (Inputs.OCCT)

    A wire or shape, a direction, an angle and a stop shape for draft.makeDraftToShape, which grows a tapered skirt from the edges until it meets the stop shape.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldirection: Vector3
      • Optionalangle: number
      • OptionalstopShape: T
      • OptionalkeepOut: boolean
      • Optionalinternal: boolean

      Returns MakeDraftToShapeDto<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

    stopShape: T

    The shape the skirt grows up to and stops at.

    undefined
    
    keepOut: boolean

    When true, the part of the stop shape outside the skirt is kept in the result.

    false
    
    internal: boolean

    When true, the skirt leans inward instead of outward.

    false