It's possible create a entity tag for cut or intersect function?
I would like to create a quarter of the difference between two cylinders. For example,
def createQuarterCylinder(xc,yc,x1,y1,rad_in,rad_out,z_out):
cyl_tag1 = gmsh.model.occ.addCylinder(xc,yc,0,0,0,z_out,rad_out) #max radius
cyl_tag2=gmsh.model.occ.addCylinder(xc,yc,0,0,0,z_out,rad_in) #min radius
cut1,_ = gmsh.model.occ.cut([(3, cyl_tag1)], [(3, cyl_tag2)]) # cut min radius
tbox_aux = gmsh.model.occ.addBox(xc,yc,0,x1,y1,zr_out) # auxiliar box
quarter,_ = gmsh.model.occ.intersect([(3, cut1)], [(3, tbox_aux)]) # quarter cylinder return quarter
However, cut or intersect function don't return a 3d entity and I have an error. I would like to generate a new 3d figure with a new tag "quarter".
Edited by Christophe Geuzaine