Compare commits

...

2 Commits

2 changed files with 27 additions and 0 deletions

View File

@ -8,6 +8,8 @@ ftdi_layout_signal SWD_EN -data 0
ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200
set WORKAREASIZE 0
source [find target/stm32l0.cfg]
$_TARGETNAME configure -event reset-end {

25
v5/pnp_model.py Normal file
View File

@ -0,0 +1,25 @@
import cadquery as cq
centers = [
(-5, 0),
(10, 5),
(10, -5)
]
plunger = (
cq.Workplane("XZ")
.polyline([
(0, 0),
(10, 0),
(9.2, 10),
(0, 10)
])
.close()
.revolve()
.faces(">Z")
.workplane()
.pushPoints(centers)
.hole(3)
)
show_object(plunger)