@nebulaglitch/shopbot
v0.0.2
Published
A library to generate shopbot output
Downloads
1,316
Maintainers
Readme
shopbot
Shopbot is a library designed to help you programmatically generate command sequences for Shopbot CNC machines. It provides a set of classes representing various Shopbot commands, along with utility classes like CmdGroup for organizing commands and ShopbotPrinter for outputting the final command sequence in a format suitable for the machine.
Available Commands
Below is a list of the available commands. These can be found in the ./src/commands directory.
CommentCutCircleCutCircleCenterCutGCircleFileLoadPartFileInputJog2Jog3Jog4JogAJogBJogSpeedJogXJogYJogZMove2Move3Move5MoveBMoveSetSpeedMoveXMoveYMoveZPauseSetAbsoluteSetContinuousMovementSetOutputSwitchValAxisValCommValuesCutterParametersValuesDisplaySettingsZeroAZeroB
import { CmdGroup, ShopbotPrinter, MoveZ } from '@nebulaglitch/shopbot';
const group = new CmdGroup('Test');
group.push(new MoveZ(0.332425334));
const output = ShopbotPrinter.print(group);
console.log('\n\' Test\nMZ, 0.3324\n');