View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027221 | Community | OCCT:Modeling Algorithms | public | 2016-03-03 11:13 | 2017-09-29 16:31 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | major | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.7.1 | ||||
Target Version | 7.2.0 | Fixed in Version | 7.2.0 | ||
Summary | 0027221: Regression vs. 6.7.0: bcut fails without notice | ||||
Description | The problem is reported on http://dev.opencascade.org/index.php?q=node/1150 OCCT 6.7.1 and later (including current master) fails to make a cut of two solids without giving any error message (produced result is geometrically equivalent to original solid). | ||||
Steps To Reproduce | Test case for this issue has been created in frame of the fix for issue 0027252. pload MODELING restore [locate_data_file bug27221.brep] a explode a mkplane f a_2 prism p f -25 0 0 bcut result a_1 p donly result a_2 checkprops result -v 56860.2 -s 72076 | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_6 bug27221 | ||||
2016-03-03 11:14 manager |
bug27221.brep (22,399 bytes) |
|
The newer versions of OCCT do not find intersection curve between a pair of faces (see script below). Without this intersection Boolean operation cannot work right. restore bug27221.brep a explode a mkplane f a_2 prism p f -25 0 0 explode a_1 f explode p f don a_1_7 p_3 bopcurves a_1_7 p_3 |
|
Intersection curve is found. It is an ellipse (cylinder-plane intersection) and seems to be valid. However, it is rejected by post-processing of Boolean algorithm in GeomInt_LineConstructor::TreatCircle(...) method. Most likely, the reason is in putting incorrect vertexes (IntPatch_Points) to the intersection curve. In OCCT 6.7.0 version the result seems to be valid. In OCCT 6.7.1 and higher (including current MASTER) result of "bopcurves" command is empty. |
|
IntPatch_Points are found in IntPatch_ImpImpIntersection::Perform(...) (solrst.Perform(...)) as intersection point between surface (in this case, cylinder) domain and quadric (plane). In fact, domain is 2d-representation of surface boundaries. In other words, there are some points in surface boundary, which are in quadric with given tolerance (3.0e-7). However, the distance between it and intersection line (ellipse) is greater than tolerance. Therefore, this point is rejected. Possible reason is that the distance between the point and the curve computes wrong (with big error - see issue 0027252). If it is not other reasons of described behavior are possible. |
|
Dear Mikhail, Fix in branch CR27252 solves this problem completely. Please review. |
|
Dear bugmaster, please check and close this bug after resolving 0027252. |
|
Dear Andrey, This bug is fixed in frame of the issue 0027252 (branch CR27252_4). Please see the message 0027252:0062944. |
|
Testing cases: http://occt-tests/CR27252_4-CR27252prod-OCCT/Debian70-64/bugs/modalg_6/bug27221.html http://occt-tests/CR27252_4-CR27252prod-OCCT/Windows-64-VC10/bugs/modalg_6/bug27221.html bugs modalg_6 bug27221: OK |
|
TESTED. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-03 11:13 |
|
New Issue | |
2016-03-03 11:13 |
|
Assigned To | => msv |
2016-03-03 11:14 |
|
File Added: bug27221.brep | |
2016-03-03 11:20 |
|
Status | new => assigned |
2016-03-03 11:20 |
|
Steps to Reproduce Updated | |
2016-03-03 11:44 |
|
Assigned To | msv => emv |
2016-03-03 12:14 |
|
Note Added: 0051346 | |
2016-03-03 12:14 |
|
Assigned To | emv => nbv |
2016-03-03 12:57 |
|
Note Added: 0051350 | |
2016-03-11 10:34 |
|
Severity | minor => major |
2016-03-11 16:10 |
|
Relationship added | parent of 0027252 |
2016-03-11 17:00 |
|
Note Added: 0051560 | |
2016-04-07 17:54 |
|
Note Added: 0052482 | |
2016-04-07 17:54 |
|
Assigned To | nbv => msv |
2016-04-07 17:54 |
|
Status | assigned => resolved |
2016-04-07 17:54 |
|
Steps to Reproduce Updated | |
2016-04-27 12:11 |
|
Note Added: 0053629 | |
2016-04-27 12:11 |
|
Assigned To | msv => bugmaster |
2016-04-27 12:11 |
|
Status | resolved => feedback |
2016-04-28 10:05 | bugmaster | Assigned To | bugmaster => apn |
2016-08-18 10:14 | bugmaster | Assigned To | apn => apv |
2016-11-18 17:30 |
|
Assigned To | apv => nbv |
2016-11-18 17:30 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-01-24 15:24 |
|
Test case number | => bugs modalg_6 bug27221 |
2017-01-24 17:13 |
|
Note Added: 0062967 | |
2017-01-24 17:14 |
|
Note Edited: 0062967 | |
2017-01-24 17:14 |
|
Assigned To | nbv => abv |
2017-01-24 17:31 |
|
Note Added: 0062971 | |
2017-01-24 17:32 |
|
Note Added: 0062972 | |
2017-01-24 17:32 |
|
Assigned To | abv => bugmaster |
2017-01-24 17:32 |
|
Status | feedback => tested |
2017-01-27 16:17 | apn | Status | tested => verified |
2017-01-27 16:17 | apn | Resolution | open => fixed |
2017-09-29 16:21 |
|
Fixed in Version | => 7.2.0 |
2017-09-29 16:31 |
|
Status | verified => closed |