Bitbybit Docs
    Preparing search index...

    Class TransformShapesDto<T> (Inputs.OCCT)

    Shapes and one scale, rotation and translation each for transforms.transformShapes; all the lists must have the same length.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshapes: T[]
      • Optionaltranslations: Vector3[]
      • OptionalrotationAxes: Vector3[]
      • OptionalrotationAngles: number[]
      • OptionalscaleFactors: number[]

      Returns TransformShapesDto<T>

    Properties

    shapes: T[]

    The shapes to transform; they stay as they are and transformed copies come back in the same order.

    undefined
    
    translations: Vector3[]

    One translation vector per shape, in model units.

    [[0,0,0]]
    
    rotationAxes: Vector3[]

    One rotation axis direction per shape, each through the origin.

    [[0,1,0]]
    
    rotationAngles: number[]

    One rotation angle per shape, in degrees.

    [0]
    
    scaleFactors: number[]

    One uniform scale factor per shape, about the origin.

    [1]