Skip to content
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

Laser Controls Persistent #4

Closed
barnold96 opened this issue Sep 10, 2019 · 4 comments
Closed

Laser Controls Persistent #4

barnold96 opened this issue Sep 10, 2019 · 4 comments
Assignees
Labels
bug Something isn't working cannot reproduce help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@barnold96
Copy link

I've used Octoprint for several years on my 3D printer and was excited to see that someone finally created a plug-in to allow its use on a laser engraver and CNC. I got my laser going just fine and it seems to operate as it should.

The issue I have arose when I started setting up an SD card for my CNC. The laser controls stay regardless of how I try to manipulate the settings. Under the 'Hide the Octoprint Control tab', there's a block to check, 'Add Laser Controls and State to Control tab'. Regardless of how I check the blocks, the laser settings on the GRBL Control page are there. For CNC operation, they need to go away or be replaced with something related to CNC operation.

Thanks!

@synman synman added enhancement New feature or request help wanted Extra attention is needed labels Sep 20, 2019
@synman
Copy link
Owner

synman commented Nov 5, 2019

I believe what you're seeing is something I left in from the original GRBL Plugin.

"Add Laser Controls and State to Control tab" actually adds the following to the OOB control tab. It is kinda hokey but I thought it was worth leaving in, at the least to pay homage to the original concept:

self.customControlsJson = r'[{"layout": "horizontal", "children": [{"commands": ["$10=0", "G28.1", "G92 X0 Y0 Z0"], "name": "Set Origin", "confirm": null}, {"command": "M999", "name": "Reset", "confirm": null}, {"commands": ["G1 F4000 S0", "M5", "$SLP"], "name": "Sleep", "confirm": null}, {"command": "$X", "name": "Unlock", "confirm": null}, {"commands": ["$32=0", "M4 S1"], "name": "Weak Laser", "confirm": null}, {"commands": ["$32=1", "M5"], "name": "Laser Off", "confirm": null}], "name": "Laser Commands"}, {"layout": "vertical", "type": "section", "children": [{"regex": "<([^,]+)[,|][WM]Pos:([+\\-\\d.]+,[+\\-\\d.]+,[+\\-\\d.]+)", "name": "State", "default": "", "template": "State: {0} - Position: {1}", "type": "feedback"}, {"regex": "F([\\d.]+) S([\\d.]+)", "name": "GCode State", "default": "", "template": "Speed: {0} Power: {1}", "type": "feedback"}], "name": "Realtime State"}]'

@synman synman added the good first issue Good for newcomers label Jan 21, 2021
@synman
Copy link
Owner

synman commented Dec 13, 2021

I suspect there is more to this issue. Reorganizing labels

@synman synman added bug Something isn't working cannot reproduce question Further information is requested and removed enhancement New feature or request good first issue Good for newcomers labels Dec 13, 2021
@synman
Copy link
Owner

synman commented Dec 13, 2021

I wonder if it is tied to #19

@synman synman added this to the v1.7.6 milestone Dec 17, 2021
@synman synman self-assigned this Dec 17, 2021
@synman
Copy link
Owner

synman commented Dec 19, 2021

closing this given work done with 1.7.6. I am creating a new milestone tonight (1.8.0) which will include bonified CNC support now that I have a CNC machine to play with too.

@synman synman closed this as completed Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot reproduce help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants