From cdfcb94a882ca16d415bcc9fb4bb96fd6bfad1da Mon Sep 17 00:00:00 2001 From: larsbrubaker Date: Thu, 27 Mar 2014 08:12:05 -0700 Subject: [PATCH] Put in raft settings for MatterSlice --- .../SlicerMapping/EngineMappingMatterSlice.cs | 21 +------------------ .../SlicerMapping/EngineMappingSlic3r.cs | 1 + StaticData/PrinterSettings/config.ini | 3 ++- StaticData/SliceSettings/Layouts.txt | 3 +++ StaticData/SliceSettings/Properties.txt | 1 + StaticData/Translations/Master.txt | 9 ++++++++ 6 files changed, 17 insertions(+), 21 deletions(-) diff --git a/SlicerConfiguration/SlicerMapping/EngineMappingMatterSlice.cs b/SlicerConfiguration/SlicerMapping/EngineMappingMatterSlice.cs index 1a0493620..bd0a646bc 100644 --- a/SlicerConfiguration/SlicerMapping/EngineMappingMatterSlice.cs +++ b/SlicerConfiguration/SlicerMapping/EngineMappingMatterSlice.cs @@ -176,26 +176,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration //positionToPlaceObjectCenter=[102.5,102.5] new MapPositionToPlaceObjectCenter("positionToPlaceObjectCenter", "print_center"), - //raftAirGap=0 - - //raftBaseLinewidth=0 - //raftBaseThickness=0 - - //raftExtraDistanceAroundPart=5 # mm. - //raftFanSpeedPercent=0 - - //raftInterfaceLineSpacing=250 - //raftInterfaceLinewidth=0 - //raftInterfaceThicknes=0 - - //raftLineSpacing=1 - //raftPrintSpeed=0 - - //raftSurfaceLayers=0 - //raftSurfaceLineSpacing=0 - //raftSurfaceLinewidth=0 - //raftSurfacePrintSpeed=0 - //raftSurfaceThickness=0 + new MapItemToBool("enableRaft", "create_raft"), //repairOutlines=NONE # Available Values: NONE, EXTENSIVE_STITCHING, KEEP_NON_CLOSED # You can or them together using '|'. //repairOverlaps=NONE # Available Values: NONE, REVERSE_ORIENTATION, UNION_ALL_TOGETHER # You can or them together using '|'. diff --git a/SlicerConfiguration/SlicerMapping/EngineMappingSlic3r.cs b/SlicerConfiguration/SlicerMapping/EngineMappingSlic3r.cs index e67a9c229..3cc9a8c4d 100644 --- a/SlicerConfiguration/SlicerMapping/EngineMappingSlic3r.cs +++ b/SlicerConfiguration/SlicerMapping/EngineMappingSlic3r.cs @@ -62,6 +62,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration hideItems.Add("center_part_on_bed"); hideItems.Add("infill_overlap_perimeter"); hideItems.Add("support_type"); + hideItems.Add("create_raft"); } return instance; } diff --git a/StaticData/PrinterSettings/config.ini b/StaticData/PrinterSettings/config.ini index d1065acc2..84bb288b1 100644 --- a/StaticData/PrinterSettings/config.ini +++ b/StaticData/PrinterSettings/config.ini @@ -15,6 +15,7 @@ center_part_on_bed = 1 complete_objects = 0 cool_extruder_lift = 0 cooling = 1 +create_raft = 0 default_acceleration = 0 disable_fan_first_layers = 1 end_gcode = M104 S0 ; turn off temperature\nG28 X0 ; home X axis\nM84 ; disable motors @@ -102,7 +103,7 @@ start_gcode = G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle start_perimeters_at_concave_points = 0 start_perimeters_at_non_overhang = 0 support_material = 0 -support_material_angle = 0 +support_material_angle = 45 support_material_create_internal_support = 0 support_material_enforce_layers = 0 support_material_extruder = 1 diff --git a/StaticData/SliceSettings/Layouts.txt b/StaticData/SliceSettings/Layouts.txt index a012d992b..1c4efbfd4 100644 --- a/StaticData/SliceSettings/Layouts.txt +++ b/StaticData/SliceSettings/Layouts.txt @@ -16,6 +16,8 @@ Beginner Support Material support_material support_type + Raft + create_raft Filament Filament Filament @@ -110,6 +112,7 @@ Advanced support_material_threshold support_material_enforce_layers Raft + create_raft raft_layers Options support_material_pattern diff --git a/StaticData/SliceSettings/Properties.txt b/StaticData/SliceSettings/Properties.txt index 84a5a405a..3d8b9c974 100644 --- a/StaticData/SliceSettings/Properties.txt +++ b/StaticData/SliceSettings/Properties.txt @@ -15,6 +15,7 @@ center_part_on_bed|Center On Bed|CHECK_BOX||This will cause the print to be cent complete_objects|Complete Individual Objects|CHECK_BOX||Each individual part is printed to completion then the extruder is lowered back to the bed and the next part is printed. cool_extruder_lift|Enable Extruder Lift|CHECK_BOX||Moves the extruder up off the part to allow cooling. cooling|Enable Auto Cooling|CHECK_BOX||Turns on and off all cooling settings (all settings below this one). +create_raft|Create Raft|CHECK_BOX||Turns on and off the creation of a raft which can help parts adhear to the bed. default_acceleration|Default|POSITIVE_DOUBLE|mm/sē|Acceleration to use on all moves not defined above. Set to 0 to disable changing the printer's acceleration. disable_fan_first_layers|Disable Fan For The First|INT|Layers|The number of layers for which the fan will be forced to remain off. end_gcode|End G-Code|MULTI_LINE_TEXT|| This gcode will be inserted at the end of all automatic output (the very end of the gcode commands). diff --git a/StaticData/Translations/Master.txt b/StaticData/Translations/Master.txt index acd6fc1fb..1b6e0acbd 100644 --- a/StaticData/Translations/Master.txt +++ b/StaticData/Translations/Master.txt @@ -1599,3 +1599,12 @@ Translated:Z Gap English:Print Again Translated:Print Again +English:Turns on and off the creation of a raft which can help parts adhear to the bed. +Translated:Turns on and off the creation of a raft which can help parts adhear to the bed. + +English:Enable Raft +Translated:Enable Raft + +English:Create Raft +Translated:Create Raft +