Open kirevdokimov opened 1 month ago
I am not very good at reviewing, but I did run tests locally, and they passed
@kirevdokimov The changes are straight forward, and probably fix the special case. But I'm wondering if there's another issue with the algorithm, or the union is returning some strange polygons.
im not sure that I'll have time to research further, so I added @platypii to the review.
@z3dev Retesselation works perfectly fine with this one issue. It is not a specific case. There are cases with union, subtract, and anything else that uses retesselation. The only problem with commenting retesselation out from these functions is that some triangles are left in the air.
I will let you know if I find something else, but this issue is obvious, easy to fix, and does not affect anything else badly.
The only problem with commenting retesselation out from these functions is that some triangles are left in the air.
I was suspecting something like this. Hopefully, @platypii will have some time to investigate as the simple design is producing a nice test case.
FYI, the fix looks fine.
The fix seems fine, but I haven't yet been able to reproduce the original error on master? https://github.com/jscad/OpenJSCAD.org/issues/1360#issuecomment-2329728567
All Submissions:
It works smoothly for a sample case from the issue and for my complex real case