Bitbybit Docs
    Preparing search index...

    Interface DesignGearCommand (Models.OCCT)

    An involute spur gear's outline around centre, in the sketch's coordinates, as parts.mechanical.gears.spurGearProfile draws it: module and teeth size it, and the other numbers shape the teeth as that method's inputs do, with the same defaults. With internal true it draws the teeth of a ring gear instead, pointing in toward centre as parts.mechanical.gears.ringGearProfile draws them, for the edge of a hole in a larger loop; a ring takes no profileShift. It is a loop by itself, so it is the only command of its pen or loop. The faces made of it are named by its id and their part, such as <sketch>.<id>.tip, <sketch>.<id>.flank and <sketch>.<id>.root.

    interface DesignGearCommand {
        type: "gear";
        id?: string;
        internal?: boolean;
        centre: [DesignNumber, DesignNumber];
        module: DesignNumber;
        teeth: DesignNumber;
        pressureAngle?: DesignNumber;
        profileShift?: DesignNumber;
        backlash?: DesignNumber;
        addendum?: DesignNumber;
        dedendum?: DesignNumber;
        rootFillet?: DesignNumber;
        rotation?: DesignNumber;
    }
    Index

    Properties

    type: "gear"
    id?: string
    internal?: boolean
    module: DesignNumber
    pressureAngle?: DesignNumber
    profileShift?: DesignNumber
    backlash?: DesignNumber
    addendum?: DesignNumber
    dedendum?: DesignNumber
    rootFillet?: DesignNumber
    rotation?: DesignNumber