Skip to content

Commit fdc6ba9

Browse files
committed
adding a load cell standoff
1 parent 7ff7f3c commit fdc6ba9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

loadCell.groovy

+5-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ double nubOffset = 1.9
55
double nubWidth = barWidth+(nubOffset*2)
66
double holeRad = 9.5/2.0-printerOffset.getMM()*2
77
double holeOffsetEdgeToEdge = 16.5-printerOffset.getMM()*2
8-
8+
double loadCellStandoff = 2
99
CSG loadHole =new Cylinder(holeRad,holeRad,nubWidth*2,(int)20).toCSG() // a one line Cylinder
1010
.movez(-nubWidth)
1111
loadHole=loadHole
@@ -18,12 +18,12 @@ loadHole=loadHole
1818

1919

2020
double barLength = 80
21-
CSG bar = new Cube(barLength+2,barWidth+nubOffset+printerOffset.getMM(),barWidth+printerOffset.getMM()).toCSG()
21+
CSG bar = new Cube(barLength+2,barWidth+nubOffset+printerOffset.getMM()+loadCellStandoff,barWidth+printerOffset.getMM()).toCSG()
2222
.movey(printerOffset.getMM()/2-nubOffset/2)
23-
CSG backKeepaway = new Cube(barLength/2+1,barWidth+nubOffset+printerOffset.getMM(),barWidth+printerOffset.getMM()).toCSG()
23+
CSG backKeepaway = new Cube(barLength/2+1,barWidth+nubOffset+printerOffset.getMM()+loadCellStandoff,barWidth+printerOffset.getMM()).toCSG()
2424
.movey((nubOffset))
2525
.toXMax()
26-
CSG nub = new Cube(30,nubWidth,nubWidth)
26+
CSG nub = new Cube(30,nubWidth+loadCellStandoff,nubWidth)
2727
.toCSG()
2828
//.movey(nubOffset)
2929

@@ -50,7 +50,6 @@ CSG bolts= endBolt.union(baseBolt)
5050
//.movez(bar.getMaxZ())
5151

5252
bar=bar.union(bolts.movex(-barLength/2))
53-
.movey(barWidth/2-nubOffset)
54-
//.movez(barWidth/2)
53+
.movey(barWidth/2-nubOffset+loadCellStandoff)
5554

5655
return bar

seaLinkGen.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ ICadGenerator c= new ICadGenerator(){
242242
.union(gearScrew
243243
.movey(screwCenterLine-screwHeadKeepaway))
244244
.movex(loadCellBoltCenter)
245-
.movez(-distanceToTopOfGear)
245+
.movez(-distanceToTopOfGear+2)
246246

247247
CSG loadBearingPinBearing =new Cylinder( brassBearingRadius,
248248
brassBearingRadius,

0 commit comments

Comments
 (0)