Turns out the problem is the type hint. If you just change the type hint in @vongree’s original file everything works as expected. I reported the behavior here: IGH_Goo.CastTo<GeometryBase> bug. It’s a bug in the grasshopper API and happens when grasshopper casts geometry from a surface.