Thanks Christophe! It is working now. James
On Wed, Jan 31, 2018 at 7:34 PM, Christophe Geuzaine <[email protected]> wrote: > > > On 31 Jan 2018, at 19:39, James Gross <[email protected]> wrote: > > Hi people, > > 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. > > 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. > > Here is a shortened version of the script. > > > Add SetFactory(“OpenCASCADE”) at the beginning of the file. > > > Merge "Part.brep"; >> >> Recombine Surface{1}; >> >> out[] = Extrude {0,0,1} >> { >> Surface {1}; Layers{1}; Recombine; >> }; >> >> Mesh.Smoothing = 100; >> > > Thanks. > > James > _______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh > > >
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
