Skip to main content

make_spur_gear_rsolid

Kind: Function
Domain: Standard library
Canonical import: from cadflow.stdlib import make_spur_gear_rsolid

Signature

def make_spur_gear_rsolid(n_teeth: 'int', module: 'float', pressure_angle: 'float' = 20.0, gear_height: 'float' = 6.0, *, addendum_factor: 'float' = 1.0, clearance_factor: 'float' = 0.25, backlash: 'float' = 0.0) -> 'Solid'

Description

Create an involute spur gear (straight teeth, helix angle = 0).

Create an involute spur gear (straight teeth, helix angle = 0).

Parameters ---------- n_teeth : int Number of teeth (>= 3). module : float Gear module in mm (pitch diameter = module * n_teeth). pressure_angle : float, default 20 Pressure angle in degrees. gear_height : float, default 6.0 Gear thickness / extrusion height along Z in mm. addendum_factor : float, default 1.0 Tooth addendum as a multiple of module. clearance_factor : float, default 0.25 Root clearance beyond the addendum, as a multiple of module. backlash : float, default 0.0 Circumferential tooth-thickness reduction at the pitch circle in mm.

Parameters

NameTypeRequiredDefaultSource description
n_teeth'int'yes-Not explicitly described in the source docstring.
module'float'yes-Not explicitly described in the source docstring.
pressure_angle'float'no20.0Not explicitly described in the source docstring.
gear_height'float'no6.0Not explicitly described in the source docstring.
addendum_factor'float'no1.0Not explicitly described in the source docstring.
clearance_factor'float'no0.25Not explicitly described in the source docstring.
backlash'float'no0.0Not explicitly described in the source docstring.

Returns

Type: 'Solid'

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow.stdlib import make_spur_gear_rsolid

See also