View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031961 | Community | OCCT:Modeling Algorithms | public | 2020-11-25 16:05 | 2020-12-11 12:12 |
Reporter | Vladyslav Smorodskyi | Assigned To | bugmaster | ||
Priority | normal | Severity | major | ||
Status | closed | Resolution | no change required | ||
Platform | Windows | OS | Windows | ||
Product Version | 7.5.0 | ||||
Summary | 0031961: Invalid bounding box produced for Face when triangulation is disabled | ||||
Description | Bounding box calculation algorithm for faces produces wrong results when triangulation is turned off. Notice that in attached picture bounding box that uses triangulation is valid(Yellow), but one without triangulation is invalid(Blue). Tested in OCCT 7.3.0 and 7.5.0 | ||||
Steps To Reproduce | Use attached file and execute next DRAW code restore face.brep a vdisplay a bounding a -shape b1 vdisplay b1 bounding a -shape b2 -notriangulation vdisplay b2 vfit | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
face.brep (11,806 bytes) |
|
bbox_dump.png (4,998 bytes) |
|
It is not a bug. Bounding box is not necessary close to the object. This box is computed on the poles of b-spline surface, in order to be computed very quick. If you want to compute the tight box then you need to use -optimal option. |
|
Thanks for pointing at optimal flag. At first glance BRepBndLib::Add seems same as BRepBndLib::AddOptimal, especially when triangulation is turned off, this adds a bit of confusion. Issue can be closed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-25 16:05 | Vladyslav Smorodskyi | New Issue | |
2020-11-25 16:05 | Vladyslav Smorodskyi | Assigned To | => msv |
2020-11-25 16:05 | Vladyslav Smorodskyi | File Added: face.brep | |
2020-11-25 16:05 | Vladyslav Smorodskyi | File Added: bbox_dump.png | |
2020-11-25 16:32 |
|
Note Added: 0097074 | |
2020-11-25 16:32 |
|
Assigned To | msv => Vladyslav Smorodskyi |
2020-11-25 16:32 |
|
Status | new => feedback |
2020-11-25 20:52 | Vladyslav Smorodskyi | Note Added: 0097078 | |
2020-11-25 20:52 | Vladyslav Smorodskyi | Assigned To | Vladyslav Smorodskyi => msv |
2020-11-25 23:16 |
|
Assigned To | msv => bugmaster |
2020-11-25 23:16 |
|
Resolution | open => no change required |
2020-12-11 12:12 | bugmaster | Status | feedback => closed |