Solid difference error because of a rounded edge?

Hi! I’m still a bit new to grasshopper, but I’ve got this error that I really can’t understnd why its happening.

I’m trying to make a cylindrical hole in a box like shape (walls with some thickness and hollow inside). This box has some round edges.

However, when I do the solid difference (or trim solid) between the box and the cylinder, I get a deformation on the side of the box.
It looks like the problem is with the rounded edge on the box, because if I take out the rounded edges it works fine.

What can I do to make the solid difference without deforming the box shape?



Thank you!

I exploded the inicial rectangular curve, then extruded, and made the top and bottom surfaces from the inicial curve. Then joined all together with boundary volume.

With this method the solid difference worked just fine. But I think I used too many steps for something that must have a simpler solution

Hi Marcos, if you can, upload a Grasshopper file with the relevant geometry internalised or a Grasshopper file with a Rhino file containing the relevant inputs.