dune3d / dune3d

3D CAD application
https://dune3d.org
GNU General Public License v3.0
825 stars 24 forks source link

Fillet fails on specific edges for unknown reasons #82

Open viernullvier opened 2 months ago

viernullvier commented 2 months ago

Steps to reproduce

Note: This is still WIP, I've encountered this problem on two nontrivial models but haven't created a minimal example yet.

Expected behaviour

Actual behaviour

Example

Here's the first model in which I could reproduce the problem reliably. Each of the eight notches should have the same fillet applied, but one of them fails reliably.

Source document: oscoin.d3ddoc.json

Screenshot - the one on the bottom is the problematic one and has been left out:

Screenshot 2024-03-10 at 12 02 37

Screenshot - with the problematic edge added:

Screenshot 2024-03-10 at 12 02 52
viernullvier commented 2 months ago

Minor update on the document I uploaded above: It appears that the fillet will only fail if the offending notch is exactly aligned with the YZ plane. Displacing the polar array a tiny bit or rotating all notches to keep them from intersecting the planes will get rid of this issue, which makes it even weirder.