mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 18:35:57 +08:00
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:
parent
2317e9c2b9
commit
7060f3d1b3
@ -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_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))
|
, min_bead_width(scaled<coord_t>(print_object_config.min_bead_width.value))
|
||||||
, small_area_length(static_cast<double>(bead_width_0) / 2.)
|
, 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)
|
, toolpaths_generated(false)
|
||||||
, print_object_config(print_object_config)
|
, print_object_config(print_object_config)
|
||||||
{
|
{
|
||||||
|
@ -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_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
|
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
|
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
|
bool toolpaths_generated; //<! Are the toolpaths generated
|
||||||
std::vector<VariableWidthLines> toolpaths; //<! The generated toolpaths
|
std::vector<VariableWidthLines> toolpaths; //<! The generated toolpaths
|
||||||
Polygons inner_contour; //<! The inner contour of 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;
|
const PrintObjectConfig &print_object_config;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user