Fixed an issue that when wall_transition_filter_deviation contained a non-percent value, then it contained the wrong value.

This commit is contained in:
Lukáš Hejl 2022-07-28 15:42:36 +02:00
parent 2317e9c2b9
commit 7060f3d1b3
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ WallToolPaths::WallToolPaths(const Polygons& outline, const coord_t bead_width_0
, min_feature_size(scaled<coord_t>(print_object_config.min_feature_size.value))
, min_bead_width(scaled<coord_t>(print_object_config.min_bead_width.value))
, small_area_length(static_cast<double>(bead_width_0) / 2.)
, wall_transition_filter_deviation(scaled<coord_t>(print_object_config.wall_transition_filter_deviation.value))
, toolpaths_generated(false)
, print_object_config(print_object_config)
{

View file

@ -114,10 +114,10 @@ private:
coord_t min_feature_size; //<! The minimum size of the features that can be widened by the widening beading meta-strategy. Features thinner than that will not be printed
coord_t min_bead_width; //<! The minimum bead size to use when widening thin model features with the widening beading meta-strategy
double small_area_length; //<! The length of the small features which are to be filtered out, this is squared into a surface
coord_t wall_transition_filter_deviation; //!< The allowed line width deviation induced by filtering
bool toolpaths_generated; //<! Are the toolpaths generated
std::vector<VariableWidthLines> toolpaths; //<! The generated toolpaths
Polygons inner_contour; //<! The inner contour of the generated toolpaths
coord_t wall_transition_filter_deviation; //!< The allowed line width deviation induced by filtering
const PrintObjectConfig &print_object_config;
};