Hi,
I'm trying to create a simple geometry of a fusion of two spheres using the python api of netgen.
Going through the tutorials I have written the following code,
Code:
from netgen.csg import *
sphere1 = Sphere( Pnt(0,0,0), 12.0 )
sphere2 = Sphere( Pnt(20,0,0), 12.0 )
geo = CSGeometry()
geo.Add( sphere1 + sphere2 )
mesh = geo.GenerateMesh(maxh = 1.0)
mesh.Save("twospheres.vol")
This code is working, however I would like to save this in a 'brep' file or 'msh3' file ( gmsh file format).
Is there any way to do this ?
also, this "vol" file format can not be opened by Netgen. Is there any way to open and visualize the saved 'vol' file later ?
Thanks for your help.