<div dir="ltr"><div>Thank you. That worked perfectly for a 2D 'plane surface'! Thanks for the tip.<br><br></div><div>I had one follow up question though, Instead of just a 2D surface I would like to do this with a 3D surface, i.e. internal 3D object. But once I extrude it, it becomes a volume and I cannot call Surface In Volume anymore. <br>
<br><br>Line Loop(6) = {4,5};<br>Plane Surface(7) = {6};                           // Define a plane surface<br>Surface{7} In Volume{1};                       // This works for the unextruded surface<br>Extrude {0, 0, D1-D0} { Surface{7};  }  // I want to include the surface of this extrusion in the mesh<br>
<br></div><div><br></div><div>Surface(8) = CastToSurface{Volume{2}}; // Made up desired functionality<br>Surface{8} In Volume{1};                          // I want to call something like this<br><br></div><div>Is there a way to cast an extrusion back into just a surface, but now just the outer 3D surface?<br>
<br>Thanks. <br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>-- Trevor<br></div>
<br><br><div class="gmail_quote">On 5 August 2014 05:01, jean pierre aubry <span dir="ltr"><<a href="mailto:jeanpierre@lamachine.fr" target="_blank">jeanpierre@lamachine.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hello<br>
<br>
>Is there a way to scrub the internal `surface' but retain the mesh<br>
>structure?<br>
<br>
what about putting the surfaces you want to export into Physical<br>
and to NOT put into Physical the ones you do not want<br>
<br>
i do not know about VTK<br>
but by proceeding this way only the defined Physical are exported<br>
in .msh or .med mesh<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
jean pierre aubry<br>
33 688 670 795<br>
jeanpierre [at] <a href="http://lamachine.fr" target="_blank">lamachine.fr</a><br>
</font></span></blockquote></div><br></div>