Jump to content
JewelryMaker

launching Cura in command line mode

Recommended Posts

Posted · launching Cura in command line mode

I have an application where I would like to launch Cura from a batch file and load a specified model with default print settings. Is this possible?

something like: "run cura.exe file.stl"

- JewleryMaker

Share this post


Link to post
Share on other sites
Posted · launching Cura in command line mode

Absolutely. I've never done this so not sure how - but I would guess maybe you can see the actual command line that cura runs and you could duplicate that syntax.

The gui is called cura. The slicer is called curaEngine. So it would be more like:

curaEngine -o output.gcode model.stl

or you can try curaEngine -h which lists some of the parameters. The 3x3 matrix is for rotation and translation of your model so you don't need that.

Try googleing curaEngine command line or similar.

Share this post


Link to post
Share on other sites
Posted · launching Cura in command line mode

Thanks for your last response.

I found the synopsis of CuraEngine on the web with the extensive list of "settings". The problem is that I don't want to come up with values for all of these. I just want to duplicate settings generated by the Cura GUI. I have no idea how to find out what they all are. I wish that there was some kind of configuration file with all of the inputs generated for a particular application. Do you know if this exists? Thanks again

Share this post


Link to post
Share on other sites
Posted · launching Cura in command line mode

Just run the CuraEngine binary. It will output a set of commands that tell you how to handle settings.

Share this post


Link to post
Share on other sites
Posted · launching Cura in command line mode

I had the impression that if you send zero settings to curaEngine it would pick defaults for you.

Anyway, if you run the cura gui and select some quickprint settings, then do "save profile..." you can save every setting into an easily readable file.

Share this post


Link to post
Share on other sites
Posted · launching Cura in command line mode

No, you need to give it a file that describes the settings (and the defaults). If you give it that file and no changed settings, it uses the defaults.

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!