Notifications
Clear all

G Code Loop Support?  

  RSS
ryan.s47
(@ryan-s47)
New Member
G Code Loop Support?

Hello,
I'v been trying to add a loop in my G Code of a print but my MK3 seems to ignore them. Is there a way to loop through G Code with a MK3?
I'm basicly just printing the same part over and over, but the part is being removed once its done so the next one can print.

Publié : 30/08/2018 6:32 pm
Craboulas
(@craboulas)
Eminent Member
RE: G Code Loop Support?

Really, no replies to this in 4 years?

Publié : 22/11/2022 7:28 pm
Netpackrat
(@netpackrat)
Reputable Member
RE:

Setting aside the irony of a guy who hasn't posted in 4 years complaining about no replies to a post in 4 years, why would you want to do this?  You're going to have to stop the printer anyway to remove the last print, clean the sheet if needed, etc. anyway.  Serious question from somebody relatively new to printing.

https://www.printables.com/@Netpackrat/models
Publié : 22/11/2022 9:46 pm
Craboulas
(@craboulas)
Eminent Member
RE: G Code Loop Support?

 

Posted by: @netpackrat

Setting aside the irony of a guy who hasn't posted in 4 years complaining about no replies to a post in 4 years, why would you want to do this?  You're going to have to stop the printer anyway to remove the last print, clean the sheet if needed, etc. anyway.  Serious question from somebody relatively new to printing.

 

It's not that hard to achieve automatic "part ejection". You can use the print head to knock parts off the bed. 

Publié : 22/11/2022 9:52 pm
Netpackrat
(@netpackrat)
Reputable Member
RE: G Code Loop Support?

I have read about people doing that.  I guess if you have parts that are adhered well enough to the bed, but not too well, I could see that working.  Most of the stuff I have printed, has stuck well enough that removing the sheet and flexing it has been mandatory.  The parts I printed out of ASA for a Voron seem to pop right off once the bed cools, but you would still have the issue of making sure the nozzle is clean before the next print starts.  Wonder if there is a mod for adding a nozzle brush on the Prusa like the Voron uses?

https://www.printables.com/@Netpackrat/models
Publié : 22/11/2022 10:17 pm
Neophyl
(@neophyl)
Illustrious Member
RE: G Code Loop Support?

The other reason to loop is if you have a belt printer.  Unfortunately there is currently no support for belt printers in PS or SuSi.  It has been requested on the PS github though.  As such there are built in ways to generate the gcode.  Even if support was added to the slicer it would still require firmware support on the printer to handle it properly.

There are a few hacks but they have consisted of copying and pasting the same block of print gcode multiple times into the file with whatever gcode is needed to eject the print between them.  This isnt proper looping though as the print 'run' is whatever you paste into the file and the files can become quite large.  Still largely a manual process though unless someone has scripted something.  

Publié : 22/11/2022 11:28 pm
Craboulas
(@craboulas)
Eminent Member
RE: G Code Loop Support?

Exactly. I don't know why Prusa devs don't at least merge the M808 Marlin code to support looping. 

Publié : 22/11/2022 11:51 pm
RickM
(@rickm-3)
Estimable Member
RE: G Code Loop Support?

Yeah I would love to see M808 supported.  I'm assuming it isn't though haven't tried.

There is another scenario where looping gcode would be very helpful.  That is when you use jigs and then insert a part into the jig, finish printing (on top of part only), remove the part and then repeat.  Would save the time and waste of printing a jig each time you want to complete the part.

Example that I make is when I want to create a knob with an inserted hex head bolt but I don't want to see the head of the bolt (and / or have the bolt push out of the knob.  I just make a jig and voila...a nice looking functional knob that can be inserted and pulled out as needed.  

I've also done the jig approach when I want to make a rounded on both sides object but don't want to glue them together.

Picture shows the knob and jig and end result.

Publié : 26/04/2023 7:38 pm
Curt Will
(@curt-will)
Membre
RE: G Code Loop Support?

I would like a loop to test run and qualify my newly-installed "Retractable Purge Mechanism," which ejects purge pellets into a small box beside the printer.

Publié : 16/05/2024 7:41 pm
Partager :