CuraEngine CLI: headless slicing

domain: ultimaker.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain the machine and extruder definition JSON files (the same ones bundled with Cura) since CuraEngine needs -j definitions rather than a GUI profile.
  2. Run CuraEngine slice with -j <machine_def.json>, -e0 -j <extruder_def.json>, -l <input.stl>, and -o <output.gcode> as the basic invocation.
  3. Override individual settings with repeated -s <setting>=<value> flags for per-job customization (e.g. layer height, infill density).
  4. Use --next to chain multiple models into one sequential, one-at-a-time gcode job if needed.
  5. Set the CURA_ENGINE_SEARCH_PATH environment variable if definition files live outside the default search paths.

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans