Hi,
to mesh you need 2 volumes.
1/ In Gmsh you can build a volume with a list of surface with a geo file :
Surface Loop(X) = {.....};
Volume(Y) = {X};
I am not sure it will work all the times.
2/ To avoid such manipulations, you can put directly the 2 volumes in your step
file. In freeCAD you can use something like that
doc.addObject("Part::Feature","Solid1").Shape = S1
doc.addObject("Part::Feature","Solid2").Shape = S2
doc.recompute()
Gui.SendMsgToActiveView("ViewFit")
__objs__=[]
__objs__.append(doc.getObject("Solid1"))
__objs__.append(doc.getObject("Solid12"))
ImportGui.export(__objs__,"/name.step")
del __objs__
Or select both solids before the export in the GUI.
Regards,
Benoit
________________________________
De : gmsh <[email protected]> de la part de Allan
Svejstrup Nielsen <[email protected]>
Envoyé : mercredi 7 janvier 2015 09:26
À : [email protected]
Objet : [Gmsh] Gmsh interactive mode meshing
Dear All,
I am using, FreeCAD to draw and Gmsh to mesh. It works well, in FreeCAD i
export a model to a STEP file and then import it in Gmsh and simply press the
3d mesh button. See two figures attached. Say i now wish to also mesh the
inside of the now still empty cube, is it possible to do so using the graphical
interface in the Gmsh interactive mode? If so, how is it done?
Allan
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh