From 977951042c6adb08c497a2c811a7f505ff0f7000 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Mon, 16 May 2022 22:20:53 -0400 Subject: [PATCH] Outline of follow focus base --- follow_focus.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 follow_focus.py diff --git a/follow_focus.py b/follow_focus.py new file mode 100644 index 0000000..4e45da5 --- /dev/null +++ b/follow_focus.py @@ -0,0 +1,13 @@ +import cadquery as cq + +slant_degree=15.0 +thickness=20 +stepper_motor_size=42 +offset=8.83 + +base = cq.Workplane('XY').lineTo(0,offset).polarLine(42 ,90-slant_degree).hLine(43.4816).polarLine(45,270-slant_degree).polarLine(10,-(90-2*slant_degree)) +base = base.threePointArc((50,-20), (25, -30)).polarLine(10, 180-slant_degree).vLine(10).polarLine(12.5, -slant_degree) +base = base.threePointArc((35, -20), (25, 0)).polarLine(10, 180-slant_degree).close().extrude(20) + +# Render +show_object(base)