Bitbybit Docs
    Preparing search index...

    Class AlignAndTranslateShapesDto<T> (Inputs.OCCT)

    Shapes and one direction and point each for transforms.alignAndTranslateShapes; all the lists must have the same length.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shapes: T[]

    The shapes to place.

    undefined
    
    directions: Vector3[]

    One direction per shape for its Y axis to point along.

    [[0, 1, 0]]
    
    centers: Vector3[]

    One point per shape for its origin to move to, in model units.