View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025654 | Open CASCADE | OCCT:Data Exchange | public | 2014-12-24 12:46 | 2023-08-01 15:09 |
Reporter | Assigned To | ||||
Priority | normal | Severity | integration request | ||
Status | assigned | Resolution | open | ||
Target Version | Unscheduled | ||||
Summary | 0025654: Data Exchange - Disable writing pcurves to STEP and IGES by default | ||||
Description | Currently global DE parameter write.surfacecurve.mode is set to 1 by default, i.e. pcurves are stored in the file when it is written to STEP and IGES. Theoretically this should improve quality of translation and make import faster. However in practice it seems to be not the case. For instance, problem reported in #25523 disappears if pcurves are not written. On that model, writing without pcurves reduces size of the file 3 times, eliminates problems of loading that file to Hoops Exchange Demo, and improves loading to Pro Engineer. On some other models from customers we also observe considerable difference in size of STEP file written with pcurves vs. one without it (3.6 Mb vs. 17 Mb), with no visible effect on performance of import. Hence it will be logical to change default value of write.surfacecurve.mode to 0. | ||||
Steps To Reproduce | This bug is reproduced only when you open the step file in external CAD systems(such as ProEngineer, SolidWorks, Rhinoceros). http://tracker.dev.opencascade.org/view.php?id=25523 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0028025 | assigned | Community | Bad triangulation if step file was exported with write.surfacecurve.mode = 0 |
|
Branch CR25654 has been created by ink. SHA-1: 9b633447fb4567efafa4756818b301db9c6e0944 Detailed log of new commits: Author: ink Date: Tue Dec 30 10:50:21 2014 +0300 0025654: Disable writing pcurves to STEP and IGES by default Changed default value of write.surfacecurve.mode to 0. Added SplitClosedFaces to XSTEPResource/STEP. This is necessary for correct display of closed surfaces (such as a torus) in applications such as ProEngineer, SolidWorks, Rhinoceros. |
|
Reviewed and tested in external CAD systems, please run OCCT non-regression tests and integrate. Model from #25523 is now opened fine in ProEngineer, Rhinoceros 4.0, Solidworks (there are minor artifacts however, looking like too rough mesh at the end of a pipe), and Hoops Exchange demo. Also tested on complete Stator model in CAD Assistant on Android (ASUS Nexus 7): - with pcurves: file size is 64 Mb, opened in ~ 2200 sec, 77 K faces, mesh has 1.3 M triangles - without pcurves: file size is 29 Mb, opened in ~ 1100 sec, 76 K faces, mesh has 1.5 M triangles Note that variant without pcurves is not only twice less and is loaded twice faster, but also does not fail on reading of sub-shape subject of #25523, this is a reason of having more faces and triangles. Memory usage is of the same scale (VM ~ 1400 Mb), the only different parameter is Working Set (611 Mb vs 643 Mb). |
|
Branch CR25654 has been updated forcibly by mkv. SHA-1: 0d46b096c8b0e5bd923fb96651ad4ea1636bf8e4 |
|
Dear BugMaster, Branch CR25654 was rebased on current master of occt git-repository. |
|
Dear BugMaster, Branch CR25654 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 0d46b096c8b0e5bd923fb96651ad4ea1636bf8e4 Number of compiler warnings: occt component : Linux: 18 (18 on master) Windows: 0 (0 on master) products component : Linux: 11 (11 on master) Windows: 1 (1 on master) Regressions/Differences: http://occt-tests/CR25654-master-occt/Debian60-64/summary.html http://occt-tests/CR25654-master-products/Debian60-64/summary.html Testing on Linux: occt component : Total MEMORY difference: 315865072 / 319325816 Total CPU difference: 35996.94000000016 / 33649.83000000009 products component : Total MEMORY difference: 108405040 / 110985888 Total CPU difference: 16655.759999999966 / 15822.40999999997 |
|
Branch CR25654 has been updated by ink. SHA-1: dd4afe2fb68fefe496596aada5595841af9547b6 Detailed log of new commits: Author: ink Date: Wed Feb 11 12:53:18 2015 +0300 Tests changed in connection with changing tolerance |
|
Tests changed in connection with changing tolerance(tolerance decreased). |
|
Branch CR25654 has been updated forcibly by ink. SHA-1: 7f6574299e86e91aab73097fa0a393172070b54c |
|
Branch CR25654 has been updated forcibly by ink. SHA-1: 499045ff88d9b046b59d94de40b19dc39b34bc3f |
|
Branch CR25654 is ready to be tested |
|
Branch CR25654 has been updated forcibly by mkv. SHA-1: 9729c0dd9065da7cd78698dba87abc97fb7bcc6a |
|
Dear BugMaster, Branch CR25654 was rebased on current master of occt git-repository. |
|
Dear BugMaster, Branch CR25654 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 9729c0dd9065da7cd78698dba87abc97fb7bcc6a Number of compiler warnings: occt component : Linux: 18 (18 on master) Windows: 0 (0 on master) products component : Linux: 11 (11 on master) Windows: 1 (1 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR25654-master-occt/Debian60-64/summary.html http://occt-tests/CR25654-master-occt/Windows-32-VC10/summary.html http://occt-tests/CR25654-master-products/Debian60-64/summary.html http://occt-tests/CR25654-master-products/Windows-32-VC10/summary.html |
|
Branch CR25654 has been updated forcibly by ink. SHA-1: 0af52d84ea78b77a44c3ad73749a61fb313db5d7 |
|
> 2015-02-16 20:12 mkv Status reviewed => assigned What is the state of this issue? I see the status change, but no comment WHY it was done (test report does not refer issues). |
|
Dear Alexey, please rebase the patch and re-test it. |
|
Branch CR25654 has been updated forcibly by alukin. SHA-1: aa4137161e24eafcca0bc924062d438e8b1ed349 |
|
Branch CR25654 has been updated forcibly by alukin. SHA-1: a60fa0d28b2f731736265ec7dc0af86b910cf680 |
|
Branch CR25654 has been updated forcibly by alukin. SHA-1: 585659c9edb6913fa4f3ee568497f1af6b38f403 |
|
Branch CR25654 has been updated by alukin. SHA-1: 14a58b6472f284615ac438e1db3ad8e9b1d34151 Detailed log of new commits: Author: aln Date: Mon Apr 18 15:38:17 2022 +0300 Added license.md |
|
Branch CR25654 has been updated by alukin. SHA-1: c88a9e8472d64335b0a8c6492e9ef2edf24f2367 Detailed log of new commits: Author: aln Date: Thu Apr 28 11:21:22 2022 +0300 Fixed TransferEdge |
|
It has been rebased on master. Fixed BRepToIGES_BRWire::TransferEdge: in case when GetPCurveMode() == 0 BRepToIGES_BRWire::TransferEdge returned null Handle(IGESData_IGESEntity). So some failed tests passed successfully. |
|
The last commit makes the flag GetPCurveMode in IGES writer being ignored, so that pcurves are always written. So, another solution must be elaborated to get rid of regressions. |
|
Branch CR25654_1 has been created by ona. SHA-1: 04ee2123d024af3387dbc01b91a6e90d866626f2 Detailed log of new commits: Author: ona Date: Mon Jul 11 19:05:42 2022 +0300 #TransferEdge fix rollback Author: ink Date: Mon Mar 23 09:41:37 2015 +0300 fixed part of the regressions Author: aln Date: Mon Apr 18 15:38:17 2022 +0300 Added license.md Author: aln Date: Thu Apr 28 11:21:22 2022 +0300 Fixed TransferEdge Author: ink Date: Tue Dec 30 10:50:21 2014 +0300 0025654: Disable writing pcurves to STEP and IGES by default Changed default value of write.surfacecurve.mode to 0. Added SplitClosedFaces to XSTEPResource/STEP. This is necessary for correct display of closed surfaces (such as a torus) in applications such as ProEngineer, SolidWorks, Rhinoceros. Tests changed in connection with changing tolerance. In test bugs/iges/bug23018 enabled writing pcurves. |
|
Branch CR25654_2 has been created by ona. SHA-1: cc0b3c175f5930e9a42ba78c517a604f56653445 Detailed log of new commits: Author: ink Date: Tue Dec 30 10:50:21 2014 +0300 0025654: Disable writing pcurves to STEP and IGES by default Changed default value of write.surfacecurve.mode to 0. |
|
Bug http://tracker.dev.opencascade.org/view.php?id=25523 is not reproduced on current master.I consider it impractical to disable writing curves to a file, since it leads to a large number of regressions. Statistics is given in the attached file. progress.docx (14,340 bytes) |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-12-24 12:46 |
|
New Issue | |
2014-12-24 12:46 |
|
Assigned To | => gka |
2014-12-30 10:09 |
|
Assigned To | gka => ink |
2014-12-30 10:09 |
|
Status | new => assigned |
2014-12-30 10:51 | git | Note Added: 0035869 | |
2014-12-30 11:49 |
|
Assigned To | ink => gka |
2014-12-30 11:49 |
|
Status | assigned => resolved |
2014-12-30 11:49 |
|
Steps to Reproduce Updated | |
2014-12-30 12:46 |
|
Note Added: 0035877 | |
2014-12-30 12:46 |
|
Assigned To | gka => bugmaster |
2014-12-30 12:46 |
|
Status | resolved => reviewed |
2015-01-16 15:31 | git | Note Added: 0036146 | |
2015-01-16 15:48 |
|
Assigned To | bugmaster => mkv |
2015-01-19 14:08 |
|
Note Added: 0036203 | |
2015-01-19 14:09 |
|
Note Added: 0036204 | |
2015-01-19 14:09 |
|
Assigned To | mkv => abv |
2015-01-19 14:09 |
|
Status | reviewed => assigned |
2015-01-19 14:18 |
|
Assigned To | abv => ink |
2015-02-11 13:16 | git | Note Added: 0037348 | |
2015-02-11 13:17 |
|
Note Added: 0037349 | |
2015-02-12 10:13 |
|
Assigned To | ink => gka |
2015-02-12 10:13 |
|
Status | assigned => resolved |
2015-02-12 11:56 | git | Note Added: 0037421 | |
2015-02-12 11:56 | git | Note Added: 0037422 | |
2015-02-16 11:52 |
|
Note Added: 0037563 | |
2015-02-16 11:52 |
|
Assigned To | gka => bugmaster |
2015-02-16 11:52 |
|
Status | resolved => reviewed |
2015-02-16 13:07 |
|
Assigned To | bugmaster => mkv |
2015-02-16 13:33 | git | Note Added: 0037566 | |
2015-02-16 20:11 |
|
Note Added: 0037601 | |
2015-02-16 20:12 |
|
Note Added: 0037602 | |
2015-02-16 20:12 |
|
Assigned To | mkv => ink |
2015-02-16 20:12 |
|
Status | reviewed => assigned |
2015-03-25 12:08 | git | Note Added: 0038875 | |
2015-04-14 18:15 |
|
Target Version | 6.9.0 => 7.0.0 |
2016-02-08 10:12 |
|
Target Version | 7.0.0 => 7.1.0 |
2016-10-26 20:03 |
|
Assigned To | ink => |
2016-10-26 20:03 |
|
Target Version | 7.1.0 => 7.2.0 |
2016-10-28 15:10 | Timo | Relationship added | related to 0028025 |
2017-07-27 09:33 |
|
Target Version | 7.2.0 => 7.4.0 |
2018-06-15 15:43 | kgv | Note Added: 0076800 | |
2018-06-15 15:43 | kgv | Assigned To | => abv |
2018-06-15 15:43 | kgv | Status | assigned => feedback |
2018-06-15 15:43 | kgv | Severity | minor => integration request |
2019-07-10 21:38 |
|
Target Version | 7.4.0 => 7.5.0 |
2020-03-04 11:50 | kgv | Summary | Disable writing pcurves to STEP and IGES by default => Data Exchange - Disable writing pcurves to STEP and IGES by default |
2020-09-25 20:35 |
|
Target Version | 7.5.0 => 7.6.0 |
2021-10-18 14:02 | kgv | Target Version | 7.6.0 => 7.7.0 |
2022-01-18 18:22 |
|
Assigned To | abv => ssafarov |
2022-01-18 18:22 |
|
Status | feedback => assigned |
2022-01-18 18:22 |
|
Note Added: 0106452 | |
2022-04-04 11:34 |
|
Assigned To | ssafarov => alukin |
2022-04-04 11:35 |
|
Note Edited: 0106452 | |
2022-04-05 15:15 | git | Note Added: 0107639 | |
2022-04-06 17:08 | git | Note Added: 0107667 | |
2022-04-16 13:20 | git | Note Added: 0108001 | |
2022-04-18 15:38 | git | Note Added: 0108017 | |
2022-04-28 11:21 | git | Note Added: 0108235 | |
2022-05-05 19:50 | alukin | Note Added: 0108354 | |
2022-05-05 20:14 |
|
Note Added: 0108355 | |
2022-07-01 12:15 |
|
Assigned To | alukin => ona |
2022-07-11 19:07 | git | Note Added: 0109766 | |
2022-08-16 10:50 | git | Note Added: 0110240 | |
2022-08-17 17:55 |
|
Note Added: 0110266 | |
2022-08-17 17:55 |
|
File Added: progress.docx | |
2022-08-17 17:56 |
|
Assigned To | ona => abv |
2022-08-17 17:57 |
|
Assigned To | abv => gka |
2022-10-24 10:38 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:09 | dpasukhi | Target Version | 7.8.0 => Unscheduled |