Bitbybit Docs
    Preparing search index...

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

    A base shape, a profile face sketched on one of its faces, a draft angle and how far to sweep the profile for features.taperedBoss and features.taperedPocket, whose sides lean by the angle.

    Type Parameters

    • T
    • U
    Index

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalshape: T
      • Optionalprofile: U
      • OptionalsketchFaceIndex: number
      • Optionalangle: number
      • Optionalextent: featureExtentEnum
      • Optionallength: number
      • OptionaluntilFaceIndex: number

      Returns TaperedPrismFeatureDto<T, U>

    Properties

    shape: T

    The base shape the feature is built on.

    undefined
    
    profile: U

    The face to sweep; it must lie on the face of the base that sketchFaceIndex names.

    undefined
    
    sketchFaceIndex?: number

    The face of the base the profile lies on, counted from 0 as shapes.face.getFaces lists them.

    0
    

    0

    Infinity

    1

    angle?: number

    How far the sides lean from straight, in degrees: a positive angle narrows the feature as it goes away from the sketch face, a negative one widens it.

    5
    

    -90

    true

    90

    true

    1

    Where the feature stops: after length, at the face untilFaceIndex names, or once it has passed through the whole base.

    length
    
    length?: number

    How far the feature runs from the sketch face when extent is length, in model units.

    1
    

    0

    true

    Infinity

    0.1

    untilFaceIndex?: number

    The face the feature stops at when extent is untilFace: one the profile meets on its way, such as the underside of an overhang or a void's ceiling.

    0
    

    0

    Infinity

    1