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

tag objects being printed

Wed Mar 25, 2020 9:33 am

New G-Code is introduced that is supposed to be used by slicers to tag objects on the plate so that during print any object can be canceled (instead of whole print plate). So far Marlin is supporting this and RepRapFirmware released beta today with support for M486. It is something Simplify3D should support as soon as possible.

https://reprap.org/wiki/G-code#M486:_Cancel_Object
The M486 G-code provides an interface to identify objects on the print bed and cancel them. Basic usage: Use M486 T to tell the firmware how many objects there are, so it can provide an LCD interface. (Otherwise the firmware counts them up in the first layer.) In every layer of your G-code, you must preface each object's layer slice with M486 S[index] to indicate which object is being printed. The index should be zero-based. To cancel the first object, use M486 P0; to cancel the 5th object use M486 P4; and so on. The "current" object is canceled with M486 C.

G-codes associated with the canceled objects are no longer printed. Firmware supports this feature by ignoring G0-G3/G5 moves in XYZ while updating F and keeping the E coordinate up-to-date without extruding.

Slicers should number purge towers and other global features with a negative index (or other flag) to distinguish them from regular print objects, since it is important to preserve color changes, purge towers, and brims.

Host software (such as OctoPrint) may be able to cancel individual objects through a plugin, and in this case they should not use M486 P to cancel objects (although doing so should cause no harm).
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

S3D-Jake
Posts: 771
Joined: Wed Jun 20, 2018 12:45 pm

Re: tag objects being printed

Wed Mar 25, 2020 9:53 am

Thanks for sharing this! I had not seen this go into stable Marlin. I'll be interested to see what other users think about this.
"A bird does not sing because it has an answer. It sings because it has a song."

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

Re: tag objects being printed

Wed Mar 25, 2020 4:29 pm

Yup, Marlin pushed it GA and RepRapFirmware pushed yesterday first beta ... supporting this is going to be fairly important feature for all slicers
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”