-
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
Bugfix: use Lift-z option for 2. extruder #3385 #3392
Conversation
Looks good to me, earlier concern seems to be a non-issue w/r/t accidental head crashes. Could you augment /~https://github.com/alexrj/Slic3r/blob/master/t/retraction.t#L204 and add a regression test to make sure that it uses the selected extruder? Probably just a copy/paste with two different extruders defined instead of just one define the current extruder to be 2 and check to make sure it matches :) |
Yes, it's not forgotten, just give me a few days to find the time :-) |
Thanks :) I know how precious time is. "Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics. On Wed, Jul 6, 2016 at 11:55 AM, platsch notifications@github.com wrote:
|
Also, could you rebase this back onto master? It'd be nice to have the travis build passing :) |
Ok, I added the testcase you suggested as an additional case. Since this doesn't check for the actual values, I also modified the 1. test /~https://github.com/alexrj/Slic3r/blob/master/t/retraction.t#L52 to keep track of the lift value between extruder switches. Rebased to master, compiling and testing runs fine, but I'm not able to execute Slic3r, fails with |
@alexrj had a commit that broke handling of config entries that aren't
enumerated in PrintConfig.hpp. The load/save was ported to C++ and
exceptions thrown weren't caught. You can rebase to the branch in #3432 to
figure out what is in your config file that Slic3r is choking on (then
rebase back to master when when it is sorted out).
|
Ah, it was an option in my config, leftover from testing a different branch. Looks good, think you can merge the PR. |
Any comments/concerns, @alexrj, about this PR? |
Had forgotten to check the changes in my editor to make sure that spaces were used instead of tabs, everything looks good+clean. @alexrj Unless there's a specific reason to use the old behavior (all retraction settings using the first extruder's settings) that hasn't been considered, I recommend that this get pulled at the earliest opportunity as a squash merge. |
@@ -228,7 +228,7 @@ use Slic3r::Test qw(_eq); | |||
ok !!@lifted_at, 'lift takes place when above/below == 0'; | |||
|
|||
$config->set('retract_lift_above', [5, 6]); | |||
$config->set('retract_lift_below', [15, 16]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why this changed in the PR branch?
Yes. With the old parameter set |
Bugfix for #3385