Combine gcode files or print simultaneously
 
Notifications
Clear all

Combine gcode files or print simultaneously  

  RSS
Grant
(@grant-2)
Active Member
Combine gcode files or print simultaneously

Hello,

I have three gcode files that I've sliced that I would like to have print together. Two have the same slicer settings and a layer height of 0.15mm. The third is sliced with different settings and has a layer height of 0.3mm. I figure there's one of two ways to do this:

1) Combine them into one gcode file. Given that the layer heights are multiples of one another I think it could work.

2) Print the files consecutively on the same bed organized front to back. I'd like to do this without the print bed and extruder heating and cooling in between prints.

Are either or these two possible with Slic3r, PrusaSlicer, or a third party app?

Thank you in advance.

Posted : 24/04/2021 6:50 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Combine gcode files or print simultaneously

You can slice different models on the print bed with different layer heights anyway with PS. Just add the models as normal, then  you can right click on a model and add a height range modifier to it, and select a print height as one of the modifiers. You can do that on any and all of them and slicer will slice them all and print normally. You don’t need to print consecutively either. They don’t even need to be multiples of the same layer height as PS just deals with it as it’s slicing it. 
Or you can select one of you models and select the variable layer height tool and adjust its print height that way as an alternate way of doing it. That has the slight advantage in that different heights of your model can be set to different layer heights, even on the same model. This allows detail where needed like on curves but quicker thicker layers on straight sided areas. 

Try the manual for PS https://help.prusa3d.com/en/category/prusaslicer_204  especially this section https://help.prusa3d.com/en/category/advanced-features_213 which covers both modifiers and per model settings  

 

Posted : 24/04/2021 8:43 pm
Grant
(@grant-2)
Active Member
Topic starter answered:
RE: Combine gcode files or print simultaneously

@neophyl

Thanks! This is really good to know.

New question: Is there a way to automate this process via command line or scripting? I've looked at the Slic3r command line guide since that's what PS is derived from, however I don't think the features you're mentioning are available via command line from what I'm reading. Please correct me if I'm wrong. I'm looking for a way to do exactly what you're describing but via either command line or a PS API.

Posted : 25/04/2021 6:13 am
Neophyl
(@neophyl)
Illustrious Member
RE: Combine gcode files or print simultaneously

Sorry cant help you with CLI as I have never used it and never intend to 🙂  The only difference to PS cli I found were here https://github.com/prusa3d/PrusaSlicer/wiki/Command-Line-Interface   andf those dont look like they will cover it.  

Might be worth posting over on the github siet https://github.com/prusa3d/PrusaSlicer/issues to see if anyone there can help.  as well as the Devs you get your more code familiar people too.  Sorry I couldnt help further.

Posted : 25/04/2021 10:45 am
Share: