Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CURA-12096 move gradual flow plugin back into the engine core #2133

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions include/LayerPlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,12 @@ class LayerPlan : public NoCopy
*/
void applyBackPressureCompensation();

/*!
* If enabled, applies the gradual flow acceleration splitting, that improves printing quality when printing at very high speed,
* especially with a bowden extruder.
*/
void applyGradualFlow();

private:
/*!
* \brief Compute the preferred or minimum combing boundary
Expand Down
2 changes: 1 addition & 1 deletion include/geometry/LinesSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class LinesSet
template<class OtherLineType>
void push_back(LinesSet<OtherLineType>&& lines_set);

/*! \brief Pushes an entier set at the end */
/*! \brief Pushes an entire set at the end */
void push_back(const LinesSet& other)
{
lines_.insert(lines_.end(), other.lines_.begin(), other.lines_.end());
Expand Down
6 changes: 6 additions & 0 deletions include/geometry/PointsSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ class PointsSet
points_.push_back(point);
}

/*! \brief Pushes an entire set at the end */
void push_back(const PointsSet& other)
{
points_.insert(points_.end(), other.points_.begin(), other.points_.end());
}

void emplace_back(auto&&... args)
{
points_.emplace_back(std::forward<decltype(args)>(args)...);
Expand Down
Loading
Loading