mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH: fix z hop error issue
This is fix for z hop issue that z hop of layer change is always spiral list even when set to normal lift Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I7b235a640b0538bedfe4cef61ca24108c1ba7246
This commit is contained in:
parent
c4136f7641
commit
4b63bf453c
2 changed files with 23 additions and 16 deletions
|
@ -395,6 +395,8 @@ private:
|
|||
std::string extrude_support(const ExtrusionEntityCollection &support_fills);
|
||||
|
||||
std::string travel_to(const Point &point, ExtrusionRole role, std::string comment);
|
||||
// BBS
|
||||
LiftType to_lift_type(ZHopType z_hop_type);
|
||||
// BBS: detect lift type in needs_retraction
|
||||
bool needs_retraction(const Polyline& travel, ExtrusionRole role, LiftType& lift_type);
|
||||
std::string retract(bool toolchange = false, bool is_last_retraction = false, LiftType lift_type = LiftType::SpiralLift);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue