Docs menu: demo, demo3d, new

Docs › Command line › demo, demo3d, new

demo, demo3d, new

Write a starter project: the demo sign, the 3D relief demo, or an empty project.

Synopsis

nativecam-cli demo   <out.nativecam>
nativecam-cli demo3d <out.nativecam>
nativecam-cli new    <out.nativecam>

Description

CommandWrites
demoThe demo sign: a 24 × 18 inch sheet of ¾ inch Baltic birch with V-carved lettering, a pocket, four drilled holes and a profile cut-out with tabs. The same job as File ▸ New Demo Sign Project in the app.
demo3dThe 3D relief demo: a medallion in hard maple with roughing, ball-nose finishing and a cut-out. The same as File ▸ New Demo Relief Project (3D).
newAn empty project: a 24 × 18 × ¾ inch sheet of plywood, no shapes or toolpaths, on the default machine (an Avid PRO6060 with Mach4).

The file is a .nativecam project, the same JSON document the app saves. Open it in the app, edit it with a script, or pass it to post and sim. An existing file at that path is overwritten.

Examples

$ nativecam-cli demo demo.nativecam
Wrote demo.nativecam
$ nativecam-cli demo3d relief.nativecam
Wrote relief.nativecam
$ nativecam-cli new empty.nativecam
Wrote empty.nativecam

The quickest end-to-end check of a build is a demo followed by post:

$ nativecam-cli demo demo.nativecam && nativecam-cli post demo.nativecam

Exit status

0 when the file was written. 1 when the path is missing (usage: nativecam-cli demo <out.nativecam>) or the file can't be written.