<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>to mesh you need 2 volumes.</p>
<p><br>
</p>
<p>1/ In Gmsh you can build a volume with a list of surface with a geo file :</p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
Surface Loop(X) = {.....};</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
Volume(Y) = {X};<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
I am not sure it will work all the times.<br>
</div>
<p><br>
</p>
<p>2/ To avoid such manipulations, you can put directly the<span style="font-size: 12pt;"> 2 volumes in your step file. In freeCAD you can use something like that </span></p>
<p><br>
</p>
<div>doc.addObject("Part::Feature","Solid1").Shape = S1<br>
</div>
<div>doc.addObject("Part::Feature","Solid2").Shape = S2<br>
</div>
<div>doc.recompute()</div>
<div>Gui.SendMsgToActiveView("ViewFit")</div>
<div><br>
</div>
<div>__objs__=[]</div>
<div>__objs__.append(doc.getObject("<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Solid1</span>"))</div>
<div>__objs__.append(doc.getObject("<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Solid12</span>"))</div>
<div>ImportGui.export(__objs__,"/name.step")</div>
<div>del __objs__<br>
</div>
<p><br>
</p>
<p>Or select both solids before the export in the GUI.<br>
</p>
<p><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Regards,</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Benoit</span></p>
<p><br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> gmsh <gmsh-bounces@ace20.montefiore.ulg.ac.be> de la part de Allan Svejstrup Nielsen <svejstrup@ieee.org><br>
<b>Envoyé :</b> mercredi 7 janvier 2015 09:26<br>
<b>À :</b> gmsh@geuz.org<br>
<b>Objet :</b> [Gmsh] Gmsh interactive mode meshing</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear All,<br>
<br>
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?<br>
<br>
Allan<br>
</div>
</div>
</div>
</body>
</html>