From 967755f7b1846ea8f3586a094fcb41005bc1f479 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Thu, 26 May 2022 19:06:38 -0400 Subject: [PATCH] Bore hole --- follow_focus.py | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/follow_focus.py b/follow_focus.py index 8f3ca32..6404e72 100644 --- a/follow_focus.py +++ b/follow_focus.py @@ -120,6 +120,36 @@ def createOutline(ex_amount): base = base.edges('|Z').edges('<Z").workplane() + .placeSketch(s_p1) + .extrude(step_dep).faces(">Z").workplane() + .placeSketch(s_p2) + .extrude(thd_dep) + ) + return f_fancyh.rotate((1,0,0),(0,0,0),180) + lid = createOutline(-lid_thicknesss).translate((0,0,part_thinkness)) base = createOutline(part_thinkness) @@ -208,12 +238,12 @@ lid = lid.faces('>Z[0]').workplane().circle(2).cutThruAll() lid = lid.faces('