Jump to content
JoeJJJ3js

How do I launch Cure with a specified file.

Recommended Posts

Posted · How do I launch Cure with a specified file.

I have a program that I want to call cura and load it with a specific .stl file.

is it just cura.exe c:\filepath\filename.stl

Also where can I find documentation on available switches that I can set at the command line when I launch cura?

Share this post


Link to post
Share on other sites
Posted · How do I launch Cure with a specified file.

Do you mean cura or the cura engine?

In case of cura; cura filename.stl

In case of curaEngine;

 

CuraEngine slice [-v] [-p] [-j ] [-s =] [-g] [-e] [-o ] [-l ] [--next] -v       Increase the verbose level (show log messages). -p       Log progress information. -j       Load settings.def.json file to register all settings and their defaults. -s =       Set a setting to a value for the last supplied object,        extruder train, or general settings.                                                                                                                                                                -l        Load an STL model.                                                                                                                                                                                  -g                                                                                                                                                                                                              Switch setting focus to the current mesh group only.                                                                                                                                                      Used for one-at-a-time printing.                                                                                                                                                                    -e       Switch setting focus to the extruder train with the given number.                                                                                                                                   --next                                                                                                                                                                                                          Generate gcode for the previously supplied mesh group and append that to                                                                                                                                  the gcode of further models for one-at-a-time printing.                                                                                                                                             -o        Specify a file to which to write the generated gcode.                                                                                                                                              The settings are appended to the last supplied object:CuraEngine slice [general settings]        -g [current group settings]        -e0 [extruder train 0 settings]        -l obj_inheriting_from_last_extruder_train.stl [object settings]        --next [next group settings]       ... etc.In order to load machine definitions from custom locations, you need to create the environment variable CURA_ENGINE_SEARCH_PATH, which should contain all search paths delimited by a (semi-)colon.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!