Setting a surface mesh size when using OCC

The script below creates a spherical domain and labels the curved surface x>0 (hemisphere) as “screen”. I want to set a coarse volume mesh (here maxh=0.25), but refine the surface mesh on the “screen” part the boundary.

Is this possible when the geometry is defined using OCC?

Thanks!

Peter

from ngsolve import *
import numpy as np
from netgen.occ import *
import netgen.gui
from netgen.meshing import MeshingParameters

sph=Sphere((0,0,0),1)
sph.faces.name = “sphere”
sph.solids.name=“air”
cut=HalfSpace((0,0,0),(1,0,0))
right = sph-cut
left = sph*cut
right.faces[“sphere”].name = “screen”
shape = Glue([left,right])
geo = OCCGeometry(shape)
mesh=Mesh(geo.GenerateMesh(maxh=0.25))
mesh.Curve(3)
Draw(mesh)
input()