Cut/family problem

Hi everyone!
I’m running into an issue in my workflow related to cutting elements.
I created a simple family, like this:

My goal was to cut it inside Revit using Generic Models. However, for some reason, I couldn’t perform the cut on the bottom brep. To work around this, I exported the cutter solids to Rhino and used a Boolean Difference on the initial brep.
Here are the cutters:

And here’s the result - a valid polysurface in Rhino:

But when I create a New Component Family in Revit, something seems wrong with the geometry.

This isn’t the first time I’ve faced a similar issue, and I suspect it might be related to tolerances, but honestly, I’m not sure what’s causing it.

revit_geometry_problem.gh (41.8 KB)

With direct Shape it does come through

You can also create separate void family to cut the elements inside the Revit

Thank you @MSAwan for the reply. This morning I found out that my initial geometry was incorrect. There was one inaccurate section, that caused the problem. In this case, saying “trash in, trash out” proved true in full.