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; 360 or more gives a full turn.

    360
    

    0

    360

    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