Skip to content
Browse files

finally I hope

  • Loading branch information...
1 parent 2b6d742 commit ec73d5fa0acde6005453f0eb16ac32a848e587d9 @ahmetcemturan committed Sep 25, 2012
View
13 skeinforge_application/profiles/cutting/End_Mill/chop.csv
@@ -1,13 +0,0 @@
-Format is tab separated chop preferences.
-Name Value
-Add Extra Top Layer if Necessary True
-Open File to be Chopped
-Import Coarseness (ratio): 1.0
-Correct Mesh True
-Unproven Mesh False
-Layer Thickness (mm): 0.4
-Layer Thickness over Precision (ratio): 10.0
-Layers From (index): 0
-Layers To (index): 999999999
-Perimeter Width (mm): 2.0
-windowPositionChop Preferences 600+0
View
7 skeinforge_application/profiles/cutting/End_Mill/lift.csv
@@ -1,7 +0,0 @@
-Format is tab separated lift preferences.
-Name Value
-Activate Lift: True
-Cutting Lift over Layer Step (ratio): -0.5
-Open File to be Lifted /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/craft_plugins/Screw Holder Bottom.stl
-Clearance above Top (mm): 5.0
-windowPositionLift Preferences 440+53
View
13 skeinforge_application/profiles/cutting/Laser/chop.csv
@@ -1,13 +0,0 @@
-Format is tab separated chop preferences.
-Name Value
-Add Extra Top Layer if Necessary True
-Open File to be Chopped
-Import Coarseness (ratio): 1.0
-Correct Mesh True
-Unproven Mesh False
-Layer Thickness (mm): 0.4
-Layer Thickness over Precision (ratio): 10.0
-Layers From (index): 0
-Layers To (index): 999999999
-Perimeter Width (mm): 0.2
-windowPositionChop Preferences 600+0
View
7 skeinforge_application/profiles/cutting/Laser/lift.csv
@@ -1,7 +0,0 @@
-Format is tab separated lift preferences.
-Name Value
-Activate Lift: True
-Cutting Lift over Layer Step (ratio): 0.0
-Open File to be Lifted /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/craft_plugins/Screw Holder Bottom.stl
-Clearance above Top (mm): 5.0
-windowPositionLift Preferences 440+53
View
13 skeinforge_application/profiles/milling/End_Mill/chop.csv
@@ -1,13 +0,0 @@
-Format is tab separated chop preferences.
-Name Value
-Add Extra Top Layer if Necessary True
-Open File to be Chopped
-Import Coarseness (ratio): 1.0
-Correct Mesh True
-Unproven Mesh False
-Layer Thickness (mm): 0.4
-Layer Thickness over Precision (ratio): 10.0
-Layers From (index): 0
-Layers To (index): 999999999
-Perimeter Width (mm): 2.0
-windowPositionChop Preferences 600+0
View
7 skeinforge_application/profiles/milling/End_Mill/lift.csv
@@ -1,7 +0,0 @@
-Format is tab separated lift preferences.
-Name Value
-Activate Lift: True
-Cutting Lift over Layer Step (ratio): -0.5
-Open File to be Lifted /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/craft_plugins/Screw Holder Bottom.stl
-Clearance above Top (mm): 5.0
-windowPositionLift Preferences 440+53
View
13 skeinforge_application/profiles/milling/Laser/chop.csv
@@ -1,13 +0,0 @@
-Format is tab separated chop preferences.
-Name Value
-Add Extra Top Layer if Necessary True
-Open File to be Chopped
-Import Coarseness (ratio): 1.0
-Correct Mesh True
-Unproven Mesh False
-Layer Thickness (mm): 0.4
-Layer Thickness over Precision (ratio): 10.0
-Layers From (index): 0
-Layers To (index): 999999999
-Perimeter Width (mm): 0.2
-windowPositionChop Preferences 600+0
View
7 skeinforge_application/profiles/milling/Laser/lift.csv
@@ -1,7 +0,0 @@
-Format is tab separated lift preferences.
-Name Value
-Activate Lift: True
-Cutting Lift over Layer Step (ratio): 0.0
-Open File to be Lifted /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/craft_plugins/Screw Holder Bottom.stl
-Clearance above Top (mm): 5.0
-windowPositionLift Preferences 440+53
View
22 skeinforge_application/skeinforge_plugins/craft_plugins/raft.py
@@ -576,10 +576,10 @@ def addRaft(self):
return
self.baseLayerThicknessOverLayerThickness = self.repository.baseLayerThicknessOverLayerThickness.value
baseExtrusionWidth = self.edgeWidth * self.baseLayerThicknessOverLayerThickness
- self.baseStep = baseExtrusionWidth / self.repository.baseInfillDensity.value
+ self.baseStep = baseExtrusionWidth / self.repository.baseInfillDensity.value * euclidean.globalQuarterPi
self.interfaceLayerThicknessOverLayerThickness = self.repository.interfaceLayerThicknessOverLayerThickness.value
interfaceExtrusionWidth = self.edgeWidth * self.interfaceLayerThicknessOverLayerThickness
- self.interfaceStep = interfaceExtrusionWidth / self.repository.interfaceInfillDensity.value
+ self.interfaceStep = interfaceExtrusionWidth / self.repository.interfaceInfillDensity.value* euclidean.globalQuarterPi
self.setCornersZ()
self.cornerMinimumComplex = self.cornerMinimum.dropAxis()
originalExtent = self.cornerMaximumComplex - self.cornerMinimumComplex
@@ -827,10 +827,9 @@ def extendXIntersections( self, loops, radius, xIntersectionsTable ):
def getCraftedGcode(self, gcodeText, repository):
'Parse gcode text and store the raft gcode.'
self.repository = repository
-# print (self.edgeWidth , " " ,self.layerHeight)
+
# supportMinimumAngle = 90 - math.degrees(math.fabs( math.tan((self.edgeWidth -self.layerHeight)/2/self.layerHeight)))
# self.minimumSupportRatio = math.tan( math.radians( supportMinimumAngle ) )
-
# self.minimumSupportRatio = math.tan( math.radians( repository.supportMinimumAngle.value ) )
self.supportEndLines = settings.getAlterationFileLines(repository.nameOfSupportEndFile.value)
self.supportStartLines = settings.getAlterationFileLines(repository.nameOfSupportStartFile.value)
@@ -925,14 +924,17 @@ def parseInitialization(self):
self.extrusionXsection = ((self.edgeWidth + self.layerHeight)/4) ** 2 * math.pi
self.widthHeightRatio = self.edgeWidth / self.layerHeight
# supportMinimumAngle = 90 - math.degrees(math.fabs( math.tan((self.edgeWidth -self.layerHeight)/2/self.layerHeight)))
-# self.supportXAngle = 90 - math.degrees(math.fabs( math.tan((self.edgeWidth -self.layerHeight)/2/self.layerHeight)))
- self.supportXTempAngle = math.degrees(math.fabs( math.tan(self.layerHeight/(self.edgeWidth -self.layerHeight)/2)))
+
+# self.supportXTempAngle = math.degrees(((self.edgeWidth-self.layerHeight)/self.layerHeight/2))
+ self.supportXAngle =90-math.degrees(((self.edgeWidth-self.layerHeight)/self.layerHeight/2))
+
+ print (self.edgeWidth , 'X' ,self.layerHeight, '=' , self.supportXAngle)
# print self.supportXTempAngle
# print self.widthHeightRatio
- if self.widthHeightRatio >= 1:
- self.supportXAngle = self.supportXTempAngle
- else :
- self.supportXAngle = 90
+# if self.widthHeightRatio >= 1:
+# self.supportXAngle = self.supportXTempAngle
+# else :
+# self.supportXAngle = 90
# print self.supportXAngle
elif firstWord == '(</extruderInitialization>)':
self.distanceFeedRate.addTagBracketedProcedure('raft')

0 comments on commit ec73d5f

Please sign in to comment.
Something went wrong with that request. Please try again.