<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>crash when meshing 'cleaned' STEP file</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial>Hi Mark,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial>thank you for pointing me to MeshLab. </FONT></SPAN><SPAN 
class=316033608-11042011><FONT color=#0000ff size=2 face=Arial>I just had a 
quick look on it. The problem is that in stl format, all information about the 
triangles being assigned to surfaces seem to get lost. So even if the 
self-intersecting/duplicate faces can be collapsed, I cannot reconstruct the 
geometry, especially the volumes, which I need to do in order to create a 3D 
mesh.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial>Best regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=316033608-11042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=316033608-11042011><FONT color=#0000ff size=2 
face=Arial>Matthias</FONT></SPAN></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Smith, Mark [mailto:Mark.Smith@Linx.co.uk] 
<BR><B>Gesendet:</B> Freitag, 8. April 2011 18:06<BR><B>An:</B> Zenker, Dr. 
Matthias; gmsh@geuz.org<BR><B>Betreff:</B> RE: [Gmsh] crash when meshing 
'cleaned' STEP file<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=480480416-08042011><FONT color=#0000ff 
size=2 face=Arial>Hi Matthias</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=480480416-08042011><FONT color=#0000ff 
size=2 face=Arial>Have you had a look at MeshLab <A 
href="http://meshlab.sourceforge.net/">http://meshlab.sourceforge.net/</A> which 
might enable you to do what you want if you export in stl format 
first?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=480480416-08042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=480480416-08042011><FONT color=#0000ff 
size=2 face=Arial>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=480480416-08042011><FONT color=#0000ff 
size=2 face=Arial>mark</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> gmsh-bounces@ace20.montefiore.ulg.ac.be 
[mailto:gmsh-bounces@ace20.montefiore.ulg.ac.be] <B>On Behalf Of </B>Zenker, Dr. 
Matthias<BR><B>Sent:</B> 08 April 2011 14:19<BR><B>To:</B> 
gmsh@geuz.org<BR><B>Subject:</B> [Gmsh] crash when meshing 'cleaned' STEP 
file<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT size=2 face=Arial>Hi,</FONT> </P>
<P><FONT size=2 face=Arial>I am working on a method to 'clean' STEP files in 
order to get a conformal mesh between adjacent bodies. If I get it to work, I 
will be happy to share it, but I am still struggling at the moment...</FONT></P>
<P><FONT size=2 face=Arial>My problem is that gmsh will not mesh my 'cleaned' 
geometry. What I try to do is to determine the surfaces and lines which are 
identical, delete the unnecessary ones and redefine the volumes using the 
remaining surfaces. I use an external tool (scilab script), so I did not modify 
gmsh. Please find in the attachment my test geometry in STEP format and the geo 
file I want to use for the 3D mesh. gmsh does the 2D and 2D meshing without 
problems, but crashes during the 3D mesh (either I get a net crash, or gmsh does 
not respond any more after some time, and I have to kill it). Did I do something 
wrong when generating the geo file? I would be very happy if someone could have 
a look on my case.</FONT></P>
<P><FONT size=2 face=Arial>I am using gmsh 2.5.1svn under Windoze XP.</FONT> 
</P>
<P><FONT size=2 face=Arial>Thank you for any hint,</FONT> </P>
<P><FONT size=2 face=Arial>Matthias</FONT> </P>
<P><FONT size=2 
face=Arial>----------------------------------------------------------------</FONT> 
<BR><FONT size=2 face=Arial>ERBE Elektromedizin GmbH</FONT> <BR><FONT size=2 
face=Arial>Dr.rer.nat. Matthias Zenker</FONT> <BR><FONT size=2 face=Arial>Dipl. 
Phys.</FONT> <BR><FONT size=2 face=Arial>Grundlagenentwicklung / Fundamental 
Development</FONT> <BR><FONT size=2 face=Arial>Waldhoernlestrasse 17</FONT> 
<BR><FONT size=2 face=Arial>72072 Tuebingen</FONT> <BR><FONT size=2 
face=Arial>Germany</FONT> <BR><FONT size=2 face=Arial>Phone + 49 (0) 7071 755 - 
226</FONT> <BR><FONT size=2 face=Arial>Fax + 49 (0) 7071 755 - 5226</FONT> 
<BR><FONT size=2 face=Arial>E-Mail: <</FONT><A 
href="mailto:Matthias.Zenker@erbe-med.com"><U><FONT color=#0000ff size=2 
face=Arial>mailto:Matthias.Zenker@erbe-med.com</FONT></U></A><FONT size=2 
face=Arial>></FONT> <BR><FONT size=2 face=Arial>URL: </FONT><A 
href="http://www.ERBE-med.com"><U><FONT color=#0000ff size=2 
face=Arial>http://www.ERBE-med.com</FONT></U></A> <BR><FONT size=2 
face=Arial>----------------------------------------------------------------</FONT> 
<BR><FONT color=#000000 size=2 face=Arial><<Baugruppe1_overlap.zip>> 
</FONT></P><BR clear=all></BODY></HTML>