<div dir="ltr"><div>Hi Aaron,</div><div><br></div><div>I include the following lines at the beginning of my geo files.    My CAD is created and exported from Rhino as a STP file, and has units of meters.  </div><div><br></div><div>Geometry.Tolerance = 0.001;   <br>Geometry.OCCSewFaces = 1;<br></div><div><br></div><div>If the tolerance is set too tight, the CAD kernel in gmsh treats the trim curves from neighboring surfaces as independent curves.  You may also need to change the degree of the surfaces in the CAD model so it is consistent across all of the patches.  I have had good success with bicubic NURBS.  You may also need to ensure that neighboring patches have a similar number of control points along shared boundaries.  </div><div><br></div><div>Good luck,</div><div><br></div><div>Bill</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 6:30 AM, Aaron Kiefer <span dir="ltr"><<a href="mailto:AKiefer@accident-research.com" target="_blank">AKiefer@accident-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal">GMSH Group,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m still working with importing a .step surface file to create a 2D mesh for PC-Crash.  The model has been separating when I try to analyze it.  Inspection of the .geo file indicates redundant points, lines, and faces along common surfaces
 of the model.  For reference, I copied one set of offending surfaces, lines, and points from the .geo file and typed them below. Is there a way to tell GMSH to remove the duplicate points, lines, and surfaces before or during meshing?  From reading the help, 
 the sew faces command sounds like what I need.  I tried opening the .Step file using the below ‘sew faces’ box checked before saving as a .geo but that didn’t change anything…<u></u><u></u></p>
<p class="MsoNormal"><img width="413" height="345" src="cid:image001.png@01D1623A.38F5C0B0"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Plane Surface(40) = {131,-133, -128, 132};<u></u><u></u></p>
<p class="MsoNormal">Plane Surface(48)  = {161, -162, -163, 159};<u></u><u></u></p>
<p class="MsoNormal">Line(161) ={111, 113};<u></u><u></u></p>
<p class="MsoNormal">Line(133)={90,92};<u></u><u></u></p>
<p class="MsoNormal">Point(90) = {177.8000000000002, 15.87499999999997, 130.5089814427782, cl__1};<u></u><u></u></p>
<p class="MsoNormal">Point(113) = {177.8000000000004, 15.87499999999994, 130.5089814427785, cl__1};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance for any suggestions,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="color:red;font-family:"Palatino Linotype","serif";font-size:14pt">Aaron J. Kiefer MSME, PE</span></b><span style="color:rgb(31,73,125);font-family:"Times New Roman","serif";font-size:12pt"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:10.5pt">Accident Research Specialists, PLLC<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">1631 NW Maynard Road, Suite 101<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">Cary, NC 27513<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">Phone:  <a href="tel:%28919%29%20467-8134" target="_blank" value="+19194678134">(919) 467-8134</a><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">Fax:        <a href="tel:%28919%29%20678-1261" target="_blank" value="+19196781261">(919) 678-1261</a><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">Cell:        <a href="tel:%28919%29%20810-8429" target="_blank" value="+19198108429">(919) 810-8429</a><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">Email:</span></b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">   
<a href="mailto:akiefer@accident-research.com" target="_blank"><span style="color:blue">akiefer@accident-research.com</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="color:black;font-family:"Palatino Linotype","serif";font-size:9pt">Web:</span></b><span style="color:red;font-family:"Palatino Linotype","serif";font-size:9pt">     
<a title="http://www.accident-research.com/" href="http://www.accident-research.com/" target="_blank">
<span style="color:red">www.accident-research.com</span></a></span><span style="color:red;font-family:"Palatino Linotype","serif";font-size:6pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black;font-size:7pt">Email Confidentiality Notice:  The information contained in this transmission is confidential, proprietary, and/or privileged.  The message
 is intended for the sole use of the individual or entity to whom it is addressed.  If you are not the intended recipient, please be advised that any use, distribution, or copying of the message is strictly prohibited and may be subject to penalties,  If you
 received this transmission in error, please contact the sender immediately and delete this material from any computer.</span><b><span style="color:black;font-family:"Times New Roman","serif";font-size:12pt"><u></u><u></u></span></b></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank" rel="noreferrer">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br></blockquote></div><br></div>