Fixed with an update - Boolean rounding error

Hi

Edit: I updated from 14.0.0 to 14.0.3 and the issue seems to have gone away. Noob error. Sorry about that!
It was even mentioned in the 14.0.2 release note!

  • [Oz] Increased precision of Boolean operations (was 1/125th of a mm, now 1/4096th of a mm)

I didn’t find a section regarding bugs so I put it here.

I am having issues with rounding errors when using the boolean tool. I have an example below where I have a rectangle 8.9 mm wide and 8.6 mm high. The lower left corner is at x=30.1 mm and y=370 mm.
I am removing a 0.1x0.1 triangle in the lower right corner of it. This changes the width to 8.904 mm and moves the rectangle to the left the same amount.


If I move it so the lower left corner is at x=49.966 it changes the width to 8.896 mm (shrinking it 0.004) and x=49.968 (+ 0.002).


If I instead change to reference from center point at this position then it doesn’t report any changes in position but if I afterwards change to reference from lower left corner I see that it has changed.



Now, I don’t care about this small error in the final output (because it’s so small) but it really hurts the workflow since you don’t know the size of the piece you are working with (since it is grid-sensitive) and you easily propagate the error with the array tool for example. This also makes it hard to reference other parts since the reference might have changed. Now it is annoying because you do a boolean union and there is a small gap between the two parts resulting in a line between them.

I assume that it is a bit-rounding since it always come to 4/1000 of a millimeter but if it was at least consistent to something like 1/100 of a millimeter would be much more tolerable. There is no reason to show three decimals if it doesn’t calculate with that (or better) precision.

Below is the example file I created to show the behaviour.
Boolean_Rounding_Error.lbrn2 (343.1 KB)

A rounding error of .01 is more tolerable than a .004 error? New math?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.