MantisBT - Community
View Issue Details
0026889Community[OCCT] OCCT:Meshpublic2015-11-17 20:032018-11-11 12:00
Istvan Csanady 
bugmaster 
normalminor 
closedfixed 
 
[OCCT] 7.4.0[OCCT] 7.4.0 
bugs mesh bug26889, perf/mesh/bug26889_1
0026889: Very poor mesh result from shape
After importing and visualizing the attached STEP file, the resulting mesh is very poor. The geometry is created in OCCT, and the same happens when it is imported from .brep file format.
Test case has already been created.
No tags attached.
duplicate of 0026965closed bugmaster Community BRepMesh_IncrementalMesh hangs, and consumes infinite memory 
related to 0026106closed bugmaster Open CASCADE BRepMesh - revision of data model 
? export.step (189,761) 2015-11-17 20:03
https://tracker.dev.opencascade.org/
png bug26889-draw.png (109,721) 2015-11-17 22:42
https://tracker.dev.opencascade.org/
jpg IMG_0002.jpg (507,336) 2015-11-18 11:31
https://tracker.dev.opencascade.org/
jpg IMG_0003.jpg (600,144) 2015-11-18 11:31
https://tracker.dev.opencascade.org/
Issue History
2015-11-17 20:03Istvan CsanadyNew Issue
2015-11-17 20:03Istvan CsanadyAssigned To => msv
2015-11-17 20:03Istvan CsanadyFile Added: export.step
2015-11-17 22:41abvTarget Version7.0.0 => 7.1.0
2015-11-17 22:42abvFile Added: bug26889-draw.png
2015-11-17 23:26abvNote Added: 0048323
2015-11-17 23:26abvNote Edited: 0048323bug_revision_view_page.php?bugnote_id=48323#r12281
2015-11-18 10:34msvAssigned Tomsv => oan
2015-11-18 10:34msvCategoryOCCT:Modeling Algorithms => OCCT:Mesh
2015-11-18 11:31Istvan CsanadyFile Added: IMG_0002.jpg
2015-11-18 11:31Istvan CsanadyFile Added: IMG_0003.jpg
2015-11-18 11:31Istvan CsanadyNote Added: 0048336
2015-11-18 11:35Istvan CsanadyNote Edited: 0048336bug_revision_view_page.php?bugnote_id=48336#r12291
2016-02-08 14:06oanRelationship addedduplicate of 0026965
2016-10-25 17:42oanTarget Version7.1.0 => 7.2.0
2016-11-01 13:52oanRelationship addedrelated to 0026106
2017-07-20 12:43oanTarget Version7.2.0 => 7.3.0
2017-08-14 20:42mkvTest case number => bugs mesh bug26889
2017-08-14 20:42mkvNote Added: 0069367
2018-02-25 21:14abvTarget Version7.3.0 => 7.4.0
2018-11-02 18:44oanNote Added: 0080663
2018-11-02 18:44oanAssigned Tooan => abv
2018-11-02 18:44oanStatusnew => feedback
2018-11-06 14:53abvAssigned Toabv => msv
2018-11-06 14:54abvNote Added: 0080751
2018-11-06 15:53msvAssigned Tomsv => nbv
2018-11-07 14:25gitNote Added: 0080827
2018-11-07 17:18gitNote Added: 0080861
2018-11-07 17:19gitNote Added: 0080862
2018-11-07 17:50gitNote Added: 0080878
2018-11-07 18:12nbvNote Added: 0080896
2018-11-07 18:12nbvAssigned Tonbv => msv
2018-11-07 18:12nbvStatusfeedback => resolved
2018-11-07 18:12nbvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20345#r20345
2018-11-08 10:41msvNote Added: 0080917
2018-11-08 10:41msvAssigned Tomsv => nbv
2018-11-08 10:41msvStatusresolved => assigned
2018-11-08 10:56nbvNote Added: 0080918
2018-11-08 10:56gitNote Added: 0080919
2018-11-08 10:56nbvAssigned Tonbv => msv
2018-11-08 10:56nbvStatusassigned => resolved
2018-11-08 12:20msvNote Added: 0080931
2018-11-08 12:20msvAssigned Tomsv => bugmaster
2018-11-08 12:20msvStatusresolved => reviewed
2018-11-08 12:31msvNote Added: 0080935
2018-11-08 12:31msvAssigned Tobugmaster => nbv
2018-11-08 12:31msvStatusreviewed => assigned
2018-11-08 14:31gitNote Added: 0080951
2018-11-08 14:31nbvNote Added: 0080953
2018-11-08 14:31nbvStatusassigned => resolved
2018-11-08 14:50nbvAssigned Tonbv => msv
2018-11-08 18:14msvNote Added: 0080984
2018-11-08 18:14msvAssigned Tomsv => bugmaster
2018-11-08 18:14msvStatusresolved => reviewed
2018-11-09 15:07bugmasterTest case numberbugs mesh bug26889 => bugs mesh bug26889, perf/mesh/bug26889_1
2018-11-09 15:08bugmasterStatusreviewed => tested
2018-11-11 11:52bugmasterChangeset attached => occt master a385e6d1
2018-11-11 11:52bugmasterStatustested => verified
2018-11-11 11:52bugmasterResolutionopen => fixed
2018-11-11 12:00gitNote Added: 0081026

