Notifications
Clear all

Import multiple .STL files from CLI  

  RSS
Christopher Faulkner
(@christopher-faulkner)
Member
Import multiple .STL files from CLI

Hello

Thank you for taking the time to read this post, it is appreciated. 

Hoping someone can point me in the right direction.  I am trying to load multiple .stl files from the command line prompt using 'Slicer' which I believe is identical to 'Prusa' but repackaged for a different printer.  

I have a working command line for loading a single .stl as below, but I can't load multiple either with a wildcard or by listing two items in the path:-

"C:\Program Files\Slicer\slicer.exe" "C:\Test\Test.stl" --load "C:\config.ini" - Works perfectly

"C:\Program Files\Slicer\slicer.exe" "C:\Test\*.stl" --load "C:\config.ini" - Does not work

"C:\Program Files\Slicer\slicer.exe" "C:\Test\1.stl C:\Test\2.stl " --load "C:\config.ini" - Does not work

If anyone has any insight on how I can achieve this it would be greatly appreciated 🙂

Many thanks

--

CJF

 

 

Posted : 04/06/2024 7:40 am
Christopher Faulkner
(@christopher-faulkner)
Member
Topic starter answered:
RE: Import multiple .STL files from CLI

All sorted, error in path, works brilliantly!

Posted : 04/06/2024 9:49 am
JimB
 JimB
(@jimb)
Estimable Member
RE: Import multiple .STL files from CLI

I would try moving all the .stl files to the end of the command line.  So like this

"C:\Program Files\Slicer\slicer.exe" --load "C:\config.ini" "C:\Test\1.stl" "C:\Test\2.stl"

and be sure to quote each stl file separately.  Using *.stl may work, but you probably can't have that inside quotes.

Posted : 04/06/2024 11:02 am
Share: