Welcome! Log In Create A New Profile

Advanced

Conditionals in GCODE ???

Posted by softfoot 
Conditionals in GCODE ???
January 30, 2021 01:33PM
Does Marlin support conditionals (as implemented in Slic3r) ??

I want to be able to pause a print at a specific layer or height to insert a nut or magnet without manually editing the GCODE - the scope for getting it wrong is huge.

Also what about "while" loops and "goto" or "branch" ??

Perhaps there are other ways to achieve this ??

Regards,
Dave
VDX
Re: Conditionals in GCODE ???
January 30, 2021 03:29PM
... do this better in the PC-software ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Conditionals in GCODE ???
January 31, 2021 05:44AM
How would you do this in the PC ??

I usually print from the SDCard, but I could revert if necessary.

Dave
VDX
Re: Conditionals in GCODE ???
January 31, 2021 10:28AM
... I've modified Pronterface for pastedispensing and laserengraving - here only the "needed" G- and M-codes are sent with conditions or pauses ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login