Generating gcode from CLI for multiple printheads
 
Avisos
Vaciar todo

Generating gcode from CLI for multiple printheads  

  RSS
prusaLover25
(@prusalover25)
New Member
Generating gcode from CLI for multiple printheads

I have multiple stl files (1.stl, 2.stl, ...), and I want to print each one with a different extruder ONLY using the command line.

I found that when I open these models in the GUI app and after selecting extruders and saving it as a project, I can slice the saved .3mf file from CLI. Also, I found that extruders are specified in the metadata.

<metadata type="slic3r.extruder">3</metadata>

But when I manually add this meta data to another 3mf file, it does not slice with the specified extruder, but opens it and shows the correct extruder in the GUI.

My initial plan was to merge and convert the STL files to AMF or 3MF like;

.\prusa-slicer-console.exe --export-3mf --merge 1.stl 2.stl

and then inject the metadata and slice;

.\prusa-slicer-console.exe -g --align-xy 65,45 --datadir [Path] -o [Path] --load [Path] [Path]\1.3mf

But as I said, it doesn't slice with the specified extruder.

I would love to get your opinions on the matter

Respondido : 08/11/2021 11:32 am
Compartir: