View Issue Details

IDProjectCategoryView StatusLast Update
0033576CommunityOCCT:Modeling Datapublic2024-01-18 23:47
Reporterchennes Assigned Tooan  
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformLinuxOSUbuntu 20.04 
Product Version7.7.2 
Target VersionUnscheduled 
Summary0033576: BRepTools_NurbsConvertModification::NewPolygon does not return false when creation fails
DescriptionBeginning 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.
Steps To ReproduceDRAW script:
pload ALL
bsplinecurve bc 2 2 0 3 1 3 0 3 0 1 5 9 0 1 12 4 0 1
mkedge e1 bc
incmesh e1 0.03
nurbsconvert nb e1
checkshape nb

Result using OpenCASCADE 7.6.3:
This shape seems to be valid

Result using 7.7 and later:
On Shape faulty_1 :
BRepCheck_No3DCurve
BRepCheck_CheckFail

Faulty shapes in variables faulty_1 to faulty_1
Additional information
and documentation updates
A possible fix is to add a return Standard_False; instead of ignoring the bad edges.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-01-18 23:44 chennes New Issue
2024-01-18 23:44 chennes Assigned To => oan
2024-01-18 23:47 chennes Description Updated
2024-01-18 23:47 chennes Additional Information Updated