Skip to content

Commit

Permalink
updated servo
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Aug 7, 2017
1 parent f92607e commit 11c076f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions servo.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ CSG servoFactory(
shaftToShortSideDistance= servoThinDimentionThickness/2
LengthParameter tailLength = new LengthParameter("Cable Cut Out Length",30,[500,0.01])
LengthParameter printerOffset = new LengthParameter("printerOffset",0.5,[1.2,0])

CSG shaft = new Cylinder( outputShaftDimeter/2, // Radius at the top
outputShaftDimeter/2, // Radius at the bottom
tipOfShaftToBottomOfFlange, // Height
Expand All @@ -52,7 +53,8 @@ CSG servoFactory(
.movey(flange.getMaxY())
.movex(servoThinDimentionThickness/2)
.movez(flangeThickness)
flange=flange.union(flangeBrace)
flange=flange
.union(flangeBrace)
.movex(-servoThinDimentionThickness/2)
CSG body = new Cube(
servoThinDimentionThickness,// X dimention
Expand Down Expand Up @@ -173,7 +175,7 @@ CSG getNut(){
}

if(args==null){
args=["hv6214mg"]
args=["hv5932mg"]

Vitamins.setGitRepoDatabase("https://github.com/madhephaestus/Hardware-Dimensions.git")
CSGDatabase.clear()
Expand Down

0 comments on commit 11c076f

Please sign in to comment.