Changed gcode width calculation back to what it was.

Took out dead code
This commit is contained in:
Lars Brubaker 2018-06-12 09:30:25 -07:00
parent bda26aa45a
commit e800b652d2
2 changed files with 1 additions and 17 deletions

View file

@ -68,7 +68,7 @@ namespace MatterHackers.GCodeVisualizer
if (moveLength > .1) // we get truncation errors from the slice engine when the length is very small, so don't do them
{
double area = extrusionVolumeMm3 / moveLength;
width = area / layerHeight * 2;
width = area / layerHeight;
}
}
else

View file

@ -309,14 +309,6 @@
"ShowIfSet": "!sla_printer",
"DefaultValue": "1"
},
{
"SlicerConfigName": "extrusion_width",
"PresentationName": "Default Extrusion Width",
"HelpText": "Leave this as 0 to allow automatic calculation of extrusion width.",
"DataEditType": "DOUBLE_OR_PERCENT",
"Units": "mm or % leave 0 for auto",
"DefaultValue": "0"
},
{
"SlicerConfigName": "filament_cost",
"PresentationName": "Cost",
@ -638,14 +630,6 @@
"ReloadUiWhenChanged": true,
"DefaultValue": "0"
},
{
"SlicerConfigName": "infill_extrusion_width",
"PresentationName": "Infill",
"HelpText": "Leave this as 0 to allow automatic calculation of extrusion width.",
"DataEditType": "DOUBLE_OR_PERCENT",
"Units": "mm or %",
"DefaultValue": "0"
},
{
"SlicerConfigName": "infill_overlap_perimeter",
"PresentationName": "Infill Overlap",