Skip to content

v0.4.3 — AI CLI interface

Latest

Choose a tag to compare

@quantumnic quantumnic released this 15 Mar 01:34
· 1 commit to main since this release

lasermac-cli — AI-friendly command-line interface

Control your laser engraver programmatically from scripts and AI agents.

Commands

  • Connection: connect, disconnect, status, ports
  • Machine control: home, unlock, reset, origin, goto, jog
  • Laser: laser-on, laser-off, laser-test
  • Jobs: send (file or raw gcode), burn-text, burn-rect, burn-circle, frame
  • Settings: settings, set, detect
  • Profiles: profile list/save/load

Features

  • All output is JSON by default (perfect for AI tool calls)
  • --plain flag for human-readable output
  • State persistence in ~/.lasermac/cli_state.json
  • Built-in single-stroke font for text engraving
  • Circle approximation with configurable segments

Install

pip install lasermac
lasermac-cli --help