1
1
double holeDiam = 3.2
2
- double standoff = 10
2
+ double standoff = 8
3
3
LengthParameter thickness = new LengthParameter (" Material Thickness" ,11.88 ,[10 ,1 ])
4
4
CSG boltHole = new Cylinder (holeDiam/ 2,holeDiam/ 2 ,thickness. getMM()* 4 ,(int )30 ). toCSG()
5
5
.toXMin()
@@ -9,35 +9,37 @@ double standoffThickness = 2
9
9
CSG standoffShaft = new Cylinder ((holeDiam/ 2)+standoffThickness,(holeDiam/ 2 )+ standoffThickness,standoff,(int )30 ). toCSG()
10
10
.toXMin()
11
11
.toYMin()
12
+
13
+
12
14
CSG standoffs = CSG . unionAll([
13
15
standoffShaft
14
- .movey(9.0 - standoffThickness)
15
- .movex(26.3 - standoffThickness),
16
+ .movey(2.54 - standoffThickness)
17
+ .movex(2.54 - standoffThickness),
16
18
standoffShaft
17
- .movey(57.4 - standoffThickness)
18
- .movex(27.7 - standoffThickness),
19
+ .movey(118.68 - standoffThickness)
20
+ .movex(2.54 - standoffThickness),
19
21
standoffShaft
20
- .movey(56.6 - standoffThickness)
21
- .movex(103.0 - standoffThickness),
22
+ .movey(2.54 - standoffThickness)
23
+ .movex(139.84 - standoffThickness),
22
24
standoffShaft
23
- .movey(10.7 - standoffThickness)
24
- .movex(103.0 - standoffThickness)
25
+ .movey(118.68 - standoffThickness)
26
+ .movex(139.84 - standoffThickness)
25
27
])
26
28
CSG bolts = CSG . unionAll([
27
29
boltHole
28
- .movey(9.0 )
29
- .movex(26.3 ),
30
+ .movey(2.54 )
31
+ .movex(2.54 ),
30
32
boltHole
31
- .movey(57.4 )
32
- .movex(27.7 ),
33
+ .movey(118.68 )
34
+ .movex(2.54 ),
33
35
boltHole
34
- .movey(56.6 )
35
- .movex(103.0 ),
36
+ .movey(2.54 )
37
+ .movex(139.84 ),
36
38
boltHole
37
- .movey(10.7 )
38
- .movex(103.0 )
39
+ .movey(118.68 )
40
+ .movex(139.84 )
39
41
])
40
- CSG board = new Cube (133.5 , 70 ,1.6 ). toCSG()
42
+ CSG board = new Cube (146.05 , 124.89 ,1.6 ). toCSG()
41
43
.toXMin()
42
44
.toYMin()
43
45
.movez(standoff)
0 commit comments