It works, thank you!
Note: I used gmsh.model.occ.importShapes() function for read back.

On Thu, Jul 12, 2018 at 1:50 PM, Jeremy Theler <[email protected]> wrote:

> After the boolean operations, save the current model to a BREP with
>
> gmsh.write("model.brep")
> Then read back the BREP from the .geo with ShapeFromFile()
>
> Regards
> --
> jeremy theler
> www.seamplex.com
>
>
> On Wed, 2018-07-11 at 17:04 +0300, Роман Бутов wrote:
>
> Is there a way to save geometry at python API after boolean operations,
> with physical zones etc, and then do meshing from the saved file?
> 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.
>
> Best regards,
> Roman
>
> _______________________________________________
>
> gmsh mailing list
>
> [email protected]
>
> http://onelab.info/mailman/listinfo/gmsh
>
>
>
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh
>
>
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to