Bitbybit Docs
    Preparing search index...

    Interface DesignHoleFeature (Models.OCCT)

    Drills holes into body through the flat face on names, at the points at, which are x and y on that face as a sketch on it reads them (origin and direction as for a sketch on a face). depth 0, the default, drills through; tipAngle gives the bottom a drill point. A counterbore or a countersink widens each mouth. Every hole's faces are named wall, and a hole whose position has an id, as { "id": "left", "x": -10, "y": 0 }, also wall with that id, which a reference names it by; a position is never named by where it comes in at.

    interface DesignHoleFeature {
        extras?: unknown;
        extensions?: Record<string, unknown>;
        id: string;
        name?: string;
        suppressed?: boolean | DesignNumber;
        type: "hole";
        body: string;
        on: DesignFaceReference;
        origin?: DesignPoint;
        direction?: DesignPoint;
        at: ([DesignNumber, DesignNumber] | DesignHolePosition)[];
        diameter: DesignNumber;
        depth?: DesignNumber;
        tipAngle?: DesignNumber;
        counterbore?: { diameter: DesignNumber; depth: DesignNumber };
        countersink?: { diameter: DesignNumber; angle: DesignNumber };
    }

    Hierarchy (View Summary)

    Index

    Properties

    extras?: unknown
    extensions?: Record<string, unknown>
    id: string
    name?: string
    suppressed?: boolean | DesignNumber
    type: "hole"
    body: string
    origin?: DesignPoint
    direction?: DesignPoint
    diameter: DesignNumber
    depth?: DesignNumber
    tipAngle?: DesignNumber
    counterbore?: { diameter: DesignNumber; depth: DesignNumber }
    countersink?: { diameter: DesignNumber; angle: DesignNumber }