https://github.com/Snapmaker/Snapmaker2-Controller/commit/12c89a8ee99a712360e08004cfa645c3bc27a841
Was an attempt to fix the firmware to work with inline power settings and the 10W laser. However, the code was misread and the commit was made which changes the way that the machine expects to get inline power commands.
This script should fix the output file from lightburn to allow for it to run on SnapMaker machines which are running the firmware with the mistaken change.
Much of the "code" here is based on the Send to Snapmaker 2.0 via Wifi developed on the forums.
- Download the folder by going to "Code" > "Download ZIP"
- Extract the contents to a folder
- Move the folder to
C:\Tools\(so you should have aFix Lightburn for Snapmaker 2.0folder in yourC:\Tools\directory) - Right click on
_Add Context Menu.bat, choose "Run as administrator", and agree to the prompt
- Right click on a
.nc(e.g. "myFile.nc") file and choose "Fix Lightburn file for Snapmaker 2.0" - A "myFile - fixed.nc" will be created in the directory
- Drag and drop a
.nc(e.g. "myFile.nc") file ontofix_nc.bat - A "myFile - fixed.nc" will be created in the directory
- Right click on
_Delete Context Menu.bat, choose "Run as administrator", and agree to the prompt
- Download the folder by going to "Code" > "Download ZIP"
- Extract the contents to a folder
- Pass a file to
fix_nc.sh, e.g../fix_nc.sh myFile.nc - A "myFile - fixed.nc" will be created in the directory
- Download the folder by going to "Code" > "Download ZIP"
- Extract the contents to a folder
- Pass a file to
fix_nc_mac.sh, e.g../fix_nc_mac.sh myFile.nc - A "myFile - fixed.nc" will be created in the directory
If someone wants to go and make an automator script to allow right click fix on mac, I'm happy to accept pull requests.