Page 1 of 1

Default Box thickness of section tools

Posted: Fri Nov 21, 2025 8:29 am
by DA523
I propose to set startup default box thickness of section tools to (101)% of object dimension to avoid the case of attached file
if you select mesh then open section tools and do not change any value mesh loses some vertices
but if you select mesh vertices then open section tools and do not change any value no vertices are lost
it is cube 2x2x2

..
Screenshot 2025-11-21 082056.png
Screenshot 2025-11-21 082056.png (95.08 KiB) Viewed 26450 times
..
2x2x2.zip
(8.25 KiB) Downloaded 754 times

Re: Default Box thickness of section tools

Posted: Fri Nov 21, 2025 6:58 pm
by daniel
Yes, it's probably because of the numerical accuracy of the text fields of the 'Box thickness' UI.

I guess adding 1.0e-5 to the b-box extents would do the trick as well.

Re: Default Box thickness of section tools

Posted: Fri Nov 21, 2025 7:32 pm
by DA523
Since precision is the same 2.0000000 and no cut in between mesh vertices a
What about using (keep mesh vertices if =< box ) instead of (keep mesh vertices if < box ) in result mesh

Re: Default Box thickness of section tools

Posted: Fri Nov 21, 2025 9:02 pm
by daniel
Well, the 'cut' is purely visual and done by OpenGL at display time (as OpenGL works also with 32bits floating points precision). So 2.0000000 is in fact something different when represented internally.

Re: Default Box thickness of section tools

Posted: Mon Nov 24, 2025 7:21 am
by daniel
This should now be fixed in the latest 2.14.beta version

Re: Default Box thickness of section tools

Posted: Wed Dec 03, 2025 8:32 pm
by DA523
I checked latest beta (30-nov) and not fixed yet

Re: Default Box thickness of section tools

Posted: Wed Dec 03, 2025 9:23 pm
by daniel
Yes, it seems the commit disappeared somewhere...

Re: Default Box thickness of section tools

Posted: Thu Dec 04, 2025 4:48 pm
by DA523
To explain this issue, It is not about visual cut during display in section tools, but about the result after section
..
1.png
1.png (22.87 KiB) Viewed 21529 times
2.png
2.png (104.43 KiB) Viewed 21529 times
3.png
3.png (12.53 KiB) Viewed 21529 times

Re: Default Box thickness of section tools

Posted: Wed Dec 10, 2025 9:28 pm
by daniel
Well, I guess it's still some numerical accuracy issues... I guess slightly enlarging the box by default will fix that in a way.