You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than having to inject printer settings manually, which are overwritten when Cura projects (.3mf) are loaded, it would be a much better user experience if there was simply an option to "install and forget" with a plugin.
I am proposing a plugin that injects the fields needed for Octolapse (although I don't see any reason that this couldn't be broadened to include all of the available replacement options) into gcode independently of any gcode configured in the UI (including where the code is currently placed).
I have made a start here, but do not currently have a good way to populate the fields as needed. Cura plugin development is a headache! I have taken some code from CuraEngineBackend's StartSliceJob.py, but I suspect there is a better way.
I would love for someone to offer some guidance - how can I populate these values? Or is there a way to insert the template gcode so that the plugin does not need to duplicate the functionality of replacing the {placeholders} with correct values?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Rather than having to inject printer settings manually, which are overwritten when Cura projects (
.3mf
) are loaded, it would be a much better user experience if there was simply an option to "install and forget" with a plugin.I am proposing a plugin that injects the fields needed for Octolapse (although I don't see any reason that this couldn't be broadened to include all of the available replacement options) into gcode independently of any gcode configured in the UI (including where the code is currently placed).
I have made a start here, but do not currently have a good way to populate the fields as needed. Cura plugin development is a headache! I have taken some code from
CuraEngineBackend
'sStartSliceJob.py
, but I suspect there is a better way.I would love for someone to offer some guidance - how can I populate these values? Or is there a way to insert the template gcode so that the plugin does not need to duplicate the functionality of replacing the
{placeholders}
with correct values?Recommended reading:
Beta Was this translation helpful? Give feedback.
All reactions