replace fill density with fill spacing for consistency with shells

This commit is contained in:
Stewart Allen 2017-10-30 11:06:12 -04:00
commit fbe99720a0
4 changed files with 20 additions and 27 deletions

View file

@ -45,7 +45,7 @@ self.kiri.license = exports.LICENSE;
sliceShellSpacing: 1,
sliceFillAngle: 1,
sliceFillOverlap: 1,
sliceFillDensity: 1,
sliceFillSpacing: 1,
sliceFillSparse: 1,
sliceSupportEnable: 1,
sliceSupportDensity: 1,
@ -226,7 +226,7 @@ self.kiri.license = exports.LICENSE;
sliceShellSpacing: 0.9,
sliceFillAngle: 45,
sliceFillOverlap: 0.5,
sliceFillDensity: 1.0,
sliceFillSpacing: 1.0,
sliceFillSparse: 0.5,
sliceSupportEnable: false,
@ -2222,7 +2222,7 @@ self.kiri.license = exports.LICENSE;
sliceShells: UC.newInput("shell count", {convert:UC.toInt, modes:FDM}),
sliceShellSpacing: UC.newInput("shell spacing", {title:"as a percentage of nozzle width\n< 1.0 causes shell overlap\nrecommended 0.85 - 1.0", convert:UC.toFloat, bound:UC.bound(0.5,1.0), modes:FDM}),
sliceFillOverlap: UC.newInput("fill overlap", {title:"overlap with shell\nas % of nozzle width\nhigher bonds better\n0.0 - 1.0", convert:UC.toFloat, bound:UC.bound(0.0,2.0), modes:FDM}),
sliceFillDensity: UC.newInput("fill density", {title:"fill line density\n0.0 - 2.0", convert:UC.toFloat, bound:UC.bound(0.0,2.0), modes:FDM}),
sliceFillSpacing: UC.newInput("fill spacing", {title:"as a percentage of nozzle width\n< 1.0 causes fill overlap\nrecommended 0.85 - 1.0", convert:UC.toFloat, bound:UC.bound(0.0,2.0), modes:FDM}),
sliceFillAngle: UC.newInput("fill angle", {title:"base angle in degrees", convert:UC.toFloat, modes:FDM}),
sliceFillSparse: UC.newInput("infill %", {title:"for solid layers\n0.0 - 1.0", convert:UC.toFloat, bound:UC.bound(0.0,1.0), modes:FDM}),
sliceSolidMinArea: UC.newInput("solid area", {title:"minimum area (cm^2)\nrequired to keep solid\nmust be > 0.1", convert:UC.toFloat, modes:FDM}),