Put support 'line' support in for CuraEngine
This commit is contained in:
parent
45e92a61c6
commit
6e60cce574
1 changed files with 25 additions and 0 deletions
|
|
@ -125,6 +125,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
new ScaledSingleNumber("supportXYDistance", "support_material_xy_distance", 1000),
|
||||
new ScaledSingleNumber("supportZDistance", "support_material_z_distance", 1000),
|
||||
|
||||
new SupportTypeMapping("supportType", "support_type"),
|
||||
|
||||
new MapItem("minimalLayerTime", "slowdown_below_layer_time"),
|
||||
|
||||
new InfillTranslator("sparseInfillLineDistance", "fill_density"),
|
||||
|
|
@ -203,6 +205,29 @@ enableOozeShield = 0;
|
|||
}
|
||||
}
|
||||
|
||||
public class SupportTypeMapping : MapItem
|
||||
{
|
||||
public override string MappedValue
|
||||
{
|
||||
get
|
||||
{
|
||||
switch (base.MappedValue)
|
||||
{
|
||||
case "LINES":
|
||||
return "1"; // the lines setting from curaengine
|
||||
|
||||
default:
|
||||
return "0"; // the grid setting from curaengine
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public SupportTypeMapping(string cura, string slicer)
|
||||
: base(cura, slicer)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class SupportMatterial : MapItem
|
||||
{
|
||||
public override string MappedValue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue