-
-
Notifications
You must be signed in to change notification settings - Fork 810
Description
Description
Dear devs,
I am a happy user of UGS for years now but when I upgraded from 2.1.12 to 2.1.18 I ran into a problem that is a show-stopper for me.
In one of the releases between 2.1.12 and 2.1.18 the decision was made that autoleveler scan data should not be applied outside the scanned area. I understand, and agree to some extent, that this is for safety reasons. From a mathematical point of view this is not needed as long as the distance is small compared to the grid spacing. The bilinear interpolation works just fine for extrapolation. The routine that finds the closest grid points clamps it to the limits of the array already.
However, this excludes completely the use case of chamfering a workpiece that has already the final dimensions. I can only scan the surface close to the edges. Chamfering means the tools is moving just outside that scan-able surface. This makes Chamfering impossible now.
I have looked into the source code and I have found the explicit exclusion of coordinates outside the surface scan. I attempted to fix and compile the source for my own use but I am not willing to fix the dependency hell that is caused by requiring specific Java versions etc.
I have now written a script that extrapolates the surface data. (Side remark: I noticed that a constant grid spacing is required that is implied from the spacing of the bottom left four points. Still, the grid data is written with XY coordinates. From a numerical point of view this redundancy is very dangerous! You should either use XY coordinates or define a spacing in the header, not both)
I would like to see the use of extrapolated surface data coming back to UGS. Yes, enabling it could be hidden in "expert settings" and behind a lot of "This could be dangerous!" warnings. But currently I cannot use UGS for a rather standard CNC use case without external processing of the surface data. And that's a pity.
Thanks for listening/reading,
Eric