View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032850 | Community | OCCT:Modeling Algorithms | public | 2022-02-21 12:34 | 2023-03-19 22:34 |
Reporter | Manycore | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2015 | ||
Product Version | 7.7.0 | ||||
Target Version | 7.7.0 | Fixed in Version | 7.7.0 | ||
Summary | 0032850: Modeling Algorithms - Surface Surface Intersect Lost one line | ||||
Description | Implict-Implict Intersect Lost one line due to lost one IntPatch_Point | ||||
Steps To Reproduce | test lowalgos intss bug32850 or: #files cylinder1.brep, cylinder2.brep are attached restore cylinder1.brep f1 restore cylinder2.brep f2 bopcurves f1 f2 # expect four lines , but return 3 lines or (original source): TopoDS_Shape Sh1; TopoDS_Shape Sh2; BRep_Builder B; BRepTools::Read(Sh1, "C:\\Users\\Administrator.3AQY4VP0FVYRFVT\\Desktop\\cylinder1.brep", B); BRepTools::Read(Sh2, "C:\\Users\\Administrator.3AQY4VP0FVYRFVT\\Desktop\\cylinder2.brep", B); TopoDS_Face face1 = TopoDS::Face(Sh1); TopoDS_Face face2 = TopoDS::Face(Sh2); auto inter = new IntTools_FaceFace(); inter->Perform(face1, face2); // expect four lines , but return 3 lines | ||||
Tags | No tags attached. | ||||
Test case number | lowalgos intss bug32850 | ||||
related to | 0000569 | closed | Open CASCADE | Can not intersect trimmed plane and cone surfaces . |
|
cylinder1.brep (2,388 bytes) cylinder2.brep (2,387 bytes) |
|
the first picture shows that only 3 lines return, the second and third pictures show the right result Imp_Imp_Intersection_lost_one_IntPatch_Point_.png (26,835 bytes) Imp_Imp_Intersection_should_return_4_lines.png (33,481 bytes) enlarge_local.png (11,746 bytes) |
|
fix bug Referenceļ¼ IntTools_EdgeFace::CheckTouch function |
|
Branch CR32850 has been created by Manycore. SHA-1: f9bc720991cb7c3d7c7a1de415800b1e467e46c5 Detailed log of new commits: Author: gelin Date: Mon Feb 28 13:25:45 2022 +0800 Merge branch 'master' of ssh://git.dev.opencascade.org/occt Author: gelin Date: Mon Feb 28 12:28:59 2022 +0800 0032850: Modeling Algorithms - Surface Surface Intersect Lost one line |
|
Branch CR32850 has been deleted by Manycore. SHA-1: f9bc720991cb7c3d7c7a1de415800b1e467e46c5 |
|
Branch CR32850 has been created by Manycore. SHA-1: dfbf6b9341d437c6b18fe547871ad41ec270bb1b Detailed log of new commits: Author: gelin Date: Mon Feb 28 14:13:31 2022 +0800 0032850: Modeling Algorithms - Surface Surface Intersect Lost one line |
|
Branch CR32850 has been updated by Manycore. SHA-1: 3406e87f0aa8823ad3cd627c4b0a1e495b88b014 Detailed log of new commits: Author: gelin Date: Mon Feb 28 14:43:54 2022 +0800 code modified |
|
Branch CR32850 has been updated forcibly by ifv. SHA-1: 6235dbbebfa6caeac1003d3999aea85f594288d9 |
|
Branch CR32850 has been updated by ifv. SHA-1: ce8b14e7f824d76396dfcca89228fee07ad01291 Detailed log of new commits: Author: ifv Date: Mon Sep 12 12:16:59 2022 +0300 Improving tangent criteria |
|
Branch CR32850 has been updated forcibly by ifv. SHA-1: 0767db417b2812f50d0e1e05dd0f49af02cbd66e |
|
Branch CR32850 has been updated forcibly by ifv. SHA-1: 1121bbef6244d3427ffed1286d1365af9e741f4c |
|
Branch CR32850 in OCCT repository is ready for review Test results http://jenkins-test-08.nnov.opencascade.com/view/CR32850-master-ifv/view/COMPARE/ |
|
src/BOPDS/BOPDS_DS.cxx if (aMP.Add(aPave1)){ + if (i > aNb) + break; pPaves(i) = aPave1; ++i; } I would propose raising assert here instead of silently skipping the rest of the paves. tests/lowalgos/intss/bug32850 Please remove empty lines in the new test case (keep only one) For some reason the result of new test execution is missing in the summary reports. |
|
Branch CR32850 has been updated forcibly by ifv. SHA-1: d998daed56602f1073dabd1255fdfbca553cebbe |
|
Branch CR32850 is updated according to remarks and tested Test results http://jenkins-test-08.nnov.opencascade.com/view/CR32850-master-ifv/view/COMPARE/ |
|
Branch CR32850 has been updated by emv. SHA-1: 9174f3d41b81769ce64c270321e5b98aefe195f7 Detailed log of new commits: Author: emv Date: Wed Sep 28 17:30:29 2022 +0300 # Change the assert to break in case the abnormal number of paves is created. |
|
+ Standard_ASSERT_VOID(i > aNb, "Abnormal number of paves"); In previous version there was a break if abnormal number of paves is created, currently there is no one. Plus, I think the condition should be changed to i <= aNb, otherwise the assert will be raised in normal case, as it is raised if !condition. So it should be changed to: Standard_ASSERT(i <= aNb, "Abnormal number of paves", break); Plus, another assert in this method should be removed, as we will never add more paves than aNb. tests/lowalgos/intss/bug32850 There are still lot of empty lines in the test - https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff;f=src/BOPDS/BOPDS_DS.cxx;h=36090b0caba7ada39670c2ad6b5fe7c57103c3b9;hp=9ad33e6fdd3107ad9d56c89140ba3dfb202fa782;hb=d998daed56602f1073dabd1255fdfbca553cebbe;hpb=b3284f3ba911e4d18477ff1788ace3d7201a8827 I've made the required changes with the additional commit, please rebase and retest. |
|
Branch CR32850 has been deleted by ifv. SHA-1: 9174f3d41b81769ce64c270321e5b98aefe195f7 |
|
Branch CR32850 has been created by ifv. SHA-1: adb168e072e617f2dd8e06bf0c43bcc2fdfefda0 Detailed log of new commits: Author: gelin Date: Mon Feb 28 09:13:31 2022 +0300 0032850: Modeling Algorithms - Surface Surface Intersect Lost one line IntStart_SearchOnBoundaries.gxx - improving tangent criteria |
|
Branch CR32850 is ready for review Test results http://jenkins-test-08.nnov.opencascade.com/view/CR32850-master-ifv/view/COMPARE/ |
|
Reviewed. Please integrate CR32850 into OCCT. |
|
Branch CR32850 has been deleted by mnt. SHA-1: adb168e072e617f2dd8e06bf0c43bcc2fdfefda0 |
occt: master 492b09dc 2022-02-28 09:13:31 gelin Committer: |
0032850: Modeling Algorithms - Surface Surface Intersect Lost one line IntStart_SearchOnBoundaries.gxx - improving tangent criteria |
Affected Issues 0032850 |
|
mod - src/IntPatch/IntPatch_ALineToWLine.cxx | Diff File | ||
mod - src/IntStart/IntStart_SearchOnBoundaries.gxx | Diff File | ||
mod - tests/evolved/voluved/HMC010 | Diff File | ||
add - tests/lowalgos/intss/bug32850 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-02-21 12:34 | Manycore | New Issue | |
2022-02-21 12:34 | Manycore | Assigned To | => Manycore |
2022-02-21 12:34 | Manycore | File Added: cylinder1.brep | |
2022-02-21 12:34 | Manycore | File Added: cylinder2.brep | |
2022-02-21 12:39 | Manycore | Note Added: 0107006 | |
2022-02-21 12:39 | Manycore | File Added: Imp_Imp_Intersection_lost_one_IntPatch_Point_.png | |
2022-02-21 12:39 | Manycore | File Added: Imp_Imp_Intersection_should_return_4_lines.png | |
2022-02-21 12:39 | Manycore | File Added: enlarge_local.png | |
2022-02-28 05:52 | Manycore | Relationship added | related to 0000569 |
2022-02-28 07:06 | Manycore | Note Added: 0107091 | |
2022-02-28 08:27 | git | Note Added: 0107092 | |
2022-02-28 08:31 | git | Note Added: 0107093 | |
2022-02-28 09:17 | git | Note Added: 0107094 | |
2022-02-28 09:44 | git | Note Added: 0107096 | |
2022-02-28 09:47 | Manycore | Assigned To | Manycore => msv |
2022-02-28 09:47 | Manycore | Status | new => resolved |
2022-02-28 14:32 |
|
Assigned To | msv => ifv |
2022-09-08 17:35 | git | Note Added: 0110881 | |
2022-09-15 17:41 | git | Note Added: 0111069 | |
2022-09-15 17:44 | git | Note Added: 0111070 | |
2022-09-16 10:40 |
|
Steps to Reproduce Updated | |
2022-09-16 10:40 |
|
Test case number | => lowalgos intss bug32850 |
2022-09-16 10:46 | git | Note Added: 0111083 | |
2022-09-16 10:51 |
|
Status | resolved => assigned |
2022-09-16 10:52 |
|
Assigned To | ifv => msv |
2022-09-16 10:52 |
|
Status | assigned => resolved |
2022-09-16 10:52 |
|
Note Added: 0111084 | |
2022-09-16 11:40 |
|
Assigned To | msv => emv |
2022-09-22 07:48 |
|
Assigned To | emv => ifv |
2022-09-22 07:48 |
|
Status | resolved => assigned |
2022-09-22 07:48 |
|
Note Added: 0111181 | |
2022-09-26 13:01 | git | Note Added: 0111266 | |
2022-09-27 14:33 |
|
Assigned To | ifv => emv |
2022-09-27 14:33 |
|
Status | assigned => resolved |
2022-09-27 14:33 |
|
Note Added: 0111280 | |
2022-09-28 17:32 | git | Note Added: 0111297 | |
2022-09-28 17:32 |
|
Note Added: 0111298 | |
2022-09-28 17:32 |
|
Assigned To | emv => ifv |
2022-09-28 17:32 |
|
Status | resolved => assigned |
2022-09-28 17:33 |
|
Note Edited: 0111298 | |
2022-09-29 10:21 | git | Note Added: 0111306 | |
2022-09-29 10:39 | git | Note Added: 0111307 | |
2022-10-03 13:52 |
|
Assigned To | ifv => emv |
2022-10-03 13:52 |
|
Status | assigned => resolved |
2022-10-03 13:52 |
|
Note Added: 0111327 | |
2022-10-07 09:40 |
|
Assigned To | emv => bugmaster |
2022-10-07 09:40 |
|
Status | resolved => reviewed |
2022-10-07 09:40 |
|
Note Added: 0111422 | |
2022-11-02 13:40 |
|
Status | reviewed => tested |
2022-11-02 13:46 |
|
Changeset attached | => occt master 492b09dc |
2022-11-02 13:46 |
|
Assigned To | bugmaster => smoskvin |
2022-11-02 13:46 |
|
Status | tested => verified |
2022-11-02 13:46 |
|
Resolution | open => fixed |
2022-11-02 13:53 | git | Note Added: 0111868 | |
2023-03-19 22:34 | vglukhik | Status | verified => closed |
2023-03-19 22:34 | vglukhik | Fixed in Version | => 7.7.0 |