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

Cannot access focus property in LaserScript #212

Open
TheAssassin opened this issue Mar 5, 2024 · 1 comment
Open

Cannot access focus property in LaserScript #212

TheAssassin opened this issue Mar 5, 2024 · 1 comment

Comments

@TheAssassin
Copy link
Contributor

When using get("focus"); in a LaserScript file, an empty string (or some other broken value) is returned. Only when you set("focus", ...) before, a value will be returned.

I want to use the user-specified (negative) focus adjustment for a specific material configured within VisiCut for a cut test to receive realistic values. Before that, I want to perform a focus test, so I need to change the focus to 0 (device focus is on the material surface).

My current workaround is to prompt the user for the material thickness from the script, causing an annoying message before the job is sent to the device.

@TheAssassin
Copy link
Contributor Author

Turns out not even a single property is ever provided to script users initially. This is quite unintuitive. If a cut profile is selected, for instance, the focus (offset), the chosen power and speed values would be really, really useful to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant