MantisBT - Community
View Issue Details
0025157Community[OCCT] OCCT:Meshpublic2014-08-17 01:262014-11-12 09:52
shoogen 
bugmaster 
normalmajor 
closedfixed 
Linux 64-bitDebian7.5
[OCCT] 6.7.1 
[OCCT] 6.8.0[OCCT] 6.8.0 
bugs mesh bug25157
0025157: Face missing depending the angle of revolution
the user reported that the meshing works if the angle of revolution is increased beyond 180°. The shape seems to be valid, as it can be meshes using MEFISTO.
> restore missing-tes.brep
> tclean missing-tes
This shape seems to be valid
> bopcheck missing-tes
 This shape seems to be OK.
> incmesh missing-tes 0.1
Incremental Mesh, multi-threading OFF
Meshing statuses: SelfIntersectingWire
> incmesh missing-tes 0.001
Incremental Mesh, multi-threading OFF
Meshing statuses: SelfIntersectingWire


> dversion
Open CASCADE Technology 6.7.3.dev-0304f71
Debug mode
TBB disabled
GL2PS disabled
FreeImage disabled
OpenCL disabled
Exceptions enabled
Compiler: GCC 4.7.2
Architecture: AMD64
OS: Linux
http://www.freecadweb.org/tracker/view.php?id=1681 [^]

No tags attached.
duplicate of 0025045closed abv Community STEP Import fails to find all surfaces 
related to 0022818closed oan Community Wrong triangulation of Revolution surface with slice angle <= 180 degree 
related to 0023106closed bugmaster Open CASCADE BRepMesh_IncrementalMesh returns wrong status 
? missing-tes.brep (213,166) 2014-08-17 01:26
https://tracker.dev.opencascade.org/
? working-181deg-rev.brep (134,679) 2014-08-17 01:35
https://tracker.dev.opencascade.org/
? working-tip-removed.brep (405,800) 2014-08-17 01:36
https://tracker.dev.opencascade.org/
? cone1.draw (309) 2014-08-17 02:16
https://tracker.dev.opencascade.org/
? test-proposal-bug25157 (592) 2014-10-20 13:12
https://tracker.dev.opencascade.org/
Issue History
2014-08-17 01:26shoogenNew Issue
2014-08-17 01:26shoogenAssigned To => oan
2014-08-17 01:26shoogenFile Added: missing-tes.brep
2014-08-17 01:35shoogenFile Added: working-181deg-rev.brep
2014-08-17 01:36shoogenFile Added: working-tip-removed.brep
2014-08-17 01:38shoogenNote Added: 0030804
2014-08-17 01:46shoogenNote Added: 0030805
2014-08-17 01:50shoogenNote Added: 0030806
2014-08-17 02:15shoogenNote Added: 0030807
2014-08-17 02:16shoogenNote Deleted: 0030806
2014-08-17 02:16shoogenFile Added: cone1.draw
2014-09-01 17:46oanRelationship addedrelated to 0023111
2014-09-01 17:47oanRelationship deletedrelated to 0023111
2014-09-01 17:47oanRelationship addedduplicate of 0025045
2014-09-01 17:48oanRelationship addedrelated to 0022818
2014-09-11 18:11abvStatusnew => assigned
2014-09-11 18:11abvTarget Version => 6.8.0
2014-09-12 19:18oanTarget Version6.8.0 => 7.1.0
2014-10-11 01:47shoogenNote Added: 0032997
2014-10-13 09:12abvNote Added: 0032999
2014-10-13 09:12abvAssigned Tooan => bugmaster
2014-10-13 09:12abvStatusassigned => feedback
2014-10-13 09:12abvTarget Version7.1.0 => 6.8.0
2014-10-13 09:13abvRelationship addedrelated to 0023106
2014-10-13 10:57oanNote Added: 0033003
2014-10-13 10:57oanAssigned Tobugmaster => abv
2014-10-13 11:08abvNote Added: 0033004
2014-10-13 11:22oanNote Added: 0033006
2014-10-13 11:22oanAssigned Toabv => bugmaster
2014-10-15 10:45bugmasterAssigned Tobugmaster => apv
2014-10-20 12:01bugmasterAssigned Toapv => apn
2014-10-20 13:12shoogenFile Added: test-proposal-bug25157
2014-10-20 13:15shoogenNote Added: 0033325
2014-10-31 16:58gitNote Added: 0033970
2014-10-31 16:59apnNote Added: 0033971
2014-10-31 16:59apnTest case number => bugs mesh bug25157
2014-10-31 16:59apnAssigned Toapn => bugmaster
2014-10-31 16:59apnStatusfeedback => tested
2014-11-06 15:18bugmasterChangeset attached => occt master a806787b
2014-11-06 15:18bugmasterStatustested => verified
2014-11-06 15:18bugmasterResolutionopen => fixed
2014-11-11 12:42aivFixed in Version => 6.8.0
2014-11-11 13:03aivStatusverified => closed
2014-11-12 09:52gitNote Added: 0034294

Notes
(0030804)
shoogen   
2014-08-17 01:38   
I added shapes for the existing workarounds.
One known workaround is to change the angle of revolution (here 181) degree.
The second workaround has the tip of the cone removed, which creates an additional face.
(0030805)
shoogen   
2014-08-17 01:46   
related to 22818
(0030807)
shoogen   
2014-08-17 02:15   
I created a DRAWEXE script to reproduce the problem that does not rely on external shapes, to be used as a test case:

pload MODELING
pcone Cone 6 0 10 180
pcylinder Cylinder 1 6 360
ttranslate Cylinder 0 3 1
bcut Cut Cone Cylinder
explode Cut F
tclean Cut_1
incmesh Cut_1 0.1
#Incremental Mesh, multi-threading OFF
#Meshing statuses: SelfIntersectingWire
trinfo Cut_1
#
#This shape contains 0 triangles.
# 0 nodes.
#Maximal deflection 0
donly Cut_1
(0032997)
shoogen   
2014-10-11 01:47   
solved by 0023106
(0032999)
abv   
2014-10-13 09:12   
Please add a test case
(0033003)
oan   
2014-10-13 10:57   
Dear ABV,

Fact that this problem was being fixed by 0023106 is just a side effect that does not fix problem in general (see 0025045).

I suggest leaving this bug open as long as 0025045 will not be fixed.
(0033004)
abv   
2014-10-13 11:08   
Oleg, if the problem is not reproduced any more, it is right time to add a test case and integrate it to master; this will let us know if some other change will break the case. The issue can be closed then, as there is no utility in having it open. Do you agree on this?
(0033006)
oan   
2014-10-13 11:22   
Yes, sounds reasonable.
(0033325)
shoogen   
2014-10-20 13:15   
please ignore the latest file. it sets nbtri_r and tests nbtri_s :(
(0033970)
git   
2014-10-31 16:58   
Branch CR25157 has been created by apn.

SHA-1: 8e76b19002f34e78bc400c7f3a304d6638b0e935


Detailed log of new commits:

Author: apn
Date: Fri Oct 31 16:58:29 2014 +0300

    0025157: Face missing depending the angle of revolution
    
    Added test case bugs/mesh/bug25157
(0033971)
apn   
2014-10-31 16:59   
Problem is not reproduced on current state of master on Windows and Debian60-64 in Release and Debug modes.
Branch CR25157 was created. It contains test case:
bugs mesh bug25157 - OK
(0034294)
git   
2014-11-12 09:52   
Branch CR25157 has been deleted by inv.

SHA-1: 8e76b19002f34e78bc400c7f3a304d6638b0e935