Skip to content

Commit

Permalink
setting sane cable length
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Aug 13, 2016
1 parent 490fa99 commit 31b729b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servo.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CSG servoFactory(
double flangeLongDimention,
double bottomOfFlangeToTopOfBody
){
LengthParameter tailLength = new LengthParameter("Cable Cut Out Length",50,[500,0.01])
LengthParameter tailLength = new LengthParameter("Cable Cut Out Length",30,[500,0.01])
CSG shaft = new Cylinder( outputShaftDimeter/2, // Radius at the top
outputShaftDimeter/2, // Radius at the bottom
tipOfShaftToBottomOfFlange, // Height
Expand Down Expand Up @@ -65,6 +65,7 @@ CSG servoFactory(
.movez(-tailLength.getMM())

return shaft.union(flange,body,cord)
.setParameter(tailLength)
}
/*
if(args==null)// Deafult to the standard micro servo
Expand Down

0 comments on commit 31b729b

Please sign in to comment.