How can I calculate the center of mass/gravity for vector objects?

I’m making a mobile (in the Calder sense) by laser-cutting from a vector file (Corel Draw). I have a set of outlines that will be the individual pieces.

Is there a way in Corel (or some other program) to calculate the center of mass so I place the holes to suspend the pieces?enter image description here


This answer may not count if you require a strictly programmatic solution, but I found it interesting so I thought I’d share. 🙂

The math way would be to break the shape into a collection of triangles and do a weighted average of their individual centers of gravity. I don’t think any of the popular drawing programs will automate that for you. It can be done manually but it may not be worth your time.

This site has a breakdown of a physical approach that may be a faster yield on your time:

The basic premise is that objects with uniform thickness can be determined using 2-3 plumb lines from random points at or near the edges of your shape.

  1. Print & cut out a copy of your shape.
  2. Select 3 points somewhat close to different edges on your object.
  3. Use a pin or nail to poke holes in your 3 points. The holes should end up slightly larger than the diameter of the implement so that the cutout can swing freely.
  4. Hang your object using the pin through one of the holes.
  5. While your object is hanging, use a string and weight to make a plumb line and trace the line.
  6. Repeat the hang & plumb line for the other holes.
  7. The point where all your lines intersect is the center of gravity for your shape.
  8. If your lines are precise, you should be able to determine an accurate center with 2 lines and the 3rd line is just for additional verification.

Source : Link , Question Author : John , Answer Author : Farray

Leave a Comment