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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-02-07 20:17:12 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-07 20:17:12 +0300
commit43ac693900ff7f6ff46a93f19b18b1fdb8a7b19f (patch)
treef3371588d7a64bc6c7ca7063342f621e6c4256ba /xs/src/libslic3r/Model.hpp
parentaceb87d18868dd7c207e4a97ff451762086d91d6 (diff)
Added a tooltip overlay for the variable layer height edit tool.
Short methods of PrintState made inline. Added layer height profile to a Model class.
Diffstat (limited to 'xs/src/libslic3r/Model.hpp')
-rw-r--r--xs/src/libslic3r/Model.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp
index 963bd7c85..e6e98bc01 100644
--- a/xs/src/libslic3r/Model.hpp
+++ b/xs/src/libslic3r/Model.hpp
@@ -114,6 +114,9 @@ public:
DynamicPrintConfig config;
// Variation of a layer thickness for spans of Z coordinates.
t_layer_height_ranges layer_height_ranges;
+ // Profile of increasing z to a layer height, to be linearly interpolated when calculating the layers.
+ // The pairs of <z, layer_height> are packed into a 1D array to simplify handling by the Perl XS.
+ std::vector<coordf_t> layer_height_profile;
/* This vector accumulates the total translation applied to the object by the
center_around_origin() method. Callers might want to apply the same translation