-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test and enable GRBL cnc implementation #171
Comments
I've started testing the CNC features of Krux from odudex's release of v23.04.beta11 I am currently doing some testing with UGS and will update over the next few days with any other issues or bugs that arise when I start milling via MicroSD card and offline controller (no PC used going from Krux -> airgapped CNC)
|
Awesome! Glad to see someone finally try this out :) For the record, there are two CNC "printers" here: one that writes the gcode to a microSD and another that streams the instructions to a GRBL controller. The latter is what I was not able to test and am curious how it works. Because I couldn't test it, I commented it out. It would need to be uncommented first and a new build created so you could select this option. Could @odudex do this for testing purposes? 2: 👍 I think it should use the same file browser logic as we use for signed PSBTs being saved to microSD. 3: Agree that this would be useful. Can you open a new discussion about this feature specifically? There's probably a lot to hash out here about how this could be done, and what all should be customizable. Also need to keep in mind that the CNC "printer" operates on the same interface as the thermal printer. The original intention behind this was that a "Printer" would have a common set of things that could be printed out (just QR codes to start), and each implementation of printer would output them in their own way. 4: 👍 I think this should be an option when viewing your multisig to print the backup in textual, wallet descriptor form (rather than as a QR code), and use the CNC printer method if selected. |
@jreesun I thought I would share here first my CNC test, this was a new mnemonic generated by camera entropy, saved to gcode as a plain text QR on MicroSD then milled with the offline controller. The only modification I made the the Krux Settings/Printer/CNC was to change the work size to 2" from the default 3.5". On the offline controller I manually jogged the XY axis, set zero approx 1" from the lower left corner of the workpiece, the Z just above, and had to manually start the spindle motor with the offline controller (as Krux's gcode does not start or stop the spindle). I then loaded the qr.nc file from Krux's MicroSD, and ran the milling operation. I was using a non fluted vbit that was included with my CNC and a piece of MDF. I used my shopvac to remove the sawdust before taking these photos. Impressions :
Thank you for your design, vision and stewardship over Krux, and I hope for many more years to come. |
We need a brave person with a CNC machine (powered by a GRBL controller) who would be willing to test the
GRBLPrinter
implementation here:https://github.com/selfcustody/krux/blob/develop/src/krux/printers/cnc.py#L326-L376
It uses the same underlying
GCodeGenerator
base class that theFilePrinter
uses (which we know to operate correctly); it's just a matter of confirming that the GRBL-specific serial communication logic functions as expected--or not, in which case changes to make it function correctly would be greatly appreciated!The text was updated successfully, but these errors were encountered: