View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024657 | Open CASCADE | OCCT:Modeling Algorithms | public | 2014-02-24 19:42 | 2023-03-19 18:56 |
Reporter | Assigned To | ||||
Priority | normal | Severity | major | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.7.0 | ||||
Target Version | 7.7.0 | Fixed in Version | 7.6.3 | ||
Summary | 0024657: 2dintersect returns different number of intersect points | ||||
Description | 2dintersect depends on 2d curve arg sequence: there is the case when: "2dintersect curve1 curve2" returns one intersect point but "2dintersect curve2 curve1" returns TWO intersect points | ||||
Steps To Reproduce | restore bug24657.brep a explode a e pcu p4 a_4 a pcu p5 a_5 a 2dintersect p4 p5 -tol 10e-7 2dintersect p5 p4 -tol 10e-7 | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_5(010) bug24657 | ||||
2014-02-24 19:43 developer |
bug24657.brep (10,599 bytes) |
|
dear ifv, please review CR24657 branch |
|
Ok |
|
Dear BugMaster, Branch CR24657 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 241c852f5210dd78a507d48c6b2e3754bece389e Number of compiler warnings: occt component : Linux: 29 (29 on master) Windows: 0 (0 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: http://occt-tests/CR24657-master-occt/Debian60-64/summary.html http://occt-tests/CR24657-master-occt/Windows-32-VC9/summary.html Improvements: de iges_1(001) F9 de iges_2(002) G7 de step_2(005) D1 heal split_angle_advanced(012) Z3 heal split_closed_faces(011) G5 Failed: de iges_1(001) G6, K3, L8, P8, R8 de iges_2(002) B8, C2, F4 de step_2(005) M4 de step_3(006) C4, D9, E6, F2 heal split_angle_advanced(012) ZA5, ZA6 http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24657/job/mnt-CR24657-master_products_tests_linux_start/label=Debian60-64,tests_group=parasolid,tests_subgroup=003/4/HTML_Report/? http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24657/job/mnt-CR24657-master_products_tests_windows_start/label=windows_test,tests_group=parasolid,tests_subgroup=003/2/HTML_Report/? parasolid doc_3(003) E3 http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24657/job/mnt-CR24657-master_products_tests_linux_start/label=Debian60-64,tests_group=sat,tests_subgroup=001/4/HTML_Report/? sat doc_1(001) ZV5 Testing cases: http://occt-tests/CR24657-master-occt/Debian60-64/bugs/modalg_5/bug24657.html http://occt-tests/CR24657-master-occt/Windows-32-VC9/bugs/modalg_5/bug24657.html bugs modalg_5(010) bug24657: OK Testing on Linux: Total MEMORY difference: 379407000 / 378983764 Total CPU difference: 49329.440000000024 / 43578.700000000004 Testing on Windows: Total MEMORY difference: 426789228 / 426390392 Total CPU difference: 26989.875 / 33726.015625 There are following differences in images found by testdiff. http://occt-tests/CR24657-master-occt/Debian60-64/diff-Debian60-64.html http://occt-tests/CR24657-master-occt/Windows-32-VC9/diff-Windows-32-VC9.html IMAGE bugs iges bug22504: bug22504_Driver1_Viewer1_View1.png differs |
|
de step_3 C4 max tol is the same as before but average tol has increased. it isn't regression de iges_2 C2 max tol is smaller. it is IMPROVEMENT de step_2 M4 max tol is smaller. it is IMPROVEMENT heal split_angle_advanced ZA6 the num of errors has decreased. it is IMPROVEMENT heal split_angle_advanced ZA5 the num of errors has decreased. it is IMPROVEMENT all other aren't regressions (have different secondary params) checkshape questions in the process: de step_3 D9, de iges_2 F4 |
|
de iges_2 F4 this test contains a new additional faulty. the new one (wire self-intersection) appeared after loopback test due to poly intersection algorithm seeks with both criteria: exact intersection (in parametric space) and “node” intersection. The last criterion has been turned on (findIntersect method, last param is TRUE) due to the being processed polygons aren’t complemented by new points (ComputeWithBox isn’t used already). So I deem the faulty isn’t regression |
|
de step_3 D9 isn't regression (see 24743 issue) |
|
and other de iges_1(001) G6, K3, L8, P8, R8 de iges_2(002) B8 de step_3(006) C4, E6, F2 aren't regressions |
|
##copied from #24549 , http://tracker.dev.opencascade.org/view.php?id=24549#c28405 mkv: Dear BugMaster, Branch CR24549_with24657 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 88f9b3b2373f9547c91679565e8c4c4be873f891 Number of compiler warnings: occt component : Linux: 30 (30 on master) Windows: 0 (0 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: http://occt-tests/CR24549-24657-master-occt/Debian60-64/summary.html [^] http://occt-tests/CR24549-24657-master-occt/Windows-32-VC9/summary.html [^] Improvements: bugs heal bug210 de iges_2 E3 de step_1 N3 de step_2 G1 Failed: de iges_1(001) B4, L5, Q3, R5 de iges_2(002) A9, B1, C4, G1, G8, I7 de iges_3(003) A2 de step_1(004) A3, G9, V3 de step_2(005) D7, D8, F1, K1, O8, Y5 de step_3(006) A5, A9, B5, C6, D8, D9, E6 de step_4(007) I2 de step_5(008) A1, A3 xcaf brep_to_stp_add_CL(009) I6 Testing cases: http://occt-tests/CR24549-24657-master-occt/Debian60-64/bugs/heal/bug24549.html [^] http://occt-tests/CR24549-24657-master-occt/Windows-32-VC9/bugs/heal/bug24549.html [^] bugs heal(017) bug24549: OK Testing on Linux: Total MEMORY difference: 384014256 / 380174460 Total CPU difference: 44659.88000000026 / 46659.64 Testing on Windows: Total MEMORY difference: 421755968 / 418700688 Total CPU difference: 31584.203125 / 30899.28125 There are following differences in images found by testdiff. http://occt-tests/CR24549-24657-master-occt/Debian60-64/diff-Debian60-64.html [^] http://occt-tests/CR24549-24657-master-occt/Windows-32-VC9/diff-Windows-32-VC9.html [^] IMAGE bugs iges bug22504: bug22504_Driver1_Viewer1_View1.png differs |
|
there is the problem in CR24549_with24657 results. the pin on image in "bugs iges bug22504" is shifted. but the pin on the image of current CR24657 (rebased at IR-2014-03-20) branch isn't shifted. |
|
dear mkv, please test CR24657 branch |
|
Dear BugMaster, Branch CR24657 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 6b7715f685340b9785428b6391ff0324692129e4 Number of compiler warnings: occt component : Linux: 29 (29 on master) Windows: 0 (0 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: http://occt-tests/CR24657-master-occt/Debian60-64/de/step_3/D3.html Improvements: de step_3(006) D3 - corrected and pushed to branch CR24657 Testing cases: http://occt-tests/CR24657-master-occt/Debian60-64/bugs/modalg_5/bug24657.html http://occt-tests/CR24657-master-occt/Windows-32-VC9/bugs/modalg_5/bug24657.html bugs modalg_5(010) bug24657: OK Testing on Linux: Total MEMORY difference: 390844552 / 390850480 Total CPU difference: 47064.130000000005 / 51146.809999999656 Testing on Windows: Total MEMORY difference: 435054348 / 433684232 Total CPU difference: 33036.875 / 35632.53125 There are following differences in images found by testdiff. http://occt-tests/CR24657-master-occt/Debian60-64/diff-Debian60-64.html http://occt-tests/CR24657-master-occt/Windows-32-VC9/diff-Windows-32-VC9.html IMAGE bugs iges bug22504: bug22504_Driver1_Viewer1_View1.png differs |
|
i have executed "bugs iges bug22504" test case on "windows 32 vc10" (current CR24657 branch) and it isn't different from master. and also the made fixes in this issue shouldn't do any influence at the executed test. dear bugmaster, please integrate |
|
Problem bugs iges bug22504 is reproduced on IR-2014-03-27 |
|
Ok. I'll start to investigate this problem more deeper |
|
The problem looks fixed. Dear |
|
The issue currently cannot be reproduced on master. |
|
Branch CR24657_1 has been created by AndreyLA. SHA-1: 953f38dc5171be74d645d94b79e7f9b832ec9867 Detailed log of new commits: Author: Andrei LATYSHEV Date: Thu Mar 24 17:36:11 2022 +0300 0024657: 2dintersect returns different number of intersect points in curve intersecting the polygon points is never replaced by line Test for 2d intersection is added |
|
Branch CR24657_1 has been updated forcibly by AndreyLA. SHA-1: 76b40c595760dd96468e74abb22816ac57e2be54 |
|
Please review branch CR24657_1 Test results are attached: http://jenkins-test-occt/view/CR24657_1-master-ALATYSHE/view/ALL/ |
|
Andrey, I propose to perform the most clear check that the order of intersected curves does not matter. I mean that the results of intersections should be the same, and I propose to implement this check in the test as well. Also, please, use v2d2 command instead of av2d to display 2D view. |
|
Branch CR24657_1 has been updated forcibly by AndreyLA. SHA-1: 3c642c310bf2b3e9bfbf6de0bc79094e880dba0a |
|
1. Does the following statement correct?# Check if the number of intersections is more than 2 2. Wrong usage of regexp: # Verify the coordinates of the intersection points set xint1 [regexp -all {1.10000000} ${inter1}] set xint2 [regexp -all {1.10000000} ${inter2}] set yint1 [regexp -all {59.4123777} ${inter1}] set yint2 [regexp -all {59.4123777} ${inter2}] You search the exact string instead of parsing values by regular expression and then checking the values are equal. What if 2dintersect returns the values you searching, but on the wrong places? Please, look at other tests parsing the result of certain operation by regexp. |
|
Branch CR24657_1 has been updated forcibly by AndreyLA. SHA-1: 095425e65c65d54d52daa4e7eacb243932436324 |
|
Andrey, unfortunately, your test case failed on both Windows and Linux platforms. And I also have a couple of remarks: 1. I suppose, we could check here parameters on each curve together with checking the point coordinates. Then it will be complete test case. 2. There is a Tab sign in line 33. Please, substitute it by spaces. |
|
Branch CR24657_1 has been updated forcibly by AndreyLA. SHA-1: d984c45a6a3d0ca8755abca02ca7ff619e7a5eb5 |
|
Branch CR24657_1 has been updated forcibly by azv. SHA-1: 844cc700ed6cce0f8ba8886facf76df2e45dc21a |
|
Branches to be integrated: OCCT: CR24657_1 Products: NOT |
|
Combination - OCCT branch : IR-2022-04-08 master SHA - 7021de2fe7a69d4c788ccf43b8b096dbcc8597c8 49e51745631c52b6c452c65adae4d6dfa21a1b1e Products branch : IR-2022-04-08 SHA - e16d959d441765c483049307ba7293173532103a was compiled on Linux, MacOS and Windows platforms and tested in optimize mode. Number of compiler warnings: No new/fixed warnings Regressions/Differences/Improvements: No regressions/differences CPU differences: Debian80-64: OCCT Total CPU difference: 18452.87000000039 / 18490.94000000032 [-0.21%] Products Total CPU difference: 11761.310000000152 / 11719.920000000124 [+0.35%] Windows-64-VC14: OCCT Total CPU difference: 20539.828125 / 20552.71875 [-0.06%] Products Total CPU difference: 13248.21875 / 13242.609375 [+0.04%] Image differences : No differences that require special attention Memory differences : No differences that require special attention |
|
Branch CR24657 has been deleted by mnt. SHA-1: f020bc072e8b9ee2b640cb9e11978808e9fedb8f |
|
Branch CR24657_1 has been deleted by mnt. SHA-1: 844cc700ed6cce0f8ba8886facf76df2e45dc21a |
occt: master fe12f15c 2022-03-24 17:36:11
Committer: |
0024657: 2dintersect returns different number of intersect points in curve intersecting the polygon points is never replaced by line Test for 2d intersection is added |
Affected Issues 0024657 |
|
add - tests/bugs/modalg_5/bug24657 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-24 19:42 |
|
New Issue | |
2014-02-24 19:42 |
|
Assigned To | => ibs |
2014-02-24 19:43 |
|
File Added: bug24657.brep | |
2014-02-24 19:43 |
|
Steps to Reproduce Updated | |
2014-02-25 15:10 |
|
Steps to Reproduce Updated | |
2014-02-25 15:20 |
|
Summary | fix orientation in ShapeFix_Face causes the appearance of new additional intersection point of two 2dcurves => 2dintersect returns different number of intersect points |
2014-02-25 15:20 |
|
Description Updated | |
2014-02-25 15:20 |
|
Steps to Reproduce Updated | |
2014-02-25 16:18 |
|
Assigned To | ibs => ifv |
2014-02-25 16:18 |
|
Note Added: 0028030 | |
2014-02-25 16:18 |
|
Status | new => resolved |
2014-02-26 17:21 |
|
Note Added: 0028040 | |
2014-02-26 17:21 |
|
Status | resolved => reviewed |
2014-02-26 17:45 |
|
Assigned To | ifv => mkv |
2014-02-27 18:54 |
|
Note Added: 0028059 | |
2014-02-27 18:55 |
|
Test case number | => bugs modalg_5(010) bug24657 |
2014-02-27 18:55 |
|
Assigned To | mkv => ibs |
2014-02-27 18:55 |
|
Status | reviewed => assigned |
2014-03-07 18:14 |
|
Note Added: 0028185 | |
2014-03-11 12:05 |
|
Note Edited: 0028185 | |
2014-03-11 17:19 |
|
File Added: res_1_284_with_fix.png | |
2014-03-11 17:19 |
|
File Added: res_1_284_master.png | |
2014-03-11 17:20 |
|
File Deleted: res_1_284_with_fix.png | |
2014-03-11 17:20 |
|
File Deleted: res_1_284_master.png | |
2014-03-11 17:20 |
|
File Added: res_1_284_master.png | |
2014-03-11 17:20 |
|
File Added: res_1_284_with_fix.png | |
2014-03-11 17:34 |
|
File Added: res_2_285.png | |
2014-03-11 17:34 |
|
File Added: res_2_285_master.png | |
2014-03-11 17:34 |
|
File Deleted: res_2_285.png | |
2014-03-11 17:35 |
|
File Added: res_2_285_with_fix.png | |
2014-03-12 12:19 |
|
Note Added: 0028217 | |
2014-03-12 12:31 |
|
File Deleted: res_1_284_with_fix.png | |
2014-03-12 12:31 |
|
File Deleted: res_2_285_with_fix.png | |
2014-03-12 12:31 |
|
File Added: de_step_3_D9_after_loopback_with_fix.png | |
2014-03-12 12:32 |
|
File Added: de_step_3_D9_first_read_with_fix.png | |
2014-03-12 12:34 |
|
File Deleted: res_2_285_master.png | |
2014-03-12 12:34 |
|
File Deleted: res_1_284_master.png | |
2014-03-12 12:35 |
|
File Added: de_step_3_D9_first_read_master.png | |
2014-03-12 12:35 |
|
File Added: de_step_3_D9_after_loopback_master.png | |
2014-03-12 15:55 |
|
Assigned To | ibs => bugmaster |
2014-03-12 15:55 |
|
Status | assigned => feedback |
2014-03-17 19:00 |
|
Assigned To | bugmaster => ibs |
2014-03-17 19:00 |
|
Status | feedback => assigned |
2014-03-20 14:38 |
|
Note Added: 0028398 | |
2014-03-20 14:43 |
|
File Deleted: de_step_3_D9_after_loopback_master.png | |
2014-03-20 14:43 |
|
File Deleted: de_step_3_D9_after_loopback_with_fix.png | |
2014-03-20 14:43 |
|
File Deleted: de_step_3_D9_first_read_with_fix.png | |
2014-03-20 14:43 |
|
File Deleted: de_step_3_D9_first_read_master.png | |
2014-03-20 14:58 |
|
Note Added: 0028400 | |
2014-03-20 15:34 |
|
Category | OCCT:Shape Healing => OCCT:Modeling Algorithms |
2014-03-20 15:35 |
|
Target Version | 7.0.0 => 6.7.1 |
2014-03-20 17:54 |
|
Note Added: 0028406 | |
2014-03-20 17:55 |
|
Note Edited: 0028406 | |
2014-03-20 18:19 |
|
Note Added: 0028408 | |
2014-03-20 19:02 |
|
Note Added: 0028410 | |
2014-03-20 19:02 |
|
Assigned To | ibs => mkv |
2014-03-20 19:02 |
|
Status | assigned => feedback |
2014-03-21 17:22 |
|
Status | feedback => reviewed |
2014-03-25 15:42 |
|
Note Added: 0028466 | |
2014-03-25 15:42 |
|
Assigned To | mkv => ibs |
2014-03-25 15:42 |
|
Status | reviewed => assigned |
2014-03-25 17:39 |
|
Note Added: 0028474 | |
2014-03-25 17:39 |
|
Assigned To | ibs => bugmaster |
2014-03-25 17:39 |
|
Status | assigned => feedback |
2014-03-26 09:56 | bugmaster | Status | feedback => tested |
2014-03-28 15:54 | bugmaster | Note Added: 0028543 | |
2014-03-28 15:54 | bugmaster | Assigned To | bugmaster => ibs |
2014-03-28 15:54 | bugmaster | Status | tested => assigned |
2014-03-28 16:01 |
|
Note Added: 0028544 | |
2014-04-04 18:09 |
|
Target Version | 6.7.1 => 6.8.0 |
2014-10-29 13:43 |
|
Target Version | 6.8.0 => 7.1.0 |
2016-10-28 16:28 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-07-24 09:32 |
|
Target Version | 7.2.0 => 7.3.0 |
2017-12-05 17:09 |
|
Target Version | 7.3.0 => 7.4.0 |
2019-08-12 16:45 |
|
Target Version | 7.4.0 => 7.5.0 |
2020-09-14 22:55 |
|
Target Version | 7.5.0 => 7.6.0 |
2021-08-29 18:52 |
|
Target Version | 7.6.0 => 7.7.0 |
2022-03-21 20:12 |
|
Assigned To | ibs => AndreyLA |
2022-03-21 20:12 |
|
Note Added: 0107381 | |
2022-03-24 16:51 |
|
Note Added: 0107420 | |
2022-03-24 17:36 | git | Note Added: 0107422 | |
2022-03-28 12:19 | git | Note Added: 0107442 | |
2022-03-28 12:29 |
|
Steps to Reproduce Updated | |
2022-03-28 16:31 |
|
Assigned To | AndreyLA => azv |
2022-03-28 16:31 |
|
Status | assigned => resolved |
2022-03-28 16:32 |
|
Note Added: 0107448 | |
2022-03-28 22:56 |
|
Assigned To | azv => AndreyLA |
2022-03-28 22:56 |
|
Status | resolved => assigned |
2022-03-28 22:56 |
|
Note Added: 0107452 | |
2022-03-30 17:56 | git | Note Added: 0107485 | |
2022-03-31 09:43 |
|
Assigned To | AndreyLA => azv |
2022-03-31 09:43 |
|
Status | assigned => resolved |
2022-03-31 10:00 |
|
Assigned To | azv => AndreyLA |
2022-03-31 10:00 |
|
Status | resolved => assigned |
2022-03-31 10:00 |
|
Note Added: 0107501 | |
2022-03-31 16:47 | git | Note Added: 0107517 | |
2022-03-31 18:43 |
|
Assigned To | AndreyLA => azv |
2022-03-31 18:43 |
|
Status | assigned => resolved |
2022-03-31 21:58 |
|
Assigned To | azv => AndreyLA |
2022-03-31 21:58 |
|
Status | resolved => assigned |
2022-03-31 21:58 |
|
Note Added: 0107521 | |
2022-04-01 07:56 | git | Note Added: 0107524 | |
2022-04-05 10:50 | git | Note Added: 0107629 | |
2022-04-05 11:41 |
|
Assigned To | AndreyLA => azv |
2022-04-05 11:41 |
|
Status | assigned => resolved |
2022-04-05 13:09 |
|
Assigned To | azv => bugmaster |
2022-04-05 13:09 |
|
Status | resolved => reviewed |
2022-04-05 13:09 |
|
Note Added: 0107636 | |
2022-04-09 09:49 |
|
Status | reviewed => tested |
2022-04-09 09:49 |
|
Note Added: 0107786 | |
2022-04-10 10:42 |
|
Changeset attached | => occt master fe12f15c |
2022-04-10 10:42 |
|
Assigned To | bugmaster => AndreyLA |
2022-04-10 10:42 |
|
Status | tested => verified |
2022-04-10 10:42 |
|
Resolution | open => fixed |
2022-04-10 10:48 | git | Note Added: 0107806 | |
2022-04-10 10:48 | git | Note Added: 0107807 | |
2023-03-19 18:56 | vglukhik | Status | verified => closed |
2023-03-19 18:56 | vglukhik | Fixed in Version | => 7.6.3 |