Skip to content

Commit cca992a

Browse files
committed
updated board to match new motherboard
1 parent bd6a880 commit cca992a

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

nucleo-144.groovy

+20-18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
double holeDiam = 3.2
2-
double standoff =10
2+
double standoff =8
33
LengthParameter thickness = new LengthParameter("Material Thickness",11.88,[10,1])
44
CSG boltHole =new Cylinder(holeDiam/2,holeDiam/2,thickness.getMM()*4,(int)30).toCSG()
55
.toXMin()
@@ -9,35 +9,37 @@ double standoffThickness = 2
99
CSG standoffShaft =new Cylinder((holeDiam/2)+standoffThickness,(holeDiam/2)+standoffThickness,standoff,(int)30).toCSG()
1010
.toXMin()
1111
.toYMin()
12+
13+
1214
CSG standoffs = CSG.unionAll([
1315
standoffShaft
14-
.movey(9.0-standoffThickness)
15-
.movex(26.3-standoffThickness),
16+
.movey(2.54-standoffThickness)
17+
.movex(2.54-standoffThickness),
1618
standoffShaft
17-
.movey(57.4-standoffThickness)
18-
.movex(27.7-standoffThickness),
19+
.movey(118.68-standoffThickness)
20+
.movex(2.54-standoffThickness),
1921
standoffShaft
20-
.movey(56.6-standoffThickness)
21-
.movex(103.0-standoffThickness),
22+
.movey(2.54-standoffThickness)
23+
.movex(139.84-standoffThickness),
2224
standoffShaft
23-
.movey(10.7-standoffThickness)
24-
.movex(103.0-standoffThickness)
25+
.movey(118.68-standoffThickness)
26+
.movex(139.84-standoffThickness)
2527
])
2628
CSG bolts = CSG.unionAll([
2729
boltHole
28-
.movey(9.0)
29-
.movex(26.3),
30+
.movey(2.54)
31+
.movex(2.54),
3032
boltHole
31-
.movey(57.4)
32-
.movex(27.7),
33+
.movey(118.68)
34+
.movex(2.54),
3335
boltHole
34-
.movey(56.6)
35-
.movex(103.0),
36+
.movey(2.54)
37+
.movex(139.84),
3638
boltHole
37-
.movey(10.7)
38-
.movex(103.0)
39+
.movey(118.68)
40+
.movex(139.84)
3941
])
40-
CSG board = new Cube(133.5,70,1.6).toCSG()
42+
CSG board = new Cube(146.05,124.89,1.6).toCSG()
4143
.toXMin()
4244
.toYMin()
4345
.movez(standoff)

0 commit comments

Comments
 (0)