-
-
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
Plugin gcode modify patches #1979
Plugin gcode modify patches #1979
Conversation
…eds changed in plugin. Added some code to clean up plugin output, and set first_travel_destination if it was changed.
…o that the objects can be later identified.
Resolved the merge conflicts from the github website ui, soooo if i have broken anything sowry |
Hi @ThomasRahm , Thanks for you contribution! Heard about this oversight indeed from @rburema, good initiative to fix it! I have a question though
This last remark seems to me a bit like a workaround of the issue above. If we were to send over the the model_id with the modify call, then we would be able to retrieve the correct settings from the correct model setting stack? |
It definitely is a bit of a workaround. Every path seems to be able to belong to a different model, so it would need to be sent as part of each path. Also want to note that this pull request merges (for plugins) mesh groups settings with the per object settings on engine side before they are being sent to the plugin. If this is not wanted one would even need to also transmit an identifier for the mesh group the model is part of and transmit the mesh group settings separately. |
Hi Thomas, We're in the progress of updating our Way-Of-Working with regards to PR's so I'm adding some label(s). That way we can prioritize our work-load and give your PR the love it deserves. Either I our one of my colleagues will pick this up in the near future, but I think @casperlamboo is already doing this |
…codeModifyPatches # Conflicts: # src/LayerPlan.cpp
…ahm/CuraEngine into PluginGcodeModifyPatches # Conflicts: # src/LayerPlan.cpp
…GcodeModifyPatches
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.
LGTM
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.
This looks a bit like a workaround for something we should fix otherwise, but I don't see an easy enough way for it...
Description
CuraEngine currently does not set per model settings to a the GcodePathModify slot.
Also if fan speed is changed for travel paths, the changed fan speed will not be applied.
This fixes both of these issues.
Also it adds the a "mesh_name" setting to the per-model settings, so that the mesh can later be identified using its name.
To my knowledge the mesh name is unique as if the same model is added multiple times a counter is appended by the frontend (e.g. Example.stl and Example.stl(1) and so forth).
Type of change
Checklist: