-
-
Notifications
You must be signed in to change notification settings - Fork 886
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
3 new Multitool configuration options #2114
Conversation
Looks good to me. Have you been able to test if this works already? |
I will be testing it this weekend, thanks for looking at it. |
finally figured out how to build it (not the proper way but enough for testing) and my code does not work at all I'm still getting gcode before the START
The M82 was moved down but the rest I need to figure out. My Pre Change code isn't expanding
So I have stuff to figure out but at least now I can work on it, I'll push fixes as soon as I have it working. |
- Add bool to set if the start_gcode needs to be the first gcode run. Requires `machine_start_gcode_first` be added to the machine UI as a checkbox - Add a prestart_gcode to extruders, this will allow use set temperatures before the change call so we can preheat the next extruder. Requires `machine_extruder_prestart_code` text box be added to the extruder UI page. - Add a time duration to calculate time required to change extruders. Requires `machine_extruder_change_duration` float box to be added to the exturder UI page. - Fix a bug in the export code that was checking num_extruders instead of used_extruders, this was adding a tool change on start to T0 when only one extruder is used which we do not want, with one extruder it should output like normal and let the user choose the extruder they want to use.
Tested and working |
Updated for the latest code changes and retested |
Sorry for that! I missed the notification that you fixed & tested the engine part. |
No problem, I noticed it wasn't in 5.9 did it just miss the Freeze? |
(Also) For future reference -- please check if the unit-tests actually work. We've got that ✔️ / ❌ for a reason 😉 In this case, it's because for the tests, the settings used there will need sensible default values -- in the relevant test these are defined in I'll make a commit in main after I'll finish this comment. |
@TheSin- Yeah just about, we entered string & feature freeze on the 8th of October. -- Somewhat related: Please also note that for most of this year the Cura-team is working with a reduced team-size (which will hopefully clear up sometime early next year...) |
do you have a link to the preferred method of running the tests, I'm more then happy to do so but I figured the CI/CD would do that for me |
@TheSin- The CI/CD does do that -- you can click on the ❌ to see what went wrong -- I'm just saying that we should be more careful what we merge. If you want to run any of them locally, they should already have been built in |
Description
machine_start_gcode_first
be added to the machine UI as a checkbox. HavingT0
called before the start gcode on a changer isn't wise as the start code needs to initialize the system and level before a tool change happens. This is an option to correct that behaviour for those that require it.machine_extruder_prestart_code
text box be added to the extruder UI page.machine_extruder_change_duration
float box to be added to the extruder UI page.num_extruders
instead ofused_extruders
, this was adding a tool change on start to T0 when only one extruder is used which we do not want, with one extruder it should output like normal and let the user choose the extruder they want to use.Required for Ultimaker/Cura#19333
Type of change
How Has This Been Tested?
NOTE not tested yet as I'm still learning how to build a custom engine into a full build
Not tested yet, I need to slice and check the resulting gcode, it should move start gcode before the T0 call, Should add the restart gcode before all toolchanges (This one might need an exemption on the first T0).
Test Configuration:
Checklist: