View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0033064||Community||OCCT:Modeling Algorithms||public||2022-07-12 13:44||2022-10-10 16:34|
|Summary||0033064: BRepAlgoAPI_Common fails to find common shape|
|Description||In some cases, BRepAlgoAPI_Common silently fails to compute the common shape between two overlapping shapes. One such pair of quite simple shapes are attached here in BREP format. However, both of the shapes appear to be valid (verified with BRepCheckAnalyzer and in FreeCAD), so the expected behaviour would be the intersection of the two shapes.|
|Steps To Reproduce||Use BRepAlgoAPI_Common on the two shapes. For convenience, a small C++ program which reads the two shapes and writes out their intersection as a BREP file is attached. The following commands can be used to easily compile the program, run it and list the contents of the generated BREP file:|
g++ occt-common.cpp -I/usr/local/include/opencascade -o occt-common -lTKernel -lTKTopAlgo -lTKBRep -lTKMath -lTKBO
Make sure to put the files occt-common.cpp, first.brep and second.brep in the same directory.
|Tags||No tags attached.|
|Test case number|
The files did not appear at first, so here they are re-uploaded.
occt-common.cpp (935 bytes)
second.brep (30,944 bytes)
first.brep (58,680 bytes)
||After further investigation, it appears that this is caused by the coplanarity of some faces of the two shapes. A workaround could be to slightly displace one of the coplanar faces along its normal, however it would be ideal if this was fixed upstream.|
Reminder sent to: msv
Some time ago this bug was assigned by you to azv, but that azv longer exists in this system, so I assigned the bug back to you. However, it appears that nothing has happened in the last two months, so I just wanted to check if there's anything I can do to speed up the process of resolving this?
@festive-shrimp, this ticket has low priority. You have the following ways to speed up:
1. Propose your own patch.
2. Prioritize the ticket buying the support contract. For that please contact sales representatives using contact form on www.opencascade.com.
|2022-07-12 13:44||festive-shrimp||New Issue|
|2022-07-12 13:44||festive-shrimp||Assigned To||=> msv|
|2022-07-12 13:46||festive-shrimp||Note Added: 0109777|
|2022-07-12 13:46||festive-shrimp||File Added: occt-common.cpp|
|2022-07-12 13:46||festive-shrimp||File Added: second.brep|
|2022-07-12 13:46||festive-shrimp||File Added: first.brep|
|2022-07-12 14:21||msv||Assigned To||msv => azv|
|2022-08-08 11:15||festive-shrimp||Note Added: 0110145|
|2022-08-15 13:38||festive-shrimp||Assigned To||azv => msv|
|2022-10-10 15:50||festive-shrimp||Note Added: 0111458|
|2022-10-10 16:34||msv||Note Added: 0111461|