Skip to content

@cheton cheton released this Mar 29, 2020

Bug Fixes

  • Jog not working on Marlin (PR #583, closes #581)

Features

  • Add support for displaying server mount points on the desktop app (PR #574)

    • To mount a remote endpoint for the desktop app, you have to open the Properties dialog and add command-line arguments on the Target field.

      image

      Mount https://cncjs.github.io/cncjs-pendant-tinyweb/src/ as /tinyweb:

      "C:\Users\My Account\AppData\Local\Programs\cncjs-app\CNCjs.exe" --mount /tinyweb:https://cncjs.github.io/cncjs-pendant-tinyweb/src/ 
      

      Mount https://cncjs.github.io/cncjs-shopfloor-tablet/src/ as /tablet:

      "C:\Users\My Account\AppData\Local\Programs\cncjs-app\CNCjs.exe" --mount /tablet:https://cncjs.github.io/cncjs-shopfloor-tablet/src/
      
    • Re-open the desktop app, you will see the mount points under the View menu:

      image

Assets 13

@cheton cheton released this Mar 7, 2020

For those that are currently using Node.js 4 or Node.js 6, we recommend upgrading to Node.js 10 for this release.

Bug Fixes

  • Marlin: Fixes incorrect unit conversion for the digital readout (DRO) (PR #498, closes #318)
  • Fixes backslash in mount route under Windows (PR #552, closes #551)
  • Resolves an issue where Grbl controller cannot recognize certain startup message (PR #573)

Improvements

  • Marlin: Improves startup synchronization (PR #464 #473, closes #312)

Features

  • Smoothie: Supports new status format (PR #468, closes #463)
  • Adds meta address support for specifying the hostname of an IP camera URL (PR #478, closes #471)
    • http://0.0.0.0:8080/?action=stream will map the meta address 0.0.0.0 to window.location.hostname. For example, if window.location.hostname is 192.168.1.1:
      • http://0.0.0.0:8000/ will be changed to http://192.168.1.1:8000/
      • https://0.0.0.0:8000/ will be changed to https://192.168.1.1:8000/
      • //0.0.0.0:8000/ will be changed to //192.168.1.1:8000/
  • Handles X Y and Z axes in Probe widget (PR #488, closes #290)
Assets 13

@cheton cheton released this Apr 21, 2019

Improvements

  • [g2core] Resolves an issue that spindle will restart after stopping program execution (PR #451, closes #428)
  • Adds a "Ready to start" event that is triggered when the controller is ready to start (PR #460, resolves #437)
  • Adds support for specifying mount points in the .cncrc file (PR #461, closes #459)
    {
      "mountPoints": [
        {
          "route": "/widget",
          "target": "https://cncjs.github.io/cncjs-widget-boilerplate/v1/"
        }
      ]
    }

Bug Fixes

  • Fixes an issue that dropdown menu gets clipped by container with overflow:hidden property (PR #450, closes #445)
  • [Marlin] Fixes an issue that Marlin controller can sometimes hang at startup (PR #449, closes #312)
  • [Marlin] Fixes a bug that caused slow G-code processing (PR #462, resolves #454)
Assets 11

@cheton cheton released this Apr 3, 2019

Features

  • Preliminary support for machine profiles (PR #426, closes #325)
    image

    To configure machine profiles, go to Settings > Machine Profiles.
    image

    After that, choose a machine profile in the 3D visualizer.
    image

    You can toggle limits on the dropdown menu.
    image

Improvements

  • Improves tool change support (PR #436, #438, #439)

    You can output active tool number with [tool] in the inline comment:

    (activeTool=[tool])

    The inline comment will be displayed on the console that allows you to trace the result:

    feeder> (activeTool=0)
  • Supports accessing global objects and declaring global variables in macros (PR #442, #443, resolves #437)

    %global.startTime = Date.now()
    %global.activeTool = Number(tool) || 0
    %global.state.cx = (xmax + xmin) / 2
    %global.state.cy = (ymax + ymin) / 2
    %global.state.cz = (zmax + zmin) / 2
    %global.state.dx = Math.abs(xmax - xmin) || 0
    %global.state.dy = Math.abs(ymax - ymin) || 0
    (global=[JSON.stringify(global)])

    will output

    feeder> (global={"startTime":1554289507673,"activeTool":0,"state":{"cx":0,"cy":0,"cz":0,"dx":0,"dy":0}})
Assets 11

@cheton cheton released this Mar 15, 2019

Improvements

  • Remove tooltip from custom buttons (86ffebf, #401, PR #421)
  • Display G-code file name above the footer area (ff87053, #390, PR #422)
  • [Electron][View Menu] Change "Home" to "View In Browser" (9fcddca)
  • Update package dependencies (43e2b78, bfc8453 for Electron 4.0)
    • electron@~4.1.0
    • electron-builder@~20.39.0
    • electron-rebuild@~1.8.4
    • socket.io@~2.2.0
    • socket.io-client@~2.2.0
Assets 11

@cheton cheton released this Mar 7, 2019

CNCjs 1.9.16 drops support for Node.js 4. This update also includes bug fixes and improvements.

Breaking Change

  • Dropping support for Node.js 4 (7e44d5d)

Improvements

  • Improve rendering performance by reducing redundant vertices from the geometry object (f7c076e, PR #363)
  • Update package dependencies, improve code readability, and upgrade to Webpack 4 (a37913a, PR #364)
  • Unit Test Improvement (3a18c88, PR #353)
  • Jog distance improvements (0580583, #327, #354, PR #370)
  • Restart docker container itself instead of managing processes inside the container (3f6766d, #371)

Bug Fixes

  • [g2core] Resolve an issue that firmware build 101.xx cannot recognize spindle enable ({spe:n}) and spindle direction ({spd:n}) commands (424743c, #338, PR #351)
  • Fixed a bug that a line started with % may not be a JavaScript expression (125f782, PR #350)
  • Addresses an issue that cannot create session files on a read-only file system (f2f8acb, #319, #320, #347, PR #348)
  • Fixed a bug that cannot specify Marlin as the default controller (8d50534, #360, PR #361)
  • Fixed a deprecation issue that srcObject should be used for a MediaStream object (8f817cd, #412, PR #414)
  • Fix a bug that Axes widget does not remember configured axes (0d8af3c, #416, PR #417)
Assets 11
Pre-release

@cheton cheton released this Mar 6, 2018

Improvements

  • Support for 4/5/6 axis motion control and some bug fixes (7cc9bd0, #276, #280, #283, #287)
  • Support multiple 3D view: top view, isometric view, front view, and side view (65019b4)
  • Update 3D view buttons (da88d70)

Translations

Assets 11

@cheton cheton released this Feb 10, 2018

Improvements

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

Bug Fixes

  • Fixed a pagination issue that caused macros and MDI commands not able to display more than 10 records (39f55f1, #270)
  • Fixed a warning that each child in an array should have a unique "key" prop (6239f7d)
Assets 11