chiark / gitweb /
Fix the wrong extrusion amount for infill when using a odd wall thickness.
authordaid303 <daid303@gmail.com>
Mon, 8 Apr 2013 08:34:41 +0000 (10:34 +0200)
committerdaid303 <daid303@gmail.com>
Mon, 8 Apr 2013 08:34:41 +0000 (10:34 +0200)
Cura/slice/cura_sf/fabmetheus_utilities/settings.py

index b7dfdd949a7fd3c26eda1e698b9de0bdc6d9c081..da2cd8e6d69eacc93d0b2698bb35c85fbfefd6e9 100644 (file)
@@ -134,7 +134,7 @@ def getProfileInformation():
                },'inset': {
                        'Add_Custom_Code_for_Temperature_Reading': "False",
                        'Infill_in_Direction_of_Bridge': ifSettingAboveZero('fill_density'),
-                       'Infill_Width': storedSettingFloat("nozzle_size"),
+                       'Infill_Width': calculateEdgeWidth,
                        'Loop_Order_Choice': DEFSET,
                        'Overlap_Removal_Width_over_Perimeter_Width_ratio': DEFSET,
                        'Turn_Extruder_Heater_Off_at_Shut_Down': "False",
@@ -162,7 +162,7 @@ def getProfileInformation():
                        'Line': ifSettingIs('infill_type', 'Line'),
                        'Infill_Perimeter_Overlap_ratio': storedPercentSetting('fill_overlap'),
                        'Infill_Solidity_ratio': storedPercentSetting('fill_density'),
-                       'Infill_Width': storedSettingFloat("nozzle_size"),
+                       'Infill_Width': calculateEdgeWidth,
                        'Sharpest_Angle_degrees': DEFSET,
                        'Solid_Surface_Thickness_layers': calculateSolidLayerCount,
                        'Start_From_Choice': DEFSET,