Bitbybit Docs
    Preparing search index...

    Class RevolveDto<T> (Inputs.OCCT)

    A profile, an angle and an axis for operations.revolve, which spins the profile about the axis through the origin.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    The profile to spin: a wire gives a shell, a face a solid; it must not cross the axis.

    undefined
    
    angle?: number

    How far to spin, in degrees; a negative angle spins the other way, 360 or more either way gives a full turn, and 0 is not allowed.

    360
    

    -Infinity

    Infinity

    1

    direction?: Vector3

    The direction of the axis, which passes through the origin.

    [0, 1, 0]
    
    copy?: boolean

    When true, the profile's geometry is copied instead of shared with the result.

    false