Finish standoff

Signed-off-by: Arnaud Morin <arnaud.gfpv@mailops.fr>
This commit is contained in:
Arnaud Morin
2026-09-14 22:00:56 +02:00
parent 9e10071e1a
commit d241613ed9

View File

@@ -8,12 +8,21 @@ from frame_params import PLATE_GAP
OD = 3.5 # round M2 standoff OD = 3.5 # round M2 standoff
ALU_DENSITY = 2.70e-3 # g/mm3, for mass reporting ALU_DENSITY = 2.70e-3 # g/mm3, for mass reporting
PLATE_GAP=16
def standoff(): def standoff():
p = (cq.Workplane("XY") p = (cq.Workplane("XY")
.circle(OD / 2.0) .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 return p