Feature request: Export current settings for command line
 
Notifications
Clear all

Feature request: Export current settings for command line  

  RSS
Big Stinky Cat 3D
(@big-stinky-cat-3d)
Active Member
Feature request: Export current settings for command line

Challenge:

  • I'm printing letters for my mom to use in scrapbooking. That's ~70 STLs (upper & lower case letters, numbers, and punctuation).
  • I've generated the STLs in OpenSCAD and I'm automating rendering to gcode via the command line
  • While I have created a command line script that seems to work, the results I'm getting lead to me to think that there's a default difference between the GUI and command line tools and that's resulting in slightly sub-optimal results

Ideas:

The 2 "obvious" ideas I have for being able to tweak settings in the gui, then use those settings on the command line are:

  1. An export-to-command-line option that will simply export ALL current settings to command line equivalents.
  2. A new set of command line options to allow the user to use the various profiles built and stored in the gui.

There are probably other options as well.

Is this a "I'm the only person that wants this" feature, or should I submit it as a formal request on GitHub?

 

Best Answer by --:

Sorry - that link may not have been much help.

But - here's a Windows batch for a command line that loads a config exported from the gui: it seems to work as expected.

"C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer-console.exe" -printer-technology FFF -center 125,105 -g File-to-Slice.stl -load Exported-Config.ini
Posted : 10/10/2020 5:09 pm
--
 --
(@)
Illustrious Member
RE: Feature request: Export current settings for command line

Have you read Bob's scripting exercise?

https://forum.prusa3d.com/forum/original-prusa-i3-mk3s-mk3-general-discussion-announcements-and-releases/running-prusaslicer-in-batch-command-line-mode-mixing-configurations-for-fff-and-sla-technologies/

Posted : 10/10/2020 5:16 pm
--
 --
(@)
Illustrious Member
RE: Feature request: Export current settings for command line

Sorry - that link may not have been much help.

But - here's a Windows batch for a command line that loads a config exported from the gui: it seems to work as expected.

"C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer-console.exe" -printer-technology FFF -center 125,105 -g File-to-Slice.stl -load Exported-Config.ini
Posted : 10/10/2020 6:10 pm
Big Stinky Cat 3D
(@big-stinky-cat-3d)
Active Member
Topic starter answered:
RE: Feature request: Export current settings for command line

@tim-m30

Ah, I thought I’d looked through all the options and I didn’t notice -load!

I’m out right now but I’ll try it out later. Many thanks!

Posted : 10/10/2020 9:44 pm
bobstro
(@bobstro)
Illustrious Member
RE: Feature request: Export current settings for command line

FYI - the issue with loading multiple config files has been fixed in recent PrusaSlicer releases.

As Tim shows in his example, you can export your working config to a config (not config bundle) file and load that for your base settings. You can also override any parameter on the command line. If there are duplicates, the last specified version takes precedence. Handy if you need different settings for some models.

Raw notes here (unfinished).

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 11/10/2020 2:23 am
Big Stinky Cat 3D
(@big-stinky-cat-3d)
Active Member
Topic starter answered:
RE: Feature request: Export current settings for command line

Yeah, the exported config is proving to be perfect! I've tweaked my settings 2-3 times to address some issues and now I'll be able to re-render out all my letters. Thank you so much!

Posted : 11/10/2020 6:21 pm
Share: