Solid.ByUnion operation failed


Node

I calculate Center of gravity of a component by using this method. It doesn’t show any error at most of case but, components made by sweep and the bath having line and arc itself it shows error like this and sometimes it shows negative volume error also.
Please someone help me to solve this issue.
Thank you!

At same time it considerers components arc as a circle like image attached below.


Before run programme


After run programme

Hi, @manickavasakam.selva
Try Solid.ByUnion+ from ClockWork package. Also look into Element.GeometryFast from Synthesize.

1 Like

Thank you,

It shows error like this.
Warning: Solid.Centroid operation failed.
Unable to get area : NEGATIVE_VOLUME – The computed volume is negative

Also, I didn’t know what is (Element.GeometryFast from Synthesize) as you early mantioned.

Search the Dynamo forum. Synthesize is a package.

Thank you, it works.
But it gives two output value for some families.

Try to union the solids before searching centroid.

Ok thank you.