cncjs

A web-based interface for CNC milling controller running Grbl, Marlin, Smoothieware, or TinyG.

MIT License

Downloads
518
Stars
2.2K
Committers
40

Bot releases are visible (Hide)

cncjs - v1.9.14

Published by cheton over 6 years ago

Improvements

  • Avoid using expressions in inline comments as it may cause parsing errors with TinyG controller (6bc53feb87113ab66117960ab8f50d99c0022d00, #244)
  • Ensure the %wait command will wait until the planner buffer is empty (599206fcc95db6e7264d9a58de5b2b1a9109b55f, #244)
  • Adds ability to toggle between multiple cameras (dc16440c1c436b13db2a69f9bf5074b05a479a38, #274)
    image

Bug Fixes

  • Fixed a pagination issue that caused macros and MDI commands not able to display more than 10 records (39f55f13cc4a1f6be4c6a386e7b092cc537049c9, #270)
  • Fixed a warning that each child in an array should have a unique "key" prop (6239f7d2e5dc8c955b4c11240e3e05c03bb097ca)
cncjs - v1.9.13

Published by cheton over 6 years ago

What's New

This release contains several enhancements and usability improvements for connection, console, and axes widgets. See below for details:

Connection Widget

Since CNCjs 1.9.12, the node-serialport library has been upgraded from v4 to v6, however, it caused a breaking change to the default hardware flow control option where RTS/CTS will be disabled by default on Windows, and it may lead to unexpected result for certain boards connecting with Windows devices. The "Enable hardware flow control" option is added in 1.9.13 for addressing this issue, you can turn on this option if you ran into trouble on connecting to the board while using Windows devices.

image

Console Widget

Adds color schemes and fixed a copy/paste issue in CNCjs 1.9.12.

image

Axes Widget

Usability improvements for jogging and quick access buttons

image

Custom Commands

Now you can go to Axes Settings to add custom commands and enable manual data input (MDI) support.

image

Toggle MDI mode

image

Change Logs

Enhancements

  • Adds support for enabling hardware flow control (776c8361dfa9d233481ec63aab9067d6ed0c07a9, #243)
  • Adds context menu support for editable content and selectable text with Undo, Redo, Cut, Copy, Paste, and Select All actions (55a3350840556ef0eab821e57304366b8d9b44df, 50a331893df07de27c1ef2a1acf5a0470cb561b8, #241)
  • Console widget enhancements (753abec8bc7db6f4bab088ce9736f75569d46b39, #241)
  • Support for custom MDI commands (2dc94803be58a7b32dae77c746c3ed003e78c92f)
  • 6-axis (B and C) support (8100d0d0ad70df5d4d761cba449f77e66bb9c626)

Improvements

  • Constancy with Axes menu order (1ccc3595adebea67e47cc149f16f6d382ca10f3b)
  • [Electron] Remember window size and position (221bab90d3edf6490bb8bff4352d1ffbc00d7614, #230)
  • Support for validating dataBits, stopBits, parity, and flow control settings (rtscts, xon, xoff, xany) (39c5b3a56e0995928ea2e21a45a845670a8a4adb)
  • M2 and M30 do not pause workflow (97d778d9ca2270952e003ad7f4d66d099539ec90, PR #248 by @MitchBradley)
  • Improves usability of Axes widget (99946d05dd9a194d9d3f4dc380fc61146cf66e90)
  • Reloading commands and macros when the config file has been changed (dfac6bc75f9ab2f31c6515861802a5a9b2c4df6f)

Bug Fixes

  • Fixed an issue where RTS/CTS must be turned on for certain controller boards when connecting to Windows host (1f97f8986d7f0ca728eb0144ac23765b5271c312, #243)
  • Convert line endings from LF to CRLF for the pasted text (#241)

Others

  • Drops support for armv7l target as it is currently broken (2a0a776e71e8e6e565d53ecdefd16d7af725796a)
  • Improves naming conventions (80739ef0e9c7f30e417b7af1054ccfeaf8cd0bbf)

Translations

  • Updates German translation
  • Updates Japanese translation
  • Updates Simplified Chinese translation
  • Turkish (Türkçe) language support
cncjs - v1.9.12

Published by cheton almost 7 years ago

Major Update

  • Upgrades to serialport v6 (eec27be42fec762950d337b42610d890e8f2b5e5, #217)

  • Support for Marlin 3D printer firmware

    • Marlin controller
    • Marlin widget w/ heater controls
      image

Bug Fixes

  • Fixed a bug that may cause blank screen due to incorrect widget settings (0a8a92479664b6afeaab8599e4059fc248cea67d)
    Note: For CNCjs 1.9.11 and earlier versions, if it always shows a blank screen, try clearing the Local Storage using browser's Developer Tools to fix the problem.

    localStorage.clear()
    
  • Fixed a compatibility issue that the includes() method is not available in Node.js v4 and v5 (88d4dec4a48787af32b7307f952e107fc87d72b7, #232)

  • [Grbl][Marlin][Smoothie][TinyG] Fixed a bug that will not continue program execution after the %wait command (a5f86d92ec230cdca83fa16c9e4ccce08f86997e)

  • Fixed a bug introduced in CNCjs 1.9.11 that will accidentally trigger feeder.hold({ data: "M0" }) or sender.hold({ data: "M0" }) when parsing lines containing variables (af60e4774e0c9a7c1381dc368c82d97715e0b4cc)

    The following line

    G0 X[xmin] Y[ymin]
    

    will become

    G0, X0, X0, M0, I0, N0, Y0, Y0, M0, I0, N0
    
  • [Security] Fixed a security issue that one can use an unauthorized token to access the server (1f7bae4449db63bc937f8143dd8b065b88f83b4b, #234)

  • Fixed a bug that sender may emit the 'end' event multiple times (https://github.com/cncjs/cncjs/pull/235/commits/1aa9625d542ec1e13fbd7c2428738dc85d24359e, PR #235)

  • Fixed a bug that caused browser crash if filename contains double-byte characters (232307a2c6d9a2504741d9ff2491b239b9245127)

Enhancements

  • Adds support to listen on specific address and port by passing command line options to Electron application (56ad797f557c487db47bc970e51b98d595513ee2)
    Note: For Electron macOS app, use the open command to pass arguments to the application:

    open -a /Applications/CNCjs.app --args -p 8000
    
  • Adds an "ignoreErrors" option that allows continuing program execution on errors (485bc7cdbfa63225692d3014e2f225b1719d0b05, #233)
    image

  • Support for proxying requests starting with a mount path to an external url (a1cbadaf28f2af18793318b18d1f8d66e083c201)

    cnc -vv -p 8000 \
        --mount /tinyweb:/path/to/tinyweb/src/ \
        --mount /widget:https://cncjs.github.io/cncjs-widget-boilerplate/v1/
    

Improvements

  • Uses ResizeObserver to detect DOM changes (2bf0e2c966d2e599175a238eae34e1c45cfbd809)

  • Redirects URL path without a trailing slash to URL with a trailing slash (dff47b007e9ddfb5d00ebfa6ffe7b5a87588f736)

  • Implements serial connection library for serial port communication (74700aafc248145a6e5f63cc9f911e48baf019c2)

  • Removes comments that start with a semicolon ; (a108668c198b9dbe70908d70af1b44e7070607b2)

  • Uses babel-polyfill for Node.js app (ed5667df3845ef8ba3bfda084cefb60d3933e16a)

  • Allows pasting commands into the terminal (b038cbc46d5a6309abbb302a7e13276b60917c9d)

  • Passes context as second parameter connection.write(data, context) (cdc6d8799b1059a6f195543906056eb33dec0091)

  • Runs CI with Node.js v8 (f4a2c7cf1ca97bb698888e8c994bc5aab546d67c)

  • Improves usability when signing in from a pendant UI (25c8dd8f4aa291e36c6a6d873789159c6820f303, 1b06d4582a3609122cfa09ea1b3cb6987e38f827)

  • Replaces "clusterize.js" with "react-tiny-virtual-list" (6927d0b798d1cd8921731b3fcae8f19024b2455e)

cncjs - v1.9.11

Published by cheton about 7 years ago

This update contains M6 tool change support, various enhancements and bug fixes, including:

Tool Change

See the wiki page at https://github.com/cncjs/cncjs/wiki/Tool-Change

image

Breaking Changes

  • No longer control workflow state (i.e. workflow.pause() and workflow.resume()) when performing a "Feedhold" or "Cyclestart" action (c02c28d08b396f7b003ab5283ea9514c18ad2b91)
  • [Modal state] Renamed coordinate to wcs (699f9b58de30978e30c2cfdd58bb2630bc866aff)
  • Remove the socket parameter from the controller command (bf83165dcc9006f59f9ea726cf29440a1bf8307d)
    • Before: controller.command(socket, cmd, ...args)
    • After: controller.command(cmd, ...args)
  • Pause execution when the CNC milling controller detects an error in the G-code program (d16264a4f53b7b2d9cf19441cea44176ddfbe134, #175)

Enhancements

  • Google Analytics tracking (07c8db3c711058f3561cc2d769a4f3afe2c8673a)
  • Unit tracking enhancement (6f11c9ab6840b557df95be226fc7b41232b8e038, #206)
  • Support for pausing gcode execution with M0, M1, M2, M6, and M30 (c61299be019107968d90db9d9c39e270c8361476, #118, #212)
  • Show notification message on Program Pause (M0, M1), Program End (M2, M30), and Tool Change (M6) (2546e059d3f68d2888c66462c22502878aec95a9, #118, #212)
  • Pop up a confirmation message asking for resuming program execution after M6 tool change (6c95bc8b392f7bf35bb2a5e0092353014c48fff5)
  • Show a modal window asking user to continue for M0, M1, M2, M30, and M6 commands when executing a macro (e8e431e9098808f354bc4ef5e288416e4f893e39)
    image
  • New controller commands
    • "feeder:feed" - Append new commands to the feeder queue
    • "feeder:start" - Start
    • "feeder:stop" - Stop
  • Spindle and coolant enhancements (c2ad0733f19133a0f45723c8435476662eaf19ee)
  • Feeder enhancements for better processing M0/M1/M2/M30/M6 commands among multiple browsers (a707c626c3e65a05d4529fbd572a5a17b43e1ee7)
  • Sender enhancements for processing M0, M1, M2, M30, M6, and %wait commands (3141966150608807aa8b2453195718e1a2f17ca3)
  • Support for using modal group variables in a macro (d858ca7b478aae2021a166d5bb2e48152d756537)
    modal.motion
    modal.wcs
    modal.plane
    modal.units
    modal.distance
    modal.feedrate
    modal.program
    modal.spindle
    
  • Use the new line character to separate M7 and M8 to avoid modal group violation (a6aa326ba08486918227c0a57d795107b3dd895f, https://github.com/gnea/grbl/issues/289)

Bug Fixes

  • Move the stripComment function from sender to controllers (88ccccd3b35c694efb7b5b4f5d55063d1f8e8c65, #210)
  • Fixed a bug that causes authentication failure with the download link (0cb6c1aad2d62d00b7d8739b515bd72d972b4f60, #211)
  • Fixed a bug that cannot check for updates (02738a7916a103f4ee17db9433039d66693a7ac3)

New Language

  • Dutch (Netherlands) language (@dutchpatriot)
cncjs - v1.9.10

Published by cheton about 7 years ago

Enhancements

  • Multiple mount points (a1bc6740d867b2b78e8ddf6e7af5a550553e22bd)

    cnc -vv -p 8000 \
        --mount /static:/path/to/static \
        --mount /widget:/path/to/cncjs-widget-boilerplate/dist
    

    For Electron macOS app, you can use the open command to pass arguments to the application:

    open -a /Applications/CNCjs.app --args --mount /widget:/path/to/cncjs-widget-boilerplate/dist
    
  • Custom widget support (5fa51104a90e6ec5e109a3796937b2d5a955c80a, b366a8c78fb56b11e636b6a741a43070c801a834, #85)
    See development guide and boilerplate code at https://github.com/cncjs/cncjs-widget-boilerplate

    image

  • [Electron] Support for adding mount paths to the applcation menu (8eac37be9b4946ac99cf77ae848f02800c15b62e, #199)
    image

  • [Grbl] Support for gCarvin firmware (113553ac20ca4610cd0530227f2414b64024a85b, #203)

  • Axes labeled in cm in mm mode (3c7b6ba3be77df13dada67f0cfb723c139bc43a4, #205)

Bug Fixes

  • Incorrect work offset setting in inch mode (47255cb8d8fd84fc9ab4220fd3462fb60277d18e, #204)

Translations

  • Spanish translations (@yeyeto2788)
cncjs - v1.9.9

Published by cheton about 7 years ago

Recommended update for the desktop application built with Electron

Bug Fixes

  • [Electron] Fixed a bug that may break workspace settings due to asynchronous file writing (3ddb776fb7784a1eb266fe4afcf0968624251bdd, #185)
  • Fixed an issue that G10 L20 P0 is not currently implemented in TinyG and G2core (7da19b0faa487eca56f6745c6e44af9bd38ac3b1, #191)

Enhancements

  • Electron build process enhancements
  • Homing support for TinyG and g2core (673b5af7be4e897b37deb3f87cd99563f9915acd, #194)
    image
  • Prompt the user for the corrupted workspace settings (55b7947f368dc463bcba581bfc1dbe99490fee83, #185)
    image
  • Ability to import and export workspace settings
    image

Improvements

  • Concurrent execution among multiple browsers without the need of manually refresh browser window (#195)
    • Emit gcode:load and gcode:unload events to all connected browsers (e7e7147bc40668a3e8499e3c90f1eed4c7d99b86)
    • Add serialport:change event listener to detect port changes (a591533b28bb8fee04f2d796039c1281e336d4fe)
  • [Performance] Use a debounced function to persist settings only if 100ms have passed without it being called (3ddb776fb7784a1eb266fe4afcf0968624251bdd)
  • [UX] Improvements for primary and secondary widget toolbar (1073e5ccb073621df96fc38cea44788ea85cd98d)

Other Changes

  • Renamed cncjs to CNCjs
cncjs - v1.9.8

Published by cheton about 7 years ago

Important Notice

This is a recommended update for CNCjs 1.9.3 to 1.9.7. It resolves a critical issue that may consume all available receive buffer on Grbl especially when running a G-code program with slow feed rate.

If you're using CNCjs between 1.9.3 and 1.9.7, please update to 1.9.8 to have the latest stability fixes.

Bug Fixes

  • Resolved a critical issue that ay consume all available receive buffer on Grbl (or Smoothieware) when running a G-code program (0148f35fefabdcedf18cc29b82f5746d8b2e5794, #176, #186)
  • Fixed an issue that may stop sending lines if the G-code sender is in the hold state (%wait) and a buffer overflow is being occurred (c091ec1d5819a16370aefc53dc048486993e1e92)

Enhancements

  • Workspace toolbar enhancements (7ea3ffea7c4bdbeac034118ea76a593136488d2b)
    image

  • A new option to toggle the visibility of grid line numbers (708cc3848c22b4ba4d8a35f2be3376c49b2840b9, #182)
    image

  • Navigation button for the A-axis (4fb3b0e55e177478eea473ff85a7e7fe0a83fdc3, #122)
    image

  • Go To Work Zero and Go To Machine Zero buttons are now configurable (4fb3b0e55e177478eea473ff85a7e7fe0a83fdc3, #181)
    image

Other Improvements

  • Automatically refresh the list of ports when the port is disconnected (3ca043db4c56ae19772ab6e35ded2bcdb0592c60)
  • Do not force reset Grbl when a G-code program has completed (3f77c611cd32e52f2b7d42e0ab5bb532c0cd0693, #170)
  • Marlin ignores G90 (or G91) command when combining with other commands in the same line (dd4a75432a1d9a53fcae33b146b386b344bee237, 0ae507b262213f2ff3a6cf7e57e473cc3871925d)
cncjs - v1.9.7 (unstable release)

Published by cheton about 7 years ago

Bug Fixes

  • [Smoothieware] Fixed an issue that the UI does not correspond to machine position in inch mode (de54114324779105a699ec733e102bee4ed1b4b3, resolves #177)
  • Convert the characters &, <, >, ", and ' in string to their corresponding HTML entities (26f41c3dae8770feeb5f82acbec6769d56ce7bd6, resolves #178)

Improvements

  • New events: system startup, open a serial port, close a serial port (88969e85bfadb81f321b73c9f150eec41b91e1c1, closes #180)
cncjs - v1.9.6 (unstable release)

Published by cheton over 7 years ago

Important Notice

This is a recommended update for CNCjs 1.9.5. It resolves a critical issue that the server may suddenly crash with an unexpected abort caused by Socket.IO 2.0, especially when performing keypad jogging repeatedly.

Bug Fixes

  • Resolves crash and stability issues by rolling back socket.io to 1.7.4 (038d8701203152e0100af7db2bba961e747d5252, closes #161)
  • Grbl: Fixed a bug that cannot return verbose settings information to the client (44b77596f35e06f1f466bc43aaae392603b0f5e8)
  • Accepts dropping file to the workspace only when workflow state is idle (0f8feb619d3195b8538b9815a236112f37cf5565)
  • The override control commands should be properly handled in accordance with the firmware version (b96c51d037da13dfa2ff44cff6cb180c10494c68, resolves #160)

Improvements

  • Common baud rates: 250000, 115200, 57600, 38400, 19200, 9600, 2400 (2b13276e7a48a8f7776ede12a0935758f9761fb9)
  • Console widget improvement with terminal history support (f045d1b46f43f5b5c85e564004fa001e23558b9f, d8a0c8df8db74d92a62237718c02d4a6802492f2, closes #149)
  • Prompt user if the server has stopped working due to an unexpected error (973eb6d2df6141038a03f3d35647bce8e5475af2, resolves #161, #169)
  • Refine realtime status view for each controller (2011554a29ded06b8a8db18fbb2ee102c85cb321)
  • TinyG widget: Power management support (closes #166)
  • TinyG widget: Support energizing motors for up to 30 minutes (258a5fc78ea324e41e78e3b5cd0fb83522980d71, baf2c86c21600550fa8cb3b52f42c1ef21ebf401, closes #166)
cncjs - v1.9.5 (unstable release)

Published by cheton over 7 years ago

Important Notice

The Node.js server of CNCjs 1.9.5 may suddenly crash with an unexpected abort error caused by Socket.IO 2.0, especially when doing keypad jogging. Rolling back Socket.IO to 1.7.x will resolve this issue.

In this moment, please downgrade CNCjs to 1.9.4 if you encountered this issue.

Code Signing Issue

The desktop app for Mac and Windows was not signed with a code signing certificate because the certificate has expired recently. If you encountered an issue that cncjs-1.9.5-win-x64.exe or cncjs-1.9.5-mac-x64.dmg is blocked by Windows Defender or GateKeeper during installation, you can bypass it to complete the installation. Sorry for the inconvenience in this moment.

image

Improvements

  • Add dropdown menu support (15323f02176df66700e9cfc1a4f463be3bbfbbfb, bf355bb783e278c2b847cd82913a1c3345394c1e)

  • Add support for forking widgets (f65a55bdb42f974397dd0a30e0e25637ae7b9e05, resolves #158)

  • Display fork icon for a forked widget (b73899c990b7d275b38aee525828f4240ef786ba)

  • Widget configuration improvements (200e9892c9bbc761c3e2229920f11e39e0b0cee7)

  • Add g2core as an alias for TinyG (122bb2ca6baa33642ef6714170176434eccd7ac6)

  • Support for custom baud rates (b0bfd3f92d19c9d7e5cc1353ed597053f53d7183, resolves #159)

    Configuration file: ~/.cncrc

     {
       "ports": [
         {
           "comName": "/dev/ttyAMA0",
           "manufacturer": ""
         }
       ],
       "baudrates": [250000]
     }
    
  • Laser intensity control for TinyG/g2core (08b690f6402370c8935f158a5c6ac3b93cd228b5, resolves #107 and #160)

  • Support for TinyG and g2core override control (017b9d8167ab1e8dec7850085cba8112243ffddf, closes #160)

  • Specify the maximum value of S for M3 Snnn with laser test (39291aa2ba0bd10f40c15c8b061cbcac4d8e354a)

  • Preliminary ARMv7 support (6a8bcb9392c3c328ecbad4286b614a7e6e0ee45c)

Bug Fixes

  • Fix z-index issue when other components use bootstrap input-group and form-control class (6bba9bdca041ec11aac68ef6d61a6f235feadff7, JedWatson/react-select#1076, #159)
  • Fixed a bug of incorrectly using stylus variable in calc (fixed 9ba87b1e449d2ea26ae3c01ef7448c9de3725ed8)
cncjs - v1.9.4 (unstable release)

Published by cheton over 7 years ago

New Features

  • Support for evaluating expression after the % symbol (b3d393470ddaadfd98c9c31968c384728bb9473d). This enables preliminary support for Manual Tool Change (#118)

    Example:

    G90
    %wait  ; Wait for the planner queue to empty
    %x0=posx,y0=posz,z0=posz  ; Save work position to x0, y0, and z0
    %zsafe=10
    G0 Z[zsafe]  ; Go to zsafe
    G0 X200 Y200
    %wait  ; Wait for the planner queue to empty
    G0 X[x0] Y[y0]  ; Rapidly move to x0 and y0
    G1 Z[z0] F10 ; Slightly move to z0
    
  • New macro variables (9655a7fc7897d8962cc3a958e6686bc7305f7582)

    • Wait for the planner queue to empty:
      %wait
    • Specify the bounding box:
      %xmin=0,xmax=100,ymin=0,ymax=100
    • Save work position:
      %x0=posx,y0=posy,z0=posz
    • Move to saved position:
      G0 X[x0] Y[y0]
  • New command line option for specifying CNC controller (322f1a066021473886edde77a03d929b428aa92b):

    cnc --controller Grbl
    cnc --controller Smoothie
    cnc --controller TinyG
    

Bug Fixes

  • Fixed a bug that cannot load port settings from .cncrc with current versions (3e1d0d8fd4d6e0c717df5adf68ddd011a21c493a, resolves #156)
    {
      "ports": [
          {
            "comName": "/dev/ttyAMA0",
            "manufacturer": ""
          }
      ]
    }
    
  • Windows: Fixed a CSS bug that set incorrect table width and height to the workspace table (b3e71380bf846da1cfe234c579838cc017733fa0)

Improvements

  • Reorder widgets by clicking on the sortable icon (91fbcef772eb576319d57c38963da42a67a79544, resolves #155)
  • Add a confirmation asking user whether to delete the widget (e69e981dcf8d60991b0daead016353938363a3c8)
  • Append %wait (G04 dwell command) to the end of G-code content (519063cabfadf950821191304ee3045e7a1579a6, cbb3e8f24a5914f869658d4dee68775399ec2f06, resolves #137)
  • Normalize command line arguments for packaged Electron app (c6d1ffdb899a729d57c1277099402d44165f86f0). Now you can specify command line options to Electron app.
cncjs - v1.9.3 (unstable release)

Published by cheton over 7 years ago

Bug Fixes

  • Fixed a bug that caused slow performance when switching between 3D view and G-code view (e247af243cbb2f912fffb0edf0315ea2cea19152, fixes #154)

Enhancements

  • Centralizes workflow state to the backend server (7737668f9bf3d19e7997f4fae3393c5d8b882757, 38c55247aa7cabd225359d6d00a801bf09c65988, resolves #137)
  • Appends timestamp to the query string for loading JS bundles (cf3f0a997689f144204879f054ca8c02a5097cb0)
  • Logger enhancement with namespace support (79a2d0ad9cd03349d043828c5aac56f0d5b7c8f5)
  • Removes redundant properties from the controller state (0dca391d030537100140e4dec2fdbea3b4772724)
cncjs - v1.9.2

Published by cheton over 7 years ago

Bug Fixes

  • Resolved a warning message of Using html-webpack-plugin-after-html-processing without returning a result is deprecated. (c9f610dd15a219b17cc5e8e4f226359e575759e7)
  • Fixed a bug that caused error when trying to browse the watch directory (b2e5e8c5244cf59e4ed8fdcdc48ba67a9f556b6a)
  • Fixed a compatibility issue that Notifications API are not supported on iOS (bf9f67f62cb71230ac5cd70be52a7db29baf2587, resolves #153)
  • Mobile-friendly enhancements (ca0fb6b5d15dc10970879da9048185b988c520f1, 2003a081befb79a6404aebcee795c50ba3ad2ed2, resolves #153)
  • CSS bug fixes (578077e3b144f38d33c2260585cf24b36db1f1b0, 3f2e951b18a9b65fab8c7babde4a09738898faf2, e8eec8f6e4ff94d8866a75dff05ec972b3f2b47f)
  • Fixed a bug that sometimes OverlayTrigger is always visible on top of the Axes widget (72f0579b140745746eaad6a01a423edae167df5d)
cncjs - v1.9.1

Published by cheton over 7 years ago

This update contains improvements and bug fixes, including:

  • Grbl-Mega support
  • Wait for the bootloader to complete before sending commands (resolves #151)
cncjs - v1.9.0

Published by cheton over 7 years ago

Note: The project now renamed from cnc to cncjs, and will drop Node.js v0.12 support in a future release

This update contains improvements and bug fixes, including:

  • Preliminary Smoothieware support - Ethernet and ESP8266 are currently not supported
  • TinyG and g2core support
  • Laser widget support
  • Automatically controls the display of Grbl, Smoothie, and TinyG widgets
  • Adding support for toggling 3D view for G-code display
  • Adding support for sending push notifications after command completions
  • Resolved an issue that caused TinyG freeze with G2 or G3 arcs
  • Macro now supports variables for specifying G-code boundary and work position
    • G-code boundary: xmin, xmax, ymin, ymax, zmin, zmax
    • Work position: posx, posy, posz, posa
  • Improved camera controls for 3D view
    • Switch between orthographic and perspective projection
    • Switch between rotate and pan
  • Adding the ability to mute audio, and rotate and flip video from webcam widget
  • Adding support for displaying workspace settings
  • Adding support for managing commands to run server-side scripts
  • Adding support for managing events to trigger gcode or system commands
  • Improved RESTful APIs
  • Improved stability when recovering from error and alarm mode
  • Resolved an issue that coolant buttons in spindle widget did not reflect the state of the mist coolant and flood coolant properly
  • Fixed a bug that will accidentally remove the last connection from the connections array
  • New keyboard shortcuts
    • Select Jog Distance
      ctrl + alt + cmd + d
    • Jog Forward
      ctrl + alt + cmd + f
    • Jog Backward
      ctrl + alt + cmd + b
    • Select A-axis
      ctrl + alt + cmd + a
cncjs - v1.9.0-rc.6 (candidate)

Published by cheton over 7 years ago

Bug Fixes

  • Rollback Electron from 1.6.2 to 1.4.15 (resolves #146 and #151). This will resolve an issue when running electron app on Mac/Windows with cncjs versions from 1.9.0-alpha.5 to 1.9.0-rc.5.

Version History

cncjs electron electron-builder
1.8.14 ~1.4.14 ~11.2.4
1.8.15 ~1.4.14 ~11.2.4
1.8.16 ~1.4.14 ~11.2.4
1.8.17 ~1.4.14 ~11.2.4
1.9.0-alpha ~1.4.14 ~12.2.0
1.9.0-alpha.1 ~1.4.14 ~13.5.0
1.9.0-alpha.2 ~1.4.14 ~13.5.0
1.9.0-alpha.3 ~1.4.14 ~13.5.0
1.9.0-alpha.4 ~1.4.15 ~14.5.1
1.9.0-alpha.5 ~1.6.2 ~15.1.1
1.9.0-beta ~1.6.2 ~15.4.2
1.9.0-beta.1 ~1.6.2 ~15.5.1
1.9.0-rc ~1.6.2 ~15.6.2
1.9.0-rc.1 ~1.6.2 ~15.6.2
1.9.0-rc.2 ~1.6.2 ~16.0.1
1.9.0-rc.3 ~1.6.2 ~16.0.1
1.9.0-rc.4 ~1.6.2 ~16.3.0
1.9.0-rc.5 ~1.6.2 ~16.3.0

Note. Electron 1.5.x ~ 1.6.x are running on upgraded versions of Chrome and Node and may have some instability. See electron-v1.5.0 for details.

cncjs - v1.9.0-rc.5

Published by cheton over 7 years ago

  • Drops [email protected] because UglifyJS doesn't support ES2015 syntax (f2c118e8a88953c7e17a7f591a92b38cd8f81b6c)
  • Checks serialport connection before sending periodical commands (e51a9fb1a19379d2cdbdc28f9d8d5aa9e0f9d38f)
cncjs - v1.9.0-rc.4 (broken)

Published by cheton over 7 years ago

Broken

Bug Fixes & Improvements

  • Adds sanity checks for workspace settings (a81e984b294a0094cc3133e82847fc22b23e191b, #150, #151)
  • Resolves a deprecation warning: Calling an asynchronous function without callback is deprecated (6804c951b4da6b749af9f0e7b88e226732fad66c, #150, #151)
cncjs - v1.9.0-rc.3

Published by cheton over 7 years ago

This update contains a critical bug fix for 1.9.0-rc, 1.9.0-rc.1, and 1.9.0-rc.2

Bug Fixes

  • Fixed an issue that caused RegExp exceptions on Node.js v4 and earlier versions (7e10f4b5a43d4e9cde7880e7ea8086ac2964866b, #146, #150, #151)
cncjs - v1.9.0-rc.2 (broken)

Published by cheton over 7 years ago

Broken

  • const re = new RegExp(//, 'g') is not supported on Node.js v4 and earlier versions

Bug Fixes

  • When the apply TLO option is checked, send G49 to cancel TLO before running a G38.x probe command (7913f6ece405cd41b54deee8dff81a35ba65db4a)
  • Fixed a bug that stored the user input array in an array (dd50330c2936811f2630707b4e022e5c98f45e7d)
  • Smoothie: Resolve a Laser Test issue that cannot flush G-code commands in the queue after sending the fire command (99a21c71b08153769d3fb2e3269b9d577da02336, #107)

Improvements

  • Display workspace settings (6cf1d277f0f858e632157de4b815fefca16afef6, #48)
  • Don't send G-code commands in Alarm mode (7f40218bb0ba5934a6741e966c326c92d3a6e91b)
  • Preview commands before running Z probe (2df1d81a9300e41b14ea05cfe4dc7dabf7b9d5fe, #147)
  • Update Z-Probe commands for setting tool length offset (3980a8f9e9a3bee5317504207a3f15144931b028, #147)
  • Adds context support (6072ac59e85a06ba944fdc61d9f0aa55605d92c5, 3143c551489e28b6b47aa62afe4630ee41c1e1f2)
  • Adds an error code for laser mode when VARIABLE_SPINDLE is disabled (f3e02981de139d4f11ff5d883a81f47c09253b3a)

Screenshots

  • Z-Probe Preview
    image
  • Workspace Settings
    image
Package Rankings
Top 8.17% on Proxy.golang.org
Top 3.97% on Npmjs.org
Badges
Extracted from project README
Backers on Open Collective Sponsors on Open Collective Travis CI Build Status AppVeyor Build status Coverage Status NPM Donate