Files
cadSet/text-to-cad/models/cad-router-v1/shaft_reference_set_v1/086237_like.py
T
2026-07-22 19:38:36 +08:00

21 lines
485 B
Python

"""Approximate long slim stepped shaft inferred from reference 086237."""
from shaft_common import cut_side_flat, export_horizontal, stepped_body
SEGMENTS = [
(7.0, 20.0),
(10.0, 278.0),
(14.0, 10.0),
(18.0, 4.0),
(22.0, 8.0),
(18.0, 4.0),
(12.0, 18.0),
]
def gen_step():
body, _ = stepped_body(SEGMENTS)
body = cut_side_flat(body, diameter=7.0, z_start=14.0, length=6.0, flat_depth=1.0)
return export_horizontal(body, "shaft_086237_like")