diff options
author | bubnikv <bubnikv@gmail.com> | 2017-02-07 20:17:12 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-07 20:17:12 +0300 |
commit | 43ac693900ff7f6ff46a93f19b18b1fdb8a7b19f (patch) | |
tree | f3371588d7a64bc6c7ca7063342f621e6c4256ba /xs/src/libslic3r/Model.hpp | |
parent | aceb87d18868dd7c207e4a97ff451762086d91d6 (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.hpp | 3 |
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 |