Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-09-26 13:52:40 +0300
committerbubnikv <bubnikv@gmail.com>2016-09-26 13:52:40 +0300
commitfeb269c97cc828ccafdd0e887046527a9fbbb582 (patch)
treebba37229f39e570f4b08af9d20cf2fb7f06007a9 /xs/src/libslic3r/GCode.hpp
parent8564ac391c515c959474c03b6389980dd381fa27 (diff)
G code generator will include marks for the G-code analyzer, so
the path preview will be colored with a fine granularity.
Diffstat (limited to 'xs/src/libslic3r/GCode.hpp')
-rw-r--r--xs/src/libslic3r/GCode.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/xs/src/libslic3r/GCode.hpp b/xs/src/libslic3r/GCode.hpp
index afd3051bd..e1b6ad03c 100644
--- a/xs/src/libslic3r/GCode.hpp
+++ b/xs/src/libslic3r/GCode.hpp
@@ -85,8 +85,16 @@ class GCode {
// Markers for the Pressure Equalizer to recognize the extrusion type.
// The Pressure Equalizer removes the markers from the final G-code.
bool enable_extrusion_role_markers;
+ // Extended markers for the G-code Analyzer.
+ // The G-code Analyzer will remove these comments from the final G-code.
+ bool enable_analyzer_markers;
+ // How many times will change_layer() be called?
+ // change_layer() will update the progress bar.
size_t layer_count;
- int layer_index; // just a counter
+ // Progress bar indicator. Increments from -1 up to layer_count.
+ int layer_index;
+ // Current layer processed. Insequential printing mode, only a single copy will be printed.
+ // In non-sequential mode, all its copies will be printed.
const Layer* layer;
std::map<const PrintObject*,Point> _seam_position;
// Distance Field structure to