View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024144 | Community | OCCT:Modeling Algorithms | public | 2013-09-04 19:11 | 2013-12-19 13:58 |
Reporter | eryar | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2008 | ||
Product Version | 6.6.0 | ||||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0024144: BRepPrimAPI_MakeWedge wrong | ||||
Description | dx = 200.0; dy = 620.0; dz = 2150.0; xmin = 0; xmax = 200; zmin = 1075; zmax = 1075; 1. When use the following constructor, the wedge result is correct; BRepPrimAPI_MakeWedge(dx, dy, dz, xmin, zmin, xmax, zmax); 2. When use the following constructor, make wedge with gp_Ax2 will get wrong result: BRepPrimAPI_MakeWedge(axis, dx, dy, dz, xmin, zmin, xmax, zmax); See the attach picture: | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_5(010) bug24144_1, bug24144_2 | ||||
|
BRepPrimAPI_MakeWedge.png (18,687 bytes) |
2013-10-14 10:34 developer |
testFunction.txt (595 bytes) |
|
Dear ifv, Please, test the current state of branch CR24144 to be sure it is still ok. for testing you can add debug function in BRepTest_PrimitiveCommands.cxx (code in attach file). |
|
Ok |
|
Dear BugMaster, Branch CR24144 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: d6e3ea24a88188da4920981808c5b81064173737 Number of compiler warnings: occt component : Linux: 368 (370 on master) Windows: 6 (6 on master) products component : Linux: 189 (191 on master) Windows: 287 (287 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24144-master-occt/Debian60-64/bugs/modalg_5/bug24144_1.html http://occt-tests/CR24144-master-occt/Debian60-64/bugs/modalg_5/bug24144_2.html http://occt-tests/CR24144-master-occt/Windows-32-VC9/bugs/modalg_5/bug24144_1.html http://occt-tests/CR24144-master-occt/Windows-32-VC9/bugs/modalg_5/bug24144_2.html bugs modalg_5(010) bug24144_1: OK bugs modalg_5(010) bug24144_2: OK Testing on Linux: Total MEMORY difference: 353219644 / 353388572 Total CPU difference: 39941.28000000092 / 43385.17000000097 Testing on Windows: Total MEMORY difference: 407144140 / 411317668 Total CPU difference: 32292.546875 / 37715.5625 There are not differences in images found by testdiff. |
|
If do not set the axis of the wedge, the result is right; If set the axis to an arbitrary direction, the result is wrong. My code is as follow: // Test wedge shape. BRepPrimAPI_MakeWedge mkWedge1(200, 620, 2150, 0, 1075, 200, 1075); Handle_AIS_Shape wedge1 = new AIS_Shape(mkWedge1.Shape()); myAISContext->Display(wedge1); //gp_Ax2 axis; gp_Ax2 axis(gp_Pnt(0, 200, 0), gp_Dir(1, 1, 1)); BRepPrimAPI_MakeWedge mkWedge2(axis, 200, 620, 2150, 0, 1075, 200, 1075); Handle_AIS_Shape wedge2 = new AIS_Shape(mkWedge2.Shape()); myAISContext->Display(wedge2); |
|
wedge.png (4,170 bytes) |
occt: master b70bbe58 2013-10-17 08:36:38
Committer: bugmaster Details Diff |
0024144: BRepPrimAPI_MakeWedge wrong fixed direction computing in gp_Lin Primitives_Wedge::Line. Test cases for issue CR24144 |
Affected Issues 0024144 |
|
mod - src/Primitives/Primitives_Wedge.gxx | Diff File | ||
add - tests/bugs/modalg_5/bug24144_1 | Diff File | ||
add - tests/bugs/modalg_5/bug24144_2 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-04 19:11 | eryar | New Issue | |
2013-09-04 19:11 | eryar | Assigned To | => ifv |
2013-09-04 19:11 | eryar | File Added: BRepPrimAPI_MakeWedge.png | |
2013-10-08 13:33 |
|
Assigned To | ifv => aml |
2013-10-08 13:34 |
|
Status | new => assigned |
2013-10-14 10:34 |
|
File Added: testFunction.txt | |
2013-10-14 10:35 |
|
Note Added: 0026060 | |
2013-10-14 10:35 |
|
Assigned To | aml => ifv |
2013-10-14 10:35 |
|
Status | assigned => resolved |
2013-10-14 10:35 |
|
Note Edited: 0026060 | |
2013-10-14 11:09 |
|
Note Added: 0026062 | |
2013-10-14 11:09 |
|
Status | resolved => reviewed |
2013-10-15 16:31 |
|
Note Added: 0026091 | |
2013-10-15 16:32 |
|
Test case number | => bugs modalg_5(010) bug24144_1, bug24144_2 |
2013-10-15 16:32 |
|
Assigned To | ifv => bugmaster |
2013-10-15 16:32 |
|
Status | reviewed => tested |
2013-10-16 14:15 | eryar | Note Added: 0026106 | |
2013-10-16 14:15 | eryar | File Added: wedge.png | |
2013-10-17 11:24 | bugmaster | Target Version | => 6.7.0 |
2013-10-18 13:47 | bugmaster | Changeset attached | => occt master b70bbe58 |
2013-10-18 13:47 | bugmaster | Status | tested => verified |
2013-10-18 13:47 | bugmaster | Resolution | open => fixed |
2013-12-19 13:51 | bugmaster | Status | verified => closed |
2013-12-19 13:58 | bugmaster | Fixed in Version | => 6.7.0 |