View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024174 | Community | OCCT:Modeling Algorithms | public | 2013-09-13 15:42 | 2013-12-19 13:59 |
Reporter | Timo | Assigned To | bugmaster | ||
Priority | high | Severity | major | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.5.3 | ||||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0024174: [regression] BRepBuilderAPI_Sewing returns result with very high tolerance | ||||
Description | The following sewing operation returns a wrong result in OCCT 6.5.3 and 6.6.0. The result is correct in OCCT 6.5.2. In 6.6.0 the resulting shell has tolerance 105.45 and one edge is not sewed correctly (because of high tolerance). In 6.5.2 the resulting shell had tolerance 0.076. Draw script: restore Comp1.brep c explode c tolerance c sewing r 0.1 c_1 c_2 tolerance r checkshape r vinit vdisplay r | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_5(010) bug24174_1, bug24174_2 | ||||
|
Comp1.brep (760,240 bytes) |
|
OCC6.5.2.PNG (4,796 bytes) |
|
OCC6.6.0.PNG (5,591 bytes) |
|
Another example of similar problem is reported on OCCT forum: http://www.opencascade.org/org/forum/thread_25329/ The file is attached (stitch.brep). The test commands to reproduce the problem are: Draw[]> restore stitch.brep a Draw[]> tolerance a Tolerance MAX=0.58022137281123598 AVG=0.11951856838400272 MIN=9.9999999999999995e-008 FACE : MAX=9.9999999999999995e-008 AVG=9.9999999999999995e-008 MIN=9.9999999999999995e-008 EDGE : MAX=0.58016335647558903 AVG=0.091042346630782645 MIN=1.0000000000000001e-005 VERTEX : MAX=0.58022137281123598 AVG=0.14462199456824934 MIN=1.0000000000000001e-005 Draw[]> sewing r 0.1 a Informations =========================================================== Number of input shapes : 1 Number of actual shapes : 1 Number of Bounds : 11 Number of Sections : 11 Number of Edges : 10 Number of Vertices : 11 Number of Nodes : 9 Number of Free Edges : 9 Number of Contigous Edges : 1 Number of Multiple Edges : 0 Number of Degenerated Edges : 0 =========================================================== Draw[8]> tolerance r Tolerance MAX=116.18676595408203 AVG=33.315216577269183 MIN=9.9999999999999995e-008 FACE : MAX=9.9999999999999995e-008 AVG=9.9999999999999995e-008 MIN=9.9999999999999995e-008 EDGE : MAX=116.18676595408203 AVG=21.215907065554788 MIN=1.0000000000000001e-005 VERTEX : MAX=116.18676595408203 AVG=42.393527376514477 MIN=1.0000000000000001e-005 |
2013-09-24 10:29 manager |
stitch.brep (328,545 bytes) |
|
Branch CR24174 is ready to be reviewed. |
|
Reviewed, please test |
|
Dear BugMaster, Branch CR24174 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 34bba807bd3772ec2377bb369cf8a8454b228af8 Number of compiler warnings: occt component : Linux: 423 (426 on master) Windows: 24 (24 on master) products component : Linux: 189 (190 on master) Windows: 287 (287 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24174-master-occt/Debian60-64/bugs/modalg_5/bug24174_1.html http://occt-tests/CR24174-master-occt/Windows-32-VC9/bugs/modalg_5/bug24174_1.html bugs modalg_5(010) bug24174_1: OK http://occt-tests/CR24174-master-occt/Debian60-64/bugs/modalg_5/bug24174_2.html http://occt-tests/CR24174-master-occt/Windows-32-VC9/bugs/modalg_5/bug24174_2.html bugs modalg_5(010) bug24174_2: OK Testing on Linux: Total MEMORY difference: 366495364 / 366194636 Total CPU difference: 44519.16000000073 / 44692.0300000013 Testing on Windows: Total MEMORY difference: 433472060 / 433434232 Total CPU difference: 41576.375 / 34607.296875 There are following differences in images found by testdiff. http://occt-tests/CR24174-master-occt/Debian60-64/diff-Debian60-64.html http://occt-tests/CR24174-master-occt/Windows-32-VC9/diff-Windows-32-VC9.html IMAGE sewing tol_100 I9: I9.png differs IMAGE sewing tol_100 J3: J3.png differs IMAGE sewing tol_100 J5: J5.png differs IMAGE sewing tol_100 J6: J6.png differs IMAGE sewing tol_100 K3: K3.png differs IMAGE sewing tol_100 Y7: Y7.png differs IMAGE sewing tol_100 C5: C5.png differs IMAGE sewing tol_0_01 F8: F8.png differs |
|
I do not consider the reported differences in images as regressions, they are just variations on bad shapes. Thus I switch this fix to "tested". |
occt: master 47980104 2013-10-03 12:36:52
Committer: bugmaster Details Diff |
0024174: [regression] BRepBuilderAPI_Sewing returns result with very high tolerance Fix for bug 0024174: [regression] BRepBuilderAPI_Sewing returns result with very high tolerance Test script for CR24174 Test cases for issue CR24174 Small correction of test cases for issue CR24174 |
Affected Issues 0024174 |
|
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx | Diff File | ||
add - tests/bugs/modalg_5/bug24174_1 | Diff File | ||
add - tests/bugs/modalg_5/bug24174_2 | Diff File | ||
mod - tests/sewing/tol_100/J3 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-13 15:42 | Timo | New Issue | |
2013-09-13 15:42 | Timo | Assigned To | => ifv |
2013-09-13 15:42 | Timo | File Added: Comp1.brep | |
2013-09-13 15:42 | Timo | File Added: OCC6.5.2.PNG | |
2013-09-13 15:42 | Timo | File Added: OCC6.6.0.PNG | |
2013-09-24 09:08 |
|
Assigned To | ifv => gka |
2013-09-24 09:08 |
|
Status | new => assigned |
2013-09-24 10:02 |
|
Note Added: 0025705 | |
2013-09-24 10:02 |
|
Priority | normal => high |
2013-09-24 10:29 |
|
File Added: stitch.brep | |
2013-09-24 10:33 |
|
Note Edited: 0025705 | |
2013-09-24 18:40 |
|
Relationship added | related to 0024203 |
2013-09-27 12:26 |
|
Note Added: 0025774 | |
2013-09-27 12:26 |
|
Assigned To | gka => abv |
2013-09-27 12:26 |
|
Status | assigned => resolved |
2013-09-27 18:20 |
|
Note Added: 0025786 | |
2013-09-27 18:20 |
|
Assigned To | abv => bugmaster |
2013-09-27 18:20 |
|
Status | resolved => reviewed |
2013-09-30 15:49 |
|
Assigned To | bugmaster => mkv |
2013-10-01 12:40 |
|
Note Added: 0025808 | |
2013-10-01 12:41 |
|
Test case number | => bugs modalg_5(010) bug24174_1, bug24174_2 |
2013-10-01 12:41 |
|
Assigned To | mkv => gka |
2013-10-01 12:41 |
|
Status | reviewed => feedback |
2013-10-01 15:56 |
|
Note Added: 0025824 | |
2013-10-01 15:56 |
|
Assigned To | gka => bugmaster |
2013-10-01 15:56 |
|
Status | feedback => tested |
2013-10-03 14:38 | bugmaster | Description Updated | |
2013-10-03 15:41 | bugmaster | Description Updated | |
2013-10-04 12:48 | bugmaster | Changeset attached | => occt master 47980104 |
2013-10-04 12:48 | bugmaster | Status | tested => verified |
2013-10-04 12:48 | bugmaster | Resolution | open => fixed |
2013-11-13 19:06 | Timo | Issue cloned: 0024357 | |
2013-11-13 19:06 | Timo | Relationship added | related to 0024357 |
2013-12-19 13:51 | bugmaster | Status | verified => closed |
2013-12-19 13:59 | bugmaster | Fixed in Version | => 6.7.0 |