Bitbybit Docs
    Preparing search index...

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

    A base shape, a profile face sketched on one of its faces and an axis for features.revolvedBoss and features.revolvedPocket, which turn the profile about the axis to add or remove a ring.

    Type Parameters

    • T
    • U
    Index

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalshape: T
      • Optionalprofile: U
      • OptionalsketchFaceIndex: number
      • OptionalaxisOrigin: Point3
      • OptionalaxisDirection: Vector3
      • Optionalangle: number

      Returns RevolvedFeatureDto<T, U>

    Properties

    shape: T

    The base shape the feature is built on.

    undefined
    
    profile: U

    The face to turn, lying in a plane through the axis; 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

    axisOrigin?: Point3

    A point on the axis the profile turns about.

    [0, 0, 0]
    
    axisDirection?: Vector3

    The direction of the axis the profile turns about.

    [0, 1, 0]
    
    angle?: number

    How far the profile turns, in degrees, following the right-hand rule about the axis; 360 makes a whole ring.

    360
    

    0

    true

    360

    1