View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023177 | Community | OCCT:Modeling Algorithms | public | 2012-05-27 09:02 | 2017-09-29 16:25 |
Reporter | Roman Lygin | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Product Version | 6.5.3 | ||||
Target Version | 7.2.0 | Fixed in Version | 7.2.0 | ||
Summary | 0023177: Intersection of plane and torus misses a result and never produces analytical result | ||||
Description | Two issues: 1. Missing solution 2. Unlike other elementary-elementary cases, torus/plane seems to never recognize analytical cases (e.g. circle or ellipse) and always produce B-Spline | ||||
Steps To Reproduce | torus t 100 10 plane p1 0 0 0 0 1 0 intersect r1 t p1 #only one solution is produced not two, and it is b-spline, not circle plane p2 0 0 0 1 0 0 intersect r2 t p2 #two solutions are produced, and both are b-splines, not circles plane p3 5 0 0 1 0 0 intersect r3 t p3 #two solutions are produced, and both are b-splines, not ellipses | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_6 bug23177_1, bug23177_2 | ||||
|
The first problem is confirmed: one curve is missing. Note that DRAW command intersect should output list of objects it produced. For the second and third problems, I have serious doubts. First, strictly speaking, intersection of torus and plane is never an ellipse: it is either a circle or a more complex curve. Recognition of special degenerated cases like example 2 (when plane is aligned with axes of the torus) to produce circle(s) instead of b-spline(s) would require additional effort and introduce (unnecessary) complexity. |
|
Andrey, my error on ellipse section - please disregard that. Indeed, it's either circles or other types (a few quick links - http://isolatium.uhh.hawaii.edu/m206L/student/torus/torus.htm, http://mathworld.wolfram.com/ToricSection.html, http://en.wikipedia.org/wiki/Villarceau_circles) Anyway, having an analytical solution is good for downstream algorithms which will use result of intersection. It *will* require additional effort but "complexity" will be consistent with other supported cases in IntAna (cylinders, cones, spheres,...). |
|
The described problems have been fixed: it works as expected since OCCT 6.9.1. I suggest we should add a test case and close the issue. |
|
Dear Nikolay, please create a test case for this bug. |
|
Branch CR23177 has been created by nbv. SHA-1: 5cf58879059fb35e871369667c8a973c6046e109 Detailed log of new commits: Author: nbv Date: Mon May 29 17:35:06 2017 +0300 0023177: Intersection of plane and torus misses a result and never produces analytical result Creation of the test case. |
|
Dear Mikhail, Please review CR23177 branch. |
|
Reviewed. Mote that there is no need to compile occt and perform all tests. |
|
Dear BugMaster, Please integrate branch CR23177 into the occt git-repository master. |
|
Branch CR23177 has been deleted by inv. SHA-1: 5cf58879059fb35e871369667c8a973c6046e109 |
occt: master 75b9688a 2017-05-29 14:35:06
Committer: bugmaster Details Diff |
0023177: Intersection of plane and torus misses a result and never produces analytical result Creation of the test case. |
Affected Issues 0023177 |
|
add - tests/bugs/modalg_6/bug23177_1 | Diff File | ||
add - tests/bugs/modalg_6/bug23177_2 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-27 09:02 | Roman Lygin | New Issue | |
2012-05-27 09:02 | Roman Lygin | Assigned To | => jgv |
2012-05-31 08:15 |
|
Note Added: 0020609 | |
2012-05-31 08:15 |
|
Status | new => assigned |
2012-05-31 22:38 | Roman Lygin | Note Added: 0020627 | |
2017-05-28 19:10 |
|
Note Added: 0066690 | |
2017-05-28 19:10 |
|
Assigned To | jgv => bugmaster |
2017-05-28 19:10 |
|
Status | assigned => feedback |
2017-05-29 15:42 |
|
Note Added: 0066728 | |
2017-05-29 15:42 |
|
Assigned To | bugmaster => nbv |
2017-05-29 15:42 |
|
Status | feedback => assigned |
2017-05-29 17:37 | git | Note Added: 0066821 | |
2017-05-29 17:37 |
|
Note Added: 0066822 | |
2017-05-29 17:37 |
|
Assigned To | nbv => msv |
2017-05-29 17:37 |
|
Status | assigned => resolved |
2017-05-29 19:00 |
|
Note Added: 0066839 | |
2017-05-29 19:00 |
|
Assigned To | msv => bugmaster |
2017-05-29 19:00 |
|
Status | resolved => reviewed |
2017-05-29 19:21 |
|
Assigned To | bugmaster => apv |
2017-05-30 12:08 |
|
Test case number | => bugs modalg_6 bug23177_1, bug23177_2 |
2017-05-30 12:25 |
|
Note Added: 0066866 | |
2017-05-30 12:25 |
|
Assigned To | apv => bugmaster |
2017-05-30 12:25 |
|
Status | reviewed => tested |
2017-06-01 09:57 | bugmaster | Target Version | => 7.2.0 |
2017-06-02 10:28 | bugmaster | Changeset attached | => occt master 75b9688a |
2017-06-02 10:28 | bugmaster | Status | tested => verified |
2017-06-02 10:28 | bugmaster | Resolution | open => fixed |
2017-06-02 10:45 | git | Note Added: 0066991 | |
2017-09-29 16:18 |
|
Fixed in Version | => 7.2.0 |
2017-09-29 16:25 |
|
Status | verified => closed |