View Issue Details

IDProjectCategoryView StatusLast Update
0033174CommunityOCCT:Modeling Algorithmspublic2023-01-17 03:35
Reporterfestive-shrimp Assigned Tobugmaster  
PrioritynormalSeveritymajor 
Status closedResolutionduplicate 
PlatformLinuxOSUbuntu 20.04 
Product Version7.6.3 
Summary0033174: Regression in BRepExtrema_DistShapeShape causing Standard_OutOfRange exception
DescriptionBRepExtrema_DistShapeShape throws a 'Standard_OutOfRange' exception when given two particular wires in OCCT 7.6.3, while the same code works perfectly well in OCCT 7.5.3.
Steps To ReproduceDownload the attached program and two BREPs, put them in the same folder and compile and run the attached program, first linking to OCCT 7.5.3, then to OCCT 7.6.3. Observe the changing behaviour. One can for example use the following command to compile and run:
g++ dss-error.cpp -I/usr/local/include/opencascade -o dss-error -lTKernel -lTKTopAlgo -lTKBRep -lTKMath && ./dss-error
Additional information
and documentation updates
The attached program gives the following output when I install different versions of OpenCASCADE:

OCCT 7.5.3:
festive@shrimp:~$ g++ dss-error.cpp -I/usr/local/include/opencascade -o dss-error -lTKernel -lTKTopAlgo -lTKBRep -lTKMath && ./dss-error
Found distance 7.04911e-07

OCCT 7.6.3:
festive@shrimp:~$ g++ dss-error.cpp -I/usr/local/include/opencascade -o dss-error -lTKernel -lTKTopAlgo -lTKBRep -lTKMath && ./dss-error
terminate called after throwing an instance of 'Standard_OutOfRange'
Aborted
TagsNo tags attached.
Test case number

Attached Files

  • dssfail1.brep (5,906 bytes)
  • dssfail2.brep (6,873 bytes)
  • dss-error.cpp (639 bytes)

Relationships

duplicate of 0033173 verifiedifv Modeling Algorithms - Regression in BRepExtrema_DistShapeShape causing Standard_OutOfRange exception 

Activities

festive-shrimp

2022-10-14 16:08

reporter  

dssfail1.brep (5,906 bytes)
dssfail2.brep (6,873 bytes)
dss-error.cpp (639 bytes)

festive-shrimp

2022-10-14 16:13

reporter   ~0111581

Accidentally submitted this report twice (other report is 0033173), since the first submission resulted in "APPLICATION ERROR #2800", which instructed me to re-enter everything and try again. Apologies for the inconvenience; feel free to close/delete this report.

msv

2022-10-14 16:55

developer   ~0111583

Please close this bug.

vglukhik

2023-01-17 03:35

administrator   ~0112860

Closed. Duplicate 0033173

Issue History

Date Modified Username Field Change
2022-10-14 16:08 festive-shrimp New Issue
2022-10-14 16:08 festive-shrimp Assigned To => msv
2022-10-14 16:08 festive-shrimp File Added: dssfail1.brep
2022-10-14 16:08 festive-shrimp File Added: dssfail2.brep
2022-10-14 16:08 festive-shrimp File Added: dss-error.cpp
2022-10-14 16:13 festive-shrimp Note Added: 0111581
2022-10-14 16:55 msv Assigned To msv => bugmaster
2022-10-14 16:55 msv Status new => feedback
2022-10-14 16:55 msv Note Added: 0111583
2022-10-14 16:55 msv Relationship added duplicate of 0033173
2023-01-17 03:35 vglukhik Status feedback => closed
2023-01-17 03:35 vglukhik Resolution open => duplicate
2023-01-17 03:35 vglukhik Note Added: 0112860