I have defined an object in inkscape and I want to find the gravity point so that when I laser cut the object and connect a string to that point, the object is hanging in the same angle as it is visible in inkscape.
I would like to identify the specific location at the top of the object where I can attach a thread. When the object is hanging vertically using the thread, I want it to hang at the same angle as it appears in Inkscape.
yes, I correct myself and think think your idea is correct. My explanation now is that when holding the object vertically and putting a wire through the center of mass the object can be rotated at any position and is stable.
When then connecting a thread at the upper edge of the object directly above the center of mass it also does not change its position. And to find that point is what I wanted.
Be advised that I discovered a possible bug in the extension where compound* paths are used. Paths that are a single closed path should not have any issues with the extension.
Hello,
I have defined an object in inkscape and I want to find the gravity point so that when I laser cut the object and connect a string to that point, the object is hanging in the same angle as it is visible in inkscape.
Any idea if that is possible ?
Best Regards,
Ralf
Not in front of my pc but of I remember, the extension that calculates the area of a shape also finds gravity center.
^^ this. Extensions>Visualize Path>Measure Path>Center of Mass
The small crosshairs are CoM, the vertical guideline passes through the center of the bounding box.
Thanks, but this is not what I am looking for.
I would like to identify the specific location at the top of the object where I can attach a thread. When the object is hanging vertically using the thread, I want it to hang at the same angle as it appears in Inkscape.
Um, yeah, I'd just try putting a hole anywhere directly above the crosshairs.
Hmmm. For some shapes and positions on the screen this will work, but for sure not generally for all shapes and positions.
Looks like there is no easy way to achieve what I am looking for.
You have an example that will for sure not work to share?
works for this kind of stuff:
Hi Tyler,
yes, I correct myself and think think your idea is correct. My explanation now is that when holding the object vertically and putting a wire through the center of mass the object can be rotated at any position and is stable.
When then connecting a thread at the upper edge of the object directly above the center of mass it also does not change its position. And to find that point is what I wanted.
Thanks for your suggestion.
Be advised that I discovered a possible bug in the extension where compound* paths are used. Paths that are a single closed path should not have any issues with the extension.
Here is the bug report. https://gitlab.com/inkscape/inbox/-/issues/9960
*Compound paths contain more than one discrete segment.