File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 11import eu.mihosoft.vrl.v3d.CSG
22import eu.mihosoft.vrl.v3d.Cube
3-
4- // code here
5-
63double kerf = 5
7-
84double length = 200
9-
105double width = 50
11-
126double holeDiam = 3
13-
147double thickness = 5
15-
168CSG core = new Cube (length+ kerf* 2 ,width,thickness). toCSG()
17-
189CSG side = new Cube (length,width+ kerf,thickness). toCSG()
1910 .toYMax()
2011 .movey(- width/ 2 )
2112CSG side2 = new Cube (length,width+ kerf,thickness). toCSG()
2213 .toYMin()
2314 .movey(width/ 2 )
24-
2515CSG end = new Cube (width,width* 3 + kerf* 2 ,thickness). toCSG()
2616 .toXMin()
2717 .movex(length/ 2 + kerf)
@@ -31,7 +21,5 @@ core=core.union(side)
3121core= core. union(side2)
3222core= core. union(end)
3323core= core. union(otherEnd)
34-
3524core. addExportFormat(" svg" )
36-
3725return core
You can’t perform that action at this time.
0 commit comments