Ultimaker Community of 3D Printing Experts

# Running Cura from command line

## Recommended Posts

I'm looking to automate the slicing of some .stl files and have been trying to use CuraEngine. I keep getting:

[ERROR] Trying to retrieve unregistered setting with no value given: 'mesh_rotation_matrix'

The command (among other attempts) I have been using is

CuraEngine slice -l path\to\stl\test.stl

My understanding is that if no settings .json is specified cura uses default values but this doesn't seem to work.

Thanks

##### Share on other sites

CuraEngine doesn't have default values (or well; it gets them from the fdmprinter.def.json). So in order for this to work, it needs to know where to find the file.

## Create an account

Register a new account

• ### Our picks

• We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance.
• 86 replies
• Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
• 12 replies
×