Bitbybit Docs
    Preparing search index...

    Interface RecipeRevolveNodeBeta (Inputs.Base)

    A solid made by turning a polygon or circle node about an axis in the XY plane, such as a pipe bend or a round column's capital. The profile must lie on one side of the axis.

    interface RecipeRevolveNode {
        op: "revolve";
        profile: number;
        origin: Bit.Inputs.Base.Point2;
        direction: Vector2;
        angle: number;
    }
    Index

    Properties

    op: "revolve"

    Always revolve.

    profile: number

    The index of the polygon or circle node to turn.

    A point on the axis, as [x, y].

    direction: Vector2

    The axis direction, as [x, y]; not a zero vector.

    angle: number

    How far to turn, in radians, above zero and at most a whole turn. The turn follows the right-hand rule about direction.