<div dir="ltr">It works, thank you!<div>Note: I used gmsh.model.occ.importShapes() function for read back.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 12, 2018 at 1:50 PM, Jeremy Theler <span dir="ltr"><<a href="mailto:jeremy@seamplex.com" target="_blank">jeremy@seamplex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>After the boolean operations, save the current model to a BREP with</div><div><br></div><div><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">gmsh.write("model.brep")</span><br>
</span>Then read back the BREP from the .geo with ShapeFromFile() </div><div><br></div><div>Regards</div><div>--</div><div>jeremy theler</div><div><a href="http://www.seamplex.com" target="_blank">www.seamplex.com</a></div><div><div class="h5"><div><br></div><div><span style="font-family:monospace"><br></span></div><div>On Wed, 2018-07-11 at 17:04 +0300, Роман Бутов wrote:</div></div></div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Is there a way to save geometry <span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">at python API</span> after boolean operations, with physical zones etc, and then do meshing from the saved file?<div>It is because boolean operations take a long time and it would be convenient to make them once. And then use the same geometry to generate different meshes.</div><div><br></div><div>Best regards,</div><div>Roman</div></div>
</div></div><pre>______________________________<wbr>_________________</pre><pre>gmsh mailing list</pre><pre><a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a></pre><pre><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/<wbr>listinfo/gmsh</a></pre><pre><br></pre></blockquote></div><br>______________________________<wbr>_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br>
<br></blockquote></div><br></div>