[Gmsh] failed to build meshes from STP geometries with several materials

trophime christophe.trophime at lncmi.cnrs.fr
Fri Jul 26 14:16:37 CEST 2013


Hi,
I am trying to mesh the attached STP geometries (CP-04-001M
is a simpler model with only 2 cylinders fitting together).
I tried to use OCC options to "Cut and connect faces".
I have 2 error messages:
  Error   : TopOpeBRep_EdgesIntersector : Situation Unknown M
  Error   : Self intersecting surface mesh, computing intersections
(this could take a while)
and a long list of intersecting faces...

I've tried to play with the geometric tolerance to fix the intersections
pb without any success.

How can I manage to get these geometries meshed with gmsh?
Best

C

PS: I'm running gmsh (rev 16301) on Debian testing with OCE 0.12-3.


-- 


Christophe TROPHIME
Research Engineer

LNCMI
CNRS - LNCMI
25, rue des Martyrs
BP 166
38042 GRENOBLE Cedex 9
FRANCE
CNRS

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01
Office U 19 
M at il : christophe.trophime at lncmi.cnrs.fr 
________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CP-04-000M.stp.gz
Type: application/x-gzip
Size: 2410202 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130726/2ac7d769/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CP-04-001M.stp.gz
Type: application/x-gzip
Size: 1231907 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130726/2ac7d769/attachment-0001.gz>
-------------- next part --------------
Geometry.AutoCoherence=1;

//Fix degenerated edges/faces in STEP, IGES and BRep models
Geometry.OCCFixDegenerated=1;

//Fix small edges in STEP, IGES and BRep models
Geometry.OCCFixSmallEdges=1;

//Fix small faces in STEP, IGES and BRep models
Geometry.OCCFixSmallFaces=1;

//Sew faces in STEP, IGES and BRep models
//Geometry.OCCSewFaces=1;

//Cut and connect faces in STEP, IGES and BRep models
Geometry.OCCConnectFaces=1;

Merge "CP-04-000M.stp";
Mesh.CharacteristicLengthFactor=0.5;

-------------- next part --------------
Geometry.AutoCoherence=1;

//Fix degenerated edges/faces in STEP, IGES and BRep models
Geometry.OCCFixDegenerated=1;

//Fix small edges in STEP, IGES and BRep models
//Geometry.OCCFixSmallEdges=1;

//Fix small faces in STEP, IGES and BRep models
//Geometry.OCCFixSmallFaces=1;

//Sew faces in STEP, IGES and BRep models
//Geometry.OCCSewFaces=1;

//Cut and connect faces in STEP, IGES and BRep models
Geometry.OCCConnectFaces=1;

Merge "CP-04-001M.stp";
Mesh.CharacteristicLengthFactor=0.1;