16 lines
423 B
Python
16 lines
423 B
Python
"""Approximate long cylindrical pin with a shallow axial end recess."""
|
|
|
|
from shaft_common import cut_end_bore, export_horizontal, stepped_body
|
|
|
|
|
|
OUTER_DIAMETER = 18.0
|
|
LENGTH = 120.0
|
|
RECESS_DIAMETER = 6.0
|
|
RECESS_DEPTH = 5.0
|
|
|
|
|
|
def gen_step():
|
|
body, total = stepped_body([(OUTER_DIAMETER, LENGTH)])
|
|
body = cut_end_bore(body, total, RECESS_DIAMETER, RECESS_DEPTH)
|
|
return export_horizontal(body, "pin_004910_like")
|