diff --git a/follow_focus.py b/follow_focus.py index 60a0c15..7663648 100644 --- a/follow_focus.py +++ b/follow_focus.py @@ -39,6 +39,7 @@ gear_gap=0.2 gear_offset=0.5 large_gear_diameter=8.5 gear_thinkness=10 +sg_teeth=11 # Other mount_gap=2 @@ -70,6 +71,7 @@ support_x = (support_y-b)/slope lg_x=support_x-stepper_center[0] lg_y=support_y-stepper_center[1] +lg_radius = (math.sqrt(lg_x**2 + lg_y**2)-sg_teeth*mod/2) def findRodInter(n_x, n_y): p = Point(center_x, center_y) @@ -155,7 +157,7 @@ lid = lid.faces('>Z[1]').workplane().center(stepper_center[0], -stepper_center[1 .circle(5).extrude(lid_thicknesss-wall_width) lid = lid.faces('>Z[0]').workplane().circle(5/2).cutThruAll() -base = base.faces('