[Gmsh] Merge of a surface overwrites an existing Surface( 1 )?
Mike B.
mb78aa at yahoo.com
Fri Jun 26 06:27:35 CEST 2009
Hi All,
It seems that `Merge' of a surface (STL file in my case) overwrites Surface( 1 ).
For example, this file defines a plane surface (rectangle) and imports a sphere saved in an STL file:
Point( 1 ) = { -5 , -5 , -1 };
Point( 2 ) = { -5 , 5 , -1 };
Point( 3 ) = { 5 , 5 , -1 };
Point( 4 ) = { 5 , -5 , -1 };
Line( 1 ) = { 1, 2 };
Line( 2 ) = { 2, 3 };
Line( 3 ) = { 3, 4 };
Line( 4 ) = { 4, 1 };
Line Loop( 1 ) = {1, 2, 3, 4};
// define the rectangle
Plane Surface( 1 ) = { 1 };
Merge "sph.stl";
After running Gmsh shows only there is only surface( 1 ) which is the sphere and not the rectangle. Is this how it's supposed to work?.
Cheers,
Mike.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090625/56d9d3a3/attachment.html>