You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
When using
get("focus");
in a LaserScript file, an empty string (or some other broken value) is returned. Only when youset("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.
The text was updated successfully, but these errors were encountered: