PubSub API
timothy-godfrey edited this page Aug 12, 2020
·
2 revisions
The cncjs frontend webapp uses PubSubJS for communication between widgets. (It appears to be used in an ad hoc way).
Component | Topics |
---|---|
Settings | updateMachineProfiles |
Workspace | resize |
gcode:load | |
updatePrimaryWidgets | |
updateSecondaryWidgets | |
App | message:connect |
message:resize | |
Visualizer | gcode:bbox |
gcode:unload |
Component | Topics |
---|---|
PrimaryWidgets | updatePrimaryWidgets |
SecondaryWidgets | updateSecondaryWidgets |
Console | resize |
Custom | message:connect |
message:resize | |
Gcode | gcode:bbox |
SecondaryToolbar | updateMachineProfiles |
Visualizer | resize |
Join CNCjs Users Group on Facebook to share your experiences with other people.
Site: https://cnc.js.org
- Introduction
- Installation
- Using Pendants
-
Raspberry Pi Setup Guide
- System Setup & Preparation
- Install Node.js & CNCjs
- Install Node.js via Package Manager (Recommended)
- Install Node.js via Node Version Manager (NVM) (Alternative)
- Install Node.js Manually (Alternative)
- Use PM2 to auto-start CNCjs (Optional)
- Use Port 80 (Optional)
- Maintain
- Additional Setup Options:
- CNCjs UI on Pi - Adventures in PiLand
- Pi with Arduino Due
- Electron App
- User Guide
- Tool Change
- Troubleshooting
-
FAQ
- Forgot your password?
- How can I enable WebGL in my browser?
- Raspberry Pi: Error opening serial port "ttyAMA0"
- Webcam Streaming with Raspberry Pi
- Restream RTSP to M-JPEG
- Connect to an Arduino using WiFi
- Install Native Addons with Node.js v4
- Install Serialport on OS X El Capitan
- Kernel panic issue on macOS Sierra for devices using the CH340G, CH34G or CH34X chipset
- Testing without Arduino board
- Development
- API
- Wiki History
- Resources
- About