<div dir="ltr">Hi,<div><br></div><div>Hope everything is good. I'm working merging two meshes into one via the .cut OCC class method, but my output has all the Physical Groups defined as 0, even when adding a PhysicalGroup to the model. Here's a quick example. </div><div><br></div><div>

gmsh.model .occ.addPlaneSurface([-(12 + i)], i + 2 + 100)</div><div>gmsh.model.addPhysicalGroup(2, [i + 2 + 100], i + 2 + 100)<br></div><div><br></div><div>When I open the meshes all of the surfaces have the same PhysicalGorup index. Is there a way to use the OCC class and set Physical Groups as it can be done using the geo class?<br clear="all"><div><br></div><div>Thanks!</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#000000">Rinaldi Petrolli<br></font></div><div><font color="#000000">Acoustic Engineer</font></div><div><font color="#000000">Walters-Storyk Design Group</font><br></div><div><font color="#6aa84f">Architectural Acoustic Consulting</font></div><div><font color="#6aa84f">Media Systems Engineering</font></div><div><a href="https://www.google.com/maps/place/WSDG+-+Walters-Storyk+Design+Group/@41.779992,-73.9967305,15z/data=!4m5!3m4!1s0x0:0x5691bbfa0a6698a4!8m2!3d41.779992!4d-73.9967305" target="_blank">262 Martin Avenue</a></div><div><a href="https://www.google.com/maps/place/WSDG+-+Walters-Storyk+Design+Group/@41.779992,-73.9967305,15z/data=!4m5!3m4!1s0x0:0x5691bbfa0a6698a4!8m2!3d41.779992!4d-73.9967305" target="_blank">Highland, NY 12528, USA</a></div><div><font color="#000000">O +1 845 691 9300</font></div><div><font color="#000000">F +1 845 691 9361</font></div><div><a href="http://goog_1434455421/" target="_blank">rinaldi.petrolli@wsdg.com</a></div><div><a href="http://www.wsdg.com/" target="_blank">www.wsdg.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div>