From a29065873669043d341f502d748fcc85279ecde5 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Fri, 20 May 2022 20:07:55 -0400 Subject: [PATCH] Basic gear mount point --- follow_focus.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/follow_focus.py b/follow_focus.py index 943fd4c..5eed578 100644 --- a/follow_focus.py +++ b/follow_focus.py @@ -15,6 +15,7 @@ lid_thicknesss = 5 offset=9 part_thinkness=20 gear_thinkness=10 +large_gear_diameter=8.5 gap = stepper_motor_size * math.sin(math.radians(slant_degree)) / math.sin(math.radians(90-slant_degree)) width = math.sqrt(gap**2 + stepper_motor_size**2 - 2*gap*stepper_motor_size*math.cos(math.radians(90))) @@ -92,6 +93,12 @@ lid = lid.add(copy) lid = lid.faces('>Z[1]').workplane().center(stepper_center[0], -stepper_center[1]-offset-loop_thickness).circle(5).extrude(lid_thicknesss-wall_width) lid = lid.faces('>Z[0]').workplane().circle(5/2).cutThruAll() +gear_gap=0.2 +base = base.faces('