Skip to content

Commit

Permalink
updates to configuration for C2021
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Nov 9, 2020
1 parent 52b8830 commit bc9f369
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions cadGenHephaestusArm.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ return new ICadGenerator(){
def cornerRad=2
String boltsize = "M5x25"
def insert=["heatedThreadedInsert", "M5"]
def insertCamera=["teeNutWithProngs", "M8"]
def cameraInsertLength = Vitamins.get( insertCamera[0],insertCamera[1]).getTotalZ()
def insertCamera=["heatedThreadedInsert", "M5"]
def cameraInsertLength = 100
HashMap<String,Object> measurmentsHorn = Vitamins.getConfiguration( "LewanSoulHorn","round")
def hornKeepawayLen = measurmentsHorn.mountPlateToHornTop
double centerlineToOuterSurfacePositiveZ = centerTheMotorsValue+movingPartClearence+hornKeepawayLen-1
Expand Down Expand Up @@ -574,10 +574,10 @@ return new ICadGenerator(){
double baseCoreheight = 1;
def insertMeasurments= Vitamins.getConfiguration(insert[0],
insert[1])
double xOffset = grid*7;
double yOffset = grid*6;
double xOffset = grid*7.5;
double yOffset = -grid*0.5;
def cameraNut = new TransformNR(xOffset+grid/2,yOffset+grid/2,0,new RotationNR(0,0,0))
CSG cameraBoltHole = new Cylinder(4.1,cameraInsertLength+2).toCSG()
CSG cameraBoltHole = new Cylinder(2.5,cameraInsertLength+2).toCSG()
def mountLoacionsCamera = [
new TransformNR(xOffset,yOffset,0,new RotationNR(180,0,0)),
new TransformNR(xOffset,yOffset+grid,0,new RotationNR(180,0,0)),
Expand Down Expand Up @@ -663,7 +663,7 @@ return new ICadGenerator(){
new TransformNR(baseGrid+yOffsetFeducial,-yOffsetFeducial,0,new RotationNR(180,0,0)),// feducial
new TransformNR(-baseGrid, baseGrid*7,0,new RotationNR(180,0,0)),// corner mount
new TransformNR( baseGrid*8, -baseGrid*5,0,new RotationNR(180,0,0)),// corner mount
new TransformNR( baseGrid*8,0,0,new RotationNR(180,0,0)),// corner mount
new TransformNR( baseGrid*8,baseGrid*7,0,new RotationNR(180,0,0)),// corner mount
new TransformNR( -baseGrid, -baseGrid*5,0,new RotationNR(180,0,0))// corner mount
]
def mountLoacions = [
Expand Down
8 changes: 4 additions & 4 deletions hephaestus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<vitamin>
<name>shaft</name>
<type>LewanSoulHorn</type>
<id>round</id>
<id>round_m3_bolts</id>
</vitamin>

</vitamins>
Expand Down Expand Up @@ -104,7 +104,7 @@
<vitamin>
<name>shaft</name>
<type>LewanSoulHorn</type>
<id>round</id>
<id>round_m3_bolts</id>
</vitamin>

</vitamins>
Expand Down Expand Up @@ -160,12 +160,12 @@
<vitamin>
<name>shaft</name>
<type>LewanSoulHorn</type>
<id>round</id>
<id>round_m3_bolts</id>
</vitamin>

</vitamins>
<passive>false</passive>
<mass>0.020800000000000006</mass>
<mass>0.0208</mass>
<centerOfMassFromCentroid> <x>0.0</x>
<y>0.0</y>
<z>0.0</z>
Expand Down

0 comments on commit bc9f369

Please sign in to comment.