Bitbybit Docs
    Preparing search index...

    Class DraftAngleDto<T, U> (Inputs.OCCT)

    A shape, the faces to tilt and the draft settings for draft.draftAngle, which tapers the faces about a neutral plane.

    Type Parameters

    • T
    • U
    Index

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalshape: T
      • Optionalfaces: U[]
      • Optionaldirection: Vector3
      • Optionalangle: number
      • OptionalneutralPlaneOrigin: Point3
      • OptionalneutralPlaneDirection: Vector3
      • Optionalflag: boolean

      Returns DraftAngleDto<T, U>

    Properties

    shape: T

    The solid whose faces are tilted.

    undefined
    
    faces: U[]

    The faces of the shape that get the taper.

    undefined
    
    direction: Vector3

    The pull direction, the way the part leaves the mold; the taper is measured against it.

    [0, 1, 0]
    
    angle: number

    The draft angle, in degrees.

    5
    

    1

    neutralPlaneOrigin: Point3

    A point on the neutral plane, the plane that stays where it is while the faces pivot about it.

    [0, 0, 0]
    
    neutralPlaneDirection: Vector3

    The normal of the neutral plane.

    [0, 0, 1]
    
    flag: boolean

    When true, the faces taper on the standard side; false tapers them the other way.

    true