brepjs API Reference
    Preparing search index...

    Interface DrillOptions

    Options for the drill() compound operation.

    interface DrillOptions {
        at: Vec3 | Vec2;
        axis?: Vec3;
        depth?: number;
        radius: number;
    }
    Index

    Properties

    Properties

    at: Vec3 | Vec2

    Position of the hole (Vec2 projects along axis).

    axis?: Vec3

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

    depth?: number

    Hole depth. Omit for through-all (computed from bounds).

    radius: number

    Hole radius.