1.0 KiB
1.0 KiB
make_herringbone_rack_rsolid
API Definition
def make_herringbone_rack_rsolid(module: float, n_teeth: int = 10, pressure_angle: float = 20.0, helix_angle: float = 30.0, rack_height: float = 10.0) -> Solid
Source: std/gear.py
Import Surface
- standard library:
import simplecadapi as scadthenscad.std.gear.make_herringbone_rack_rsolid(...); direct submodule import:from simplecadapi.std.gear import make_herringbone_rack_rsolid
Description
Create a herringbone rack.
Parameters
module
- Type:
float - Description: Gear module in mm (tooth pitch = pi * module).
n_teeth
- Type:
int, default 10 - Description: Number of teeth along the rack.
pressure_angle
- Type:
float, default 20 - Description: Pressure angle in degrees.
helix_angle
- Type:
float, default 30 - Description: Helix angle of each half in degrees.
rack_height
- Type:
float, default 10.0 - Description: Total rack thickness along Z in mm.