@pimms.param<EOL><INDENT>def surface(s):<DEDENT>
if isinstance(s, Topology) or isinstance(s, Mesh): return s.persist()<EOL>else: raise ValueError('<STR_LIT>')<EOL>
path.surface is the surface mesh or topology on which the path is drawn.