brepjs API Reference
    Preparing search index...

    Interface RevolveOptions

    Options for revolve.

    interface RevolveOptions {
        angle?: number;
        around?: Vec3;
        at?: Vec3;
        axis?: Vec3;
    }
    Index

    Properties

    Properties

    angle?: number

    Rotation angle in degrees. Default: 360 (full revolution).

    around?: Vec3

    Use at instead. Will be removed in v8.0.0.

    at?: Vec3

    Pivot point. Default: [0, 0, 0].

    axis?: Vec3

    Rotation axis. Default: [0, 0, 1] (Z).