-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Lift Z option only works for first extruder #3385
Comments
Suspect that it is a bug.
|
I usually don't run into this problem myself as I run only a single extruder and use firmware retraction, which has a lift baked in as an option. The other thing I can think of though to do it like this is to avoid head crashes, as on switch it would retract, lift for extruder 1, change tools to 2 and then use extruder 2's "lift amount" and restore. I'm not sure offhand how much impact actually fixing that to cover that case (which is pretty important :)) |
I frequently use multiple extruders. For most plastic extruders this is not a real problem, but it is not exactly user friendly to have an option that only works in special cases. I locally fixed this by providing the correct extruder id to I can submit a pull request for this, but it's a simple replacement of the static extruder id to |
Go ahead and make the PR. I would rather you have the credit in the log.
We can put some tests together and see if it can be broken as well.
|
@alexrj any particular reason lift always did the first extruder or cam this be merged in? |
Code-wide it looks fine, and I appreciate the test case. The reason for always using the first extruder's value was consistency, as the lift behavior during a toolchange is probably undefined (correct me if I'm wrong). The retraction before a toolchange probably still uses the old lift value, doesn't it? |
Bugfix: use Lift-z option for 2. extruder #3385
@alexrj I don't understand the question. The lift behavior is (and always was) generally well defined for toolchanges and works as it should. As I explained, the current lift is stored per extruder and unlifting works in every situation. I think it was only a wrong argument. How is the retraction affected by the lift? |
Version
1.2.9-257-g08a2775
Operating system
x86_64 GNU/Linux
Behavior
The
Lift Z
option always applies for the first extruder (id 0), values forLift Z
andOnly lift Z
for any other extruder are ignored.This behaviour is hard-coded in GCodeWriter.cpp:
target_lift = this->config.retract_lift.get_at(0);
Is this a bug or is there any reason I overlooked?
The text was updated successfully, but these errors were encountered: