brepjs API Reference
    Preparing search index...

    Interface CylinderOptions

    Options for cylinder.

    interface CylinderOptions {
        at?: Vec3;
        axis?: Vec3;
        centered?: boolean;
    }
    Index

    Properties

    Properties

    at?: Vec3

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

    axis?: Vec3

    Cylinder axis direction. Default: [0, 0, 1] (Z-up).

    centered?: boolean

    Center vertically instead of base at origin.