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>2017-02-09 16:56:13 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-09 16:56:13 +0300
commit88e34ff5de846302f0a726478b4a164322a33727 (patch)
treec55fb1b421cd5bf4aacd8391b212f9f57add010b /xs/src/libslic3r/Slicing.hpp
parent61c0ae4e9484cb6e3c60a804b1c08409d3e870f6 (diff)
Store / retrieve layer height profile from the AMF file.
Reset the layer height profile when changing a print profile to an incompatible one. Reset button on the layer height bar. Fixed an update issue on zooming by a scroll wheel. Fixed an issue when loading an AMF file: Object names are now retained.
Diffstat (limited to 'xs/src/libslic3r/Slicing.hpp')
-rw-r--r--xs/src/libslic3r/Slicing.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xs/src/libslic3r/Slicing.hpp b/xs/src/libslic3r/Slicing.hpp
index 5105b9518..0b48443b6 100644
--- a/xs/src/libslic3r/Slicing.hpp
+++ b/xs/src/libslic3r/Slicing.hpp
@@ -52,6 +52,11 @@ struct SlicingParameters
// The regular layer height, applied for all but the first layer, if not overridden by layer ranges
// or by the variable layer thickness table.
coordf_t layer_height;
+ // Minimum / maximum layer height, to be used for the automatic adaptive layer height algorithm,
+ // or by an interactive layer height editor.
+ coordf_t min_layer_height;
+ coordf_t max_layer_height;
+ coordf_t max_suport_layer_height;
// First layer height of the print, this may be used for the first layer of the raft
// or for the first layer of the print.
@@ -75,11 +80,6 @@ struct SlicingParameters
// Gap when placing object over support.
coordf_t gap_support_object;
- // Minimum / maximum layer height, to be used for the automatic adaptive layer height algorithm,
- // or by an interactive layer height editor.
- coordf_t min_layer_height;
- coordf_t max_layer_height;
-
// Bottom and top of the printed object.
// If printed without a raft, object_print_z_min = 0 and object_print_z_max = object height.
// Otherwise object_print_z_min is equal to the raft height.