Notes
(0048323)
abv   
2015-11-17 23:26   
I do not see any essential problem with the mesh, see attached image (made by displaying shape in DRAW). However, IMHO the mesh takes too long to be built (~ 60 sec with default parameters on my machine: CPU i7-4790 3.2GHz, Win 10, VC10 x64 Release). With command incmesh:

| Deflection | CPU, sec |
-------------------------
| 1.0 | 4.5 |
| 0.1 | 36 |
| 0.01 | 990 |

(0048336)
Istvan Csanady   
2015-11-18 11:31   
(edited on: 2015-11-18 11:35)
It is slow for me too, and the memory consumption is extremely high as well. See the attached images for the result I get. Deflection value is 0.1

(0069367)
mkv   
2017-08-14 20:42   
Problem described in issue is reproduced on current state of OCCT.
(0080663)
oan   
2018-11-02 18:44   
On Master version:

| Deflection | CPU, sec |
-------------------------
| 1.0 | 3.2 |
| 0.1 | 15.7 |
| 0.01 | 100.7 |

On IR-2018-11-02 version:
| Deflection | CPU, sec |
-------------------------
| 1.0 | 3.7 |
| 0.1 | 8.9 |
| 0.01 | 51.6 |
(0080751)
abv   
2018-11-06 14:54   
I propose we shall close this issue, adding a test case to measure performance with deflections as used above (1.0, 0.1, 0.01).
(0080827)
git   
2018-11-07 14:25   
Branch CR26889 has been created by nbv.

SHA-1: ad2d4e206ececb10f5c8b5333968f93b527035ce


Detailed log of new commits:

Author: nbv
Date: Wed Nov 7 14:19:10 2018 +0300

    0026889: Very poor mesh result from shape
    
    Only test cases have been created.
(0080861)
git   
2018-11-07 17:18   
Branch CR26889 has been updated forcibly by nbv.

SHA-1: 47f0cdd04f9815a15f3aeb15a434c1ea6c0e8820
(0080862)
git   
2018-11-07 17:19   
Branch CR26889 has been updated by nbv.

SHA-1: cc7530b768c2d668420489fdfe20ec30a7cf954b


No new revisions were added by this update.

(0080878)
git   
2018-11-07 17:50   
Branch CR26889 has been updated forcibly by nbv.

SHA-1: affac322f69e29ff6eb975777ebf45dfe5eda03f
(0080896)
nbv   
2018-11-07 18:12   
Dear Mikhail,

Please review the branch CR26889.

Test results are here:
Windows: http://jenkins-test-12.nnov.opencascade.com/view/MeshTest-master_NBV/view/TESTING/job/MeshTest-master_NBV-OCCT-Windows-64-VC14-opt-test-restart/HTML_20Report/ [^]

Linux: http://jenkins-test-12.nnov.opencascade.com/view/MeshTest-master_NBV/view/TESTING/job/MeshTest-master_NBV-OCCT-Debian80-64-opt-test-restart/HTML_20Report/ [^]
(0080917)
msv   
2018-11-08 10:41   
- Remove dlog commands
- Update the header
(0080918)
nbv   
2018-11-08 10:56   
Done. Please review CR26889 again.
(0080919)
git   
2018-11-08 10:56   
Branch CR26889 has been updated forcibly by nbv.

SHA-1: 5b82ae176fb59a61e9e816cc48cb6dac784cdbd9
(0080931)
msv   
2018-11-08 12:20   
Reviewed.
(0080935)
msv   
2018-11-08 12:31   
The test gives warning
Warning, unknown argument '-AUTOTRIAN'
So, the command was not done.
(0080951)
git   
2018-11-08 14:31   
Branch CR26889 has been updated forcibly by nbv.

SHA-1: 8b0959cdda25077ffae2f8f1e89f3591a668be33
(0080953)
nbv   
2018-11-08 14:31   
Done. Please review CR26889 again.
(0080984)
msv   
2018-11-08 18:14   
Reviewed.
(0081026)
git   
2018-11-11 12:00   
Branch CR26889 has been deleted by inv.

SHA-1: 8b0959cdda25077ffae2f8f1e89f3591a668be33