BRepTools_NurbsConvertModification::NewPolygon does not return false when creation fails #366
Labels
0. New
The issue was created, but not updated by maintainer. Waiting for updates labels and categories
2. Bug
Something isn't working
7. FreeCAD
The issue related to FreeCAD project
Description
Beginning in OpenCASCADE v7.7, the method BRepTools_NurbsConvertModification::NewPolygon can fail to create a curve, but return Standard_True anyway. This is FreeCAD bug 9760: https://github.com/FreeCAD/FreeCAD/issues/9760.
Original issue: https://tracker.dev.opencascade.org/view.php?id=33576
A possible fix is to add a return Standard_False; instead of ignoring the bad edges.
Expected Behavior
Marking as invalid shape
Actual Behavior
The shape is valid
Sample Code or DRAW Tcl Script
Operating System
Linux
Compiler
GCC
Bitness
64-bit
OCCT Version
latest
Additional Files
No response
The text was updated successfully, but these errors were encountered: