Skip to content

Instantly share code, notes, and snippets.

@zeograd
Created May 30, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeograd/fd4fd0d4e67ecb1a463f to your computer and use it in GitHub Desktop.
Save zeograd/fd4fd0d4e67ecb1a463f to your computer and use it in GitHub Desktop.
diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm
index 5398be0..9d44f86 100644
--- a/lib/Slic3r/GCode.pm
+++ b/lib/Slic3r/GCode.pm
@@ -303,6 +303,10 @@ sub _extrude_path {
if ($self->first_layer) {
$F = $self->config->get_abs_value_over('first_layer_speed', $F/60) * 60;
}
+
+ if ($path->role == EXTR_ROLE_EXTERNAL_PERIMETER) {
+ $description .= " external";
+ }
# extrude arc or line
$gcode .= ";_BRIDGE_FAN_START\n" if $path->is_bridge && $self->enable_cooling_markers;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment