Dusty Link and Hub mode
The dusty command and automation
The dusty command shipped with Dusty Link checks, estimates and exports projects from a terminal and queues them on the machine, starting only after an explicit answer.
Every Dusty Link package includes the dusty command (/usr/local/bin/dusty once installed, dusty.exe on Windows), for a terminal or a script. It prepares projects with the same core as the application:
dusty check plaque.dusty --machine generique-3018 # pre-flight check, no-go zones included
dusty estimate plaque.dusty # time, accelerations included
dusty export plaque.dusty --flavor grblhal -o plaque.nc # G-code
dusty send plaque.dusty --hub atelier.local --code 8QV43SP4
- Send puts the job in the Dusty Link queue without starting it — headless Dusty Link or the desktop app in Hub mode (
--hub <computer name>.local): it prepares it for its machine (G-code flavor, work zero read on the machine), runs the pre-flight check again and refuses the project if it touches a no-go zone. The job is then started from Dusty Studio, the app, the mobile pendant ordusty start <number>. - Starting stays an explicit action:
--startasks the confirmation question in the terminal (type “yes” to start). In a script,--yesanswers it in advance: keep it for a checked machine (stock clamped, tool, zero).--followfollows the job to the end; a tool change or a pause hands over to the devices. - Away from the machine, the work zero is unknown:
checklists what depends on it as “to check on the machine”, never as checked (or give the zero with--origin X,Y,Z). dusty statusshows the machine, the job and the queue;dusty stopsends STOP.--jsongives an output for scripts; the exit codes (0 success, 1 refused by the check…) and the HTTP API (POST /hub/v1/project, curl and Python examples) are described in theAPI.mdguide shipped with Dusty Link. French command names (verifier,envoyer…) work too.
This manual is also built into Dusty: press F1, or open the Help menu, to read the topic for what you are doing. A mistake, a missing answer? Tell us
Try it in Dusty, for free.
Free CNC milling software: design, toolpaths and machine control. Mac, iPad, iPhone, Windows and Linux.