brepjs API Reference
    Preparing search index...

    Interface TorusOptions

    Options for torus.

    interface TorusOptions {
        at?: Vec3;
        axis?: Vec3;
    }
    Index

    Properties

    Properties

    at?: Vec3

    Center position. Default: [0, 0, 0].

    axis?: Vec3

    Torus axis direction. Default: [0, 0, 1].