How do I label edges at the intersection of two surfaces using OCC? I know this is possible in CSG using “geo.NameEdge”. Is there a similar command in OCC? In the code below I want to name the edges on the intersection of the half space and sphere so I can using a Dirichlet boundary condition for a PDE on the curved hemispherical surface.
Thanks for your help.
Peter
from ngsolve import
import netgen.gui
rom netgen.occ import
sph=Sphere((0,0,0),1)
sph.faces.name = “sphere”
bot=HalfSpace((0,0,0),(0,0,-1))
finitesphere = sph*bot
geo = OCCGeometry(finitesphere)
#geo.NameEdge(sph,bot, “bottom”)
mesh=Mesh(geo.GenerateMesh(maxh=0.3))
mesh.Curve(2)
Draw(mesh)