Bitbybit Docs
    Preparing search index...

    Class AlignAndTranslateDto<T> (Inputs.OCCT)

    A shape, a direction for its Y axis and a point to move it to, for transforms.alignAndTranslate.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    The shape to place.

    undefined
    
    direction: Vector3

    The direction the shape's Y axis should point along after placing.

    [0, 1, 0]
    
    center: Vector3

    The point the shape's origin is moved to, in model units.