Geometry incorrectly importing to Revit

I’ve generated a complex sculptural form with Dynamo but when I use ImportInstance.ByGeometries to place it back in Revit only some of the pieces display correctly, others explode oddly as shown in these images (white background is Dynamo, brown is Revit).

Can anyone offer some suggestions as to what might be going wrong?


Dynamo Script.dyn

I’ve experienced similar problems in the past and sometimes (not always) resolved it by tweaking some parameters to slightly alter the generated geometry.

Not the best suggestion, I know. Somebody, better informed will probably be able to explain the reasons for the problem and provide an effective solution.