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 thelerwww.seamplex.com id="-x-evo-selection-start-marker">

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 
> [email protected]http://onelab.info/mailman/listinfo/gmsh
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to