Intersecting meshes

Hello, another super simple task, but I just cannot spend one afternoon figuring out a simple surface intersection operation… :frowning:

See attached GH file: there are two rectangular meshes and two metaball meshes.
I need to trim the metaballs to follow the rectangular boundaries.

Mesh intersection to (1.5 MB)

Which is the most efficient way to do this?

the included file shows only planar meshes. get the boundaries first and do this with region booleans