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.
This commit is contained in:
bubnikv 2017-02-07 18:17:12 +01:00
parent aceb87d188
commit 43ac693900
8 changed files with 98 additions and 56 deletions

View file

@ -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