Skip to content

Commit

Permalink
using vex shaft maker
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Sep 20, 2017
1 parent dcf4b86 commit 8f359d8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions PololuShaftToVex.groovy
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
LengthParameter printerOffset = new LengthParameter("printerOffset",0.25,[2,0.001])

double vshaftSize = 3.12
double finalV = vshaftSize+(printerOffset.getMM()*1.5)


CSG vshaft = new RoundedCube( finalV,// X dimention
finalV,// Y dimention
11// Z dimention
)
.cornerRadius(0.5)// sets the radius of the corner
.toCSG()// converts it to a CSG tor display
CSG vshaft = (CSG)ScriptingEngine
.gitScriptRun(
"https://github.com/WPIRoboticsEngineering/RBELabCustomParts.git", // git location of the library
"dShaft.groovy" , // file to load
[11]
)
.toZMax()
.movez(-1)
pshaft=(CSG)ScriptingEngine
Expand Down

0 comments on commit 8f359d8

Please sign in to comment.