From 798ca4c96be5d8f59fca95d1d1952a3a328ce9d4 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 29 May 2014 22:00:58 +0100 Subject: [PATCH] Add option for Reversed Inset Print Order --- Cura/util/profile.py | 1 + Cura/util/sliceEngine.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 20311d955..0f954d65d 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -201,6 +201,7 @@ def _(n): setting('object_sink', 0.0, float, 'advanced', _('Quality')).setRange(0).setLabel(_("Cut off object bottom (mm)"), _("Sinks the object into the platform, this can be used for objects that do not have a flat bottom and thus create a too small first layer.")) #setting('enable_skin', False, bool, 'advanced', _('Quality')).setLabel(_("Duplicate outlines"), _("Skin prints the outer lines of the prints twice, each time with half the thickness. This gives the illusion of a higher print quality.")) setting('overlap_dual', 0.15, float, 'advanced', _('Quality')).setLabel(_("Dual extrusion overlap (mm)"), _("Add a certain amount of overlapping extrusion on dual-extrusion prints. This bonds the different colors together.")) +setting('outer_shell_first_enabled',False, bool, 'advanced', _('Quality')).setLabel(_("Print Outer Shell First"), _("When printing the perimeters this will print the outer perimeter first. This will slightly decrease print quality but increase print accuracy.")) setting('travel_speed', 150.0, float, 'advanced', _('Speed')).setRange(0.1).setLabel(_("Travel speed (mm/s)"), _("Speed at which travel moves are done, a well built Ultimaker can reach speeds of 250mm/s. But some machines might miss steps then.")) setting('bottom_layer_speed', 20, float, 'advanced', _('Speed')).setRange(0.1).setLabel(_("Bottom layer speed (mm/s)"), _("Print speed for the bottom layer, you want to print the first layer slower so it sticks better to the printer bed.")) setting('infill_speed', 0.0, float, 'advanced', _('Speed')).setRange(0.0).setLabel(_("Infill speed (mm/s)"), _("Speed at which infill parts are printed. If set to 0 then the print speed is used for the infill. Printing the infill faster can greatly reduce printing time, but this can negatively affect print quality.")) diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index 3e75c39cf..f78cf52d1 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -566,6 +566,8 @@ def _engineSettings(self, extruderCount): settings['wipeTowerSize'] = int(math.sqrt(profile.getProfileSettingFloat('wipe_tower_volume') * 1000 * 1000 * 1000 / settings['layerThickness'])) if profile.getProfileSetting('ooze_shield') == 'True': settings['enableOozeShield'] = 1 + if profile.getProfileSetting('outer_shell_first_enabled') == 'True': + settings['enableReverseInsetOrder'] = 1 return settings def _runEngineProcess(self, cmdList):