Skip to main content

make_spur_rack_rsolid

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

Signature

def make_spur_rack_rsolid(module: 'float', n_teeth: 'int' = 10, pressure_angle: 'float' = 20.0, rack_height: 'float' = 6.0) -> 'Solid'

Description

Create a straight-tooth rack.

Create a straight-tooth rack.

Parameters ---------- module : float Gear module in mm (tooth pitch = pi * module). n_teeth : int, default 10 Number of teeth along the rack. pressure_angle : float, default 20 Pressure angle in degrees. rack_height : float, default 6.0 Rack thickness along Z in mm.

Parameters

NameTypeRequiredDefaultSource description
module'float'yes-Not explicitly described in the source docstring.
n_teeth'int'no10Not explicitly described in the source docstring.
pressure_angle'float'no20.0Not explicitly described in the source docstring.
rack_height'float'no6.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_rack_rsolid

See also