View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028274 | Community | OCCT:Modeling Algorithms | public | 2016-12-23 17:53 | 2023-08-01 15:08 |
Reporter | Istvan Csanady | Assigned To | |||
Priority | normal | Severity | major | ||
Status | new | Resolution | open | ||
Platform | Mac | OS | OS | ||
Target Version | Unscheduled | ||||
Summary | 0028274: BOPAlgo_MakerVolume fails to create solid | ||||
Description | BOPAlgo_MakerVolume fails to create solid from the attached faces. | ||||
Steps To Reproduce | restore tmp.brep a bnondestructive 1 eval mkvolume r [explode a f] nbshapes r | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_7 bug28274 | ||||
|
tmp.brep (22,450 bytes) |
|
If SetNonDestructive is set to false it does not fail. |
2016-12-23 18:10 developer |
solids.PNG (11,631 bytes) |
|
I have obtained 3 solids (see the picture) without setting any flags. What is wrong in your case? |
|
If I set the SetNonDestructive flag to true, it returns an empty compound. |
|
BOPAlgo_MakerVolume volumeMaker; volumeMaker.SetArguments(facesList); volumeMaker.SetRunParallel(true); volumeMaker.SetNonDestructive(true); volumeMaker.SetAvoidInternalShapes(false); |
|
With setting these options, I obtain the same 3 solids. However checkshape complains about IntersectingWires.Draw[111]> checksh r On Shape faulty_1 : BRepCheck_InvalidPolygonOnTriangulation On Shape faulty_2 : BRepCheck_InvalidPolygonOnTriangulation On Shape faulty_3 : BRepCheck_IntersectingWires Faulty shapes in variables faulty_1 to faulty_3 With non-destructive=false, only 2 first faulties occur. |
|
Interesting, I tried it with and without fuzzy, and got the same results. |
|
I test on Windows compiled with VC12 in release mode. |
|
If I copy the shape before performing the operation, it will work fine. |
|
splines.brep (26,329 bytes) |
|
I have the same issue with the new attached file, but in this case the result does not depend on non-destructive mode or on fuzzy, it always fails (debug and release mode). |
|
The case with splines.brep needs additional investigation. |
|
Would more test data be useful? I find that in similar cases VolumeMaker is not very robust, and I can easily create similar cases where it fails. |
|
exception (17,589 bytes) |
|
Exception.brep fails because one of the face-face intersections throws an exception. |
|
broken_solids.brep (14,651 bytes) |
|
Applying MakeVolume on broken_solids.brep leads to invalid shapes. |
|
I have successfully reproduced the issue with similar geometries that I converted to NURBS geometry. This means that the problem can be related to periodic and/or closed surfaces. |
|
only_one_solid.brep (9,178 bytes) |
|
Another similar issue: only_one_solid.brep generates a only one solid, instead of two. |
|
Problem described in issue is reproduced on current state of OCCT. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-23 17:53 | Istvan Csanady | New Issue | |
2016-12-23 17:53 | Istvan Csanady | Assigned To | => msv |
2016-12-23 17:53 | Istvan Csanady | File Added: tmp.brep | |
2016-12-23 18:06 | Istvan Csanady | Note Added: 0062078 | |
2016-12-23 18:10 |
|
File Added: solids.PNG | |
2016-12-23 18:11 |
|
Note Added: 0062079 | |
2016-12-23 18:12 | Istvan Csanady | Note Added: 0062080 | |
2016-12-23 18:14 | Istvan Csanady | Note Added: 0062081 | |
2016-12-23 18:21 |
|
Note Added: 0062082 | |
2016-12-23 18:22 | Istvan Csanady | Note Added: 0062083 | |
2016-12-23 18:24 |
|
Note Added: 0062084 | |
2016-12-23 18:24 |
|
Steps to Reproduce Updated | |
2016-12-23 18:25 | Istvan Csanady | Note Added: 0062085 | |
2016-12-23 18:26 |
|
Steps to Reproduce Updated | |
2016-12-28 19:15 | Istvan Csanady | File Added: splines.brep | |
2016-12-28 19:16 | Istvan Csanady | Note Added: 0062272 | |
2016-12-29 18:07 |
|
Note Added: 0062331 | |
2016-12-29 19:12 | Istvan Csanady | Note Added: 0062334 | |
2016-12-29 20:43 | Istvan Csanady | File Added: exception | |
2016-12-29 20:43 | Istvan Csanady | Note Added: 0062336 | |
2016-12-30 01:25 | Istvan Csanady | File Added: broken_solids.brep | |
2016-12-30 01:26 | Istvan Csanady | Note Added: 0062347 | |
2016-12-30 01:38 | Istvan Csanady | Note Added: 0062348 | |
2017-01-01 17:43 | Istvan Csanady | File Added: only_one_solid.brep | |
2017-01-01 17:43 | Istvan Csanady | Note Added: 0062383 | |
2017-07-21 11:22 |
|
Target Version | 7.2.0 => 7.3.0 |
2017-08-28 15:14 |
|
Test case number | => bugs modalg_7 bug28274 |
2017-08-28 15:14 |
|
Note Added: 0069985 | |
2017-12-05 16:59 |
|
Target Version | 7.3.0 => 7.4.0 |
2019-08-12 16:43 |
|
Target Version | 7.4.0 => 7.5.0 |
2020-09-14 22:56 |
|
Target Version | 7.5.0 => 7.6.0 |
2021-08-29 18:52 |
|
Target Version | 7.6.0 => 7.7.0 |
2022-10-24 10:42 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |