Complex blending of crossing objects

I was hoping someone might give a hint on how to manage this problem. That is I’ve to create a complex union between two differently shaped crossing objects.

Grates.3dm.zip (969.1 KB)

I’d say FIlletSrf is the way… need to find the right radii.

Grates_FilletSrf.3dm (696.7 KB)

-Pascal