From d241613ed95d689601435bab4cb39459d866f64a Mon Sep 17 00:00:00 2001 From: Arnaud Morin Date: Mon, 14 Sep 2026 22:00:56 +0200 Subject: [PATCH] Finish standoff Signed-off-by: Arnaud Morin --- standoff.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/standoff.py b/standoff.py index 723ce4a..e6b5581 100644 --- a/standoff.py +++ b/standoff.py @@ -8,12 +8,21 @@ from frame_params import PLATE_GAP OD = 3.5 # round M2 standoff ALU_DENSITY = 2.70e-3 # g/mm3, for mass reporting +PLATE_GAP=16 def standoff(): p = (cq.Workplane("XY") .circle(OD / 2.0) - .extrude(PLATE_GAP)) + .extrude(PLATE_GAP) + ) + + cut = (cq.Workplane("XY") + .circle(1) + .extrude(PLATE_GAP) + ) + + p = p.cut(cut) return p