<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 31 Jan 2018, at 19:39, James Gross <<a href="mailto:jgross0227@gmail.com" class="">jgross0227@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Hi people,<br class=""><br class=""></div>I am hoping to use Gmsh to create a 2D mesh for OpenFOAM. I've created the original 2D surface in FreeCAD and exported it as a BRep file. <br class=""><br class=""></div>When I try to extrude the surface, it doesn't work. There are no error messages, but the surface hasn't been extruded. When I created the geometry in Gmsh, there was no issue with extrusion.<br class=""><br class=""></div><div class="">Here is a shortened version of the script.<br class=""></div><div class=""><br class=""></div></div></div></blockquote><div><br class=""></div><div>Add SetFactory(“OpenCASCADE”) at the beginning of the file.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Merge "Part.brep";<br class=""><br class="">Recombine Surface{1};<br class=""><br class="">out[] = Extrude {0,0,1}<br class="">{<br class=""> Surface {1}; Layers{1}; Recombine;<br class="">};<br class=""><br class="">Mesh.Smoothing = 100;<br class=""></blockquote><div class=""><br class=""></div><div class="">Thanks.<br class=""><br class=""></div><div class="">James <br class=""></div></div>
_______________________________________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@onelab.info" class="">gmsh@onelab.info</a><br class="">http://onelab.info/mailman/listinfo/gmsh<br class=""></div></blockquote></div><br class=""></body></html>