arhi
Posts: 480
Joined: Thu Oct 06, 2016 5:13 pm

TAG objects in gcode comments

when printing multiple object on a plate s3d is aware what gcode part belongs to each object. when g-code is exported that info is lost. it would be great to pertain that info in order to be able to tell during print (to a printer firmware that support this function) "stop printing object X".

HOW?
just enter a comment before and after each block of gcode so something like

Code: Select all

; part start XXX
G1..
...
; part stop XXX
; part start YYY
G1..
...
;part stop YYY
; layer 2, Z = 0.380
M106 S191
; tool H0.200 W0.480
; inner perimeter
M204 S300
;part start XXX
G1 X61.594 Y86.533 F4200
....
;part stop XXX
;part start YYY
...

eventually at the top of the g-code a comment listing all parts like

Code: Select all

;part list XXX YYYY
this way it would be super simple to make a plugin for octoprint to ignore for e.g. all code for part YYY and print only XXX from the same g-code

WHY?

well you are running a 3 day print and 2 days in support fell off from partX from your 10 part print, all other parts are still printing good but partX was nocked from the bed and now we are extruding a mess of plastic where partX is and that mess is sticking to everything and eventually all parts will fail because of that. one can easily make octoprint plugin to "stop playing partX" that will now finish the rest of the object ignoring code for partX hence saving most of the print from failure.
gcodestat integrates with Simplify3D and allow you to
Calculate print time accurately (acceleration, max speed, junction deviation all taken into consideration)
Embed M117 codes into G-Code
Upload your G-Code directly to Octoprint
open source and unlicence

Return to “Feature Requests”