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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 96 replies
×
×
  • 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!