On 6/24/2023 at 1:54 PM, GregValiant said:Normally, there isn't anything in a gcode file to differentiate the "handle" from the "mug".
I was planning to look for the G0 travel move and if more than xx mm, then do the stacking. And to make it more versatile/robust, probably run through all the G1 lines in the (2) blocks for each features and find the 2 closest points. Would be needed, if the travel is not the shortest path.
So what you are says is put it in a separate "app"?
PS. Sorry for the late reply. I though I would get a email notification, when someone posted...
PPS. I don't have space nor money for 6 more printers....
Recommended Posts
GregValiant 1,342
I call them post-post processors. Cura creates a gcode file. You open the gcode, read it into your C# app, alter/manipulate the gcode as required, and then "Create" a new text file, do a "SaveAs" new gcode file, and write the altered gcode into it.
I've written an app that is a wrapper for about 15 post-processors but what you want isn't one of them.
Normally, there isn't anything in a gcode file to differentiate the "handle" from the "mug". If you were to put a support blocker configured as Modify Settings for Overlaps and with say Wall Count the same as the Wall Count of the main model, then whenever the nozzle entered the Mesh Modifier you would get ";MESH:Eraser" in the Gcode. That would allow you to separate that part of the code on any particular layer. Cut them out of 5 consecutive layers, paste them into a new layer, use G92 liberally to adjust the XYZE for all the areas with missing code sections and with the pasted code sections.
After that all you have to do is everything else.
It would seem to be easier to buy another printer (or 6).
Link to post
Share on other sites