A web-based interface for CNC milling controller running Grbl, Marlin, Smoothieware, or TinyG.
MIT License
Bot releases are hidden (Show)
Published by cheton over 7 years ago
const re = new RegExp(//, 'g')
is not supported on Node.js v4 and earlier versionsPublished by cheton over 7 years ago
Fine tuning the macro widget (b7c8859a41a944934bf17908d0e132711d88d16d)
Adds macro variables support (d47a8098e1a122768245fa0c012be2facb3c2460, #136)
Supported variables
Examples
Create a macro with the following content:
; Traverse around the boundary
G90
G0 Z10 ; go to z-safe
G0 X[xmin] Y[ymin]
G0 X[xmax]
G0 Y[ymax]
G0 X[xmin]
G0 Y[ymin]
Once a G-code file is loaded, run the macro for perimeter tracing with respect to current G-code boundary.
Adds webcam rotation and flip buttons (13812beb3d1de3d113f96f43929e6e2189f9406d, 206881d962e23c4b97bf45c32e3ca8be6281d324, #148)
Adds an option to choose whether to apply the tool length offset for the Z axis (e97bc0d5fb0a096721bb4ddbc9d64ca0a969fd55, #147)
Controller commands
1.8 (deprecated) | 1.9.0-rc |
---|---|
load | gcode:load |
unload | gcode:unload |
start | gcode:start |
stop | gcode:stop |
pause | gcode:pause |
resume | gcode:resume |
loadmacro | macro:load |
(n/a) | macro:run |
loadfile | watchdir:load |
Events
1.9.0-alpha (deprecated) | 1.9.0-rc |
---|---|
loadmacro | macro:load |
loadfile | (removed) |
Published by cheton over 7 years ago
Creates a separate toolbar for camera control
Published by cheton over 7 years ago
Published by cheton over 7 years ago
Published by cheton over 7 years ago
Published by cheton over 7 years ago
This update contains a hot fix for the 1.8.x releases
Published by cheton over 7 years ago
Published by cheton over 7 years ago
Published by cheton over 7 years ago
This update contains a hot fix for the 1.8.x releases
Published by cheton over 7 years ago
cncjs 2.0 will stop supporting Node.js 0.12 and earlier versions
This update includes improvements and bug fixes, including:
Deprecates Node.js 0.12 (3a814ea3a3378b7d07e8835cb04bcaf64c25be20)
Adds missing html tag (ab732d80c4d4a6483b2c705a5897e820194b341f)
Renamed website url from https://github.com/cncjs/cncjs to https://cnc.js.org (61d4c0a91f5d0e1b036a5c6c27749567f9344228)
Automatically controls the display of Grbl, Smoothie, and TinyG widgets (6e0c7d1fe6203234d919d91b8a6a5aae882388f8, #127)
Reorders the Feed and Spindle override buttons (f035a694c35d7c893568048ac5e121fe07f1e4b8, #130)
Makes it easy to differentiate between 1% and 10% (446f2efa55352343eb4edf7cdc122531ac6bf107, #130)
Adds support for toggling 3D view for G-code display (eb79f67ef528575d2caad5466d6e71e626c3987e, 28c1b6c178a56514c9a341065fe4ba47714955cf)
Published by cheton over 7 years ago
This update includes improvements and bug fixes, including:
Smoothieware support
Resolves an issue for TinyG that 3D visualizer doesn't display correct toolhead position in inch units (#106)
Resolves an issue that caused TinyG freeze with G2 or G3 arcs (#106)
Prevents body from scrolling when a modal is opened (6369b15434163554023d880bdcf31461bafb6740)
Several workflow refinements
Bypasses security checks if the app is running in development mode or has valid credentials (89d090f5f59bb1b0124dc56fc7f6e15f59750eaa)
Adds support for sending push notifications after command completions (7c8fb6fe320d530efa8d105c146675d8107e9b6c, #84)
Published by cheton almost 8 years ago
Published by cheton almost 8 years ago
Published by cheton almost 8 years ago
This update addresses some performance issues, including:
G-code file load time is nearly 10x faster than earlier versions.
Published by cheton almost 8 years ago
This update fixes a critical bug in 1.8.11:
Published by cheton almost 8 years ago
This update contains bug fixes and new language translation, including:
Published by cheton almost 8 years ago
Adds the ability to create and run shell commands from the web interface (resolves #75, #84)
See an example .cncrc file:
{
"watchDirectory": "/path/to/dir",
"accessTokenLifetime": "30d",
"allowRemoteAccess": false,
"state": {
"checkForUpdates": true
},
"commands": [
{
"text": "Check network connection",
"command": "ping -c 10 127.0.0.1"
},
{
"text": "Reboot",
"command": "sudo /sbin/reboot"
},
{
"text": "Shutdown",
"command": "sudo /sbin/shutdown"
}
],
"macros": [],
"users": []
}
Published by cheton almost 8 years ago
Published by cheton almost 8 years ago
This update contains bug fixes and improvements, including: