View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027753 | Community | OCCT:Modeling Algorithms | public | 2016-08-05 17:26 | 2017-09-29 16:25 |
Reporter | Markus | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.0.0 | ||||
Target Version | 7.2.0 | Fixed in Version | 7.2.0 | ||
Summary | 0027753: Nearly plane cones should not be created by BRepPrimAPI_MakeRevol | ||||
Description | If a curve is rotated using BRepPrimAPI_MakeRevol, different kinds of geometrical objects are created depending on the nature of the curve. If the curve is a line the result can be a Geom_Plane, a Geom_ConicalSurface or a Geom_CylindricalSurface depending on the angle between line and rotation axis. The decision is made in GeomAdaptor_SurfaceOfRevolution::GetType(). There is a certain range (when the angle is nearly Pi/2) which leads to nearly plane cones. According to 0027705, nearly plane cones should be avoided to use because they lead to different problems within OCCT and sometimes also when exported to other CAD systems. Therefore, it is proposed to modify GeomAdaptor_SurfaceOfRevolution::GetType() to create a Geom_SurfaceOfRevolution instead of such nearly plane cones. The question is, what would be the best threshold angle when to create a Geom_SurfaceOfRevolution instead of a cone. In our code we use something like [pseudo code]: (Math.Abs(Geom_ConicalSurface.SemiAngle() - Math.PI / 2) <= 1e-6) But this might be possible to improve. In the probleamtic case of 0027705 the semi angle is 1.5707963236984104. So, it differs from Pi/2 by 3e-9. In 0027015 the semi angle is 1.5707963. It differs from Pi/2 by 2e-8. | ||||
Steps To Reproduce | Not required | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
cone.zip (18,701 bytes) |
|
s10 imported in NX10.png (61,138 bytes) |
|
The screenshot "s10 imported in NX10" shows how the face s10.stp, which was created by the script (see steps to reproduce) looks like when imported in Siemens NX10. The other faces look better. Here, the semi angle is 1,5707963267848966, which differs from Pi/2 by 1e-11. |
|
Fix is branch CR28261_28266 |
|
Dear BugMaster, Branch CR28261_28266 is TESTED. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-08-05 17:26 | Timo | New Issue | |
2016-08-05 17:26 | Timo | Assigned To | => msv |
2016-08-05 17:26 | Timo | Relationship added | related to 0027705 |
2016-08-05 17:28 | Timo | Steps to Reproduce Updated | |
2016-08-05 17:29 | Timo | File Added: cone.zip | |
2016-08-08 10:10 | Timo | Description Updated | |
2016-08-08 10:10 | Timo | Steps to Reproduce Updated | |
2016-08-08 10:15 | Timo | Relationship added | related to 0027015 |
2016-08-08 10:22 | Timo | Description Updated | |
2016-08-08 11:04 | Timo | File Added: s10 imported in NX10.png | |
2016-08-08 11:07 | Timo | Note Added: 0056539 | |
2016-08-08 12:19 | Timo | Steps to Reproduce Updated | |
2016-10-28 12:16 |
|
Target Version | 7.1.0 => 7.2.0 |
2016-12-23 10:26 |
|
Assigned To | msv => ifv |
2016-12-23 10:26 |
|
Status | new => assigned |
2017-01-23 12:56 |
|
Note Added: 0062897 | |
2017-01-23 12:56 |
|
Assigned To | ifv => msv |
2017-01-23 12:56 |
|
Status | assigned => resolved |
2017-01-23 12:56 |
|
Steps to Reproduce Updated | |
2017-01-23 18:21 |
|
Assigned To | msv => ifv |
2017-01-23 18:21 |
|
Status | resolved => assigned |
2017-01-23 18:22 |
|
Assigned To | ifv => msv |
2017-01-23 18:22 |
|
Status | assigned => resolved |
2017-01-25 15:44 |
|
Note Added: 0063024 | |
2017-01-25 15:44 |
|
Assigned To | msv => bugmaster |
2017-01-25 15:44 |
|
Status | resolved => reviewed |
2017-01-25 15:44 |
|
Test case number | => Not needed |
2017-01-25 15:44 |
|
Status | reviewed => tested |
2017-01-27 16:18 | apn | Status | tested => verified |
2017-01-27 16:18 | apn | Resolution | open => fixed |
2017-05-31 15:34 | Timo | Reporter | Timo => Markus |
2017-09-29 16:18 |
|
Fixed in Version | => 7.2.0 |
2017-09-29 16:25 |
|
Status | verified => closed |