Hi there.
If I understand the problem correctly then you can align the centre of your path to the star nodes by first placing a node on the centre of the path by 

Effects > Modify Path > Add Node 

and then enter a value a bit larger than half the with of the path. For instance if the line is 400px long then enter a value of 210. Then only one extra node will be added and that to the centre. Then in Document properties define the Object Snapping to 'Snap node to objects' and 'Snap to object nodes' and deselect anything else including the grid snapping option. Now use the edit path node tool and select all the nodes of the line and drag the centre node to the polygon node. If you wanted the centre of the line to snap to the centre of a polygon vertex then repeat Add Node procedure.

Hope I understood the problem correctly,

Linus


On Jul 22, 2007, at 23:15 , inkscape-user-request@lists.sourceforge.net wrote:

From: "bulia byak" <buliabyak@...155...>

Date: July 22, 2007 7:06:45 PM GMT+03:00

To: "Inkscape User Community" <inkscape-user@lists.sourceforge.net>,  "Diederik van Lierop" <mail@...2312...>

Subject: Re: [Inkscape-user] Aligning object centers to polygon vertices

Reply-To: Inkscape User Community <inkscape-user@...2017....net>



On 7/22/07, Benjamin Esham <bdesham@...155...> wrote:

> Just draw a star with star tool and position your path at the tips. If you

> need absolute precision, you can turn on snapping to object paths and snap

> them exactly to the star tips.


Thanks for the replies!  My problem is that I need to align the *center* of

each path to the points of the star.  Since there is not necessarily a node

at the exact center of each path, I don't think the snapping approach will

work.


Actually, it should snap the object's rotation center (which you can

place anywhere you want) as you drag the object. Diederik, what do you

think? I was under the impression that it already does, but looks like

it's not, so this needs to be enabled.


-- 

bulia byak

Inkscape. Draw Freely.

http://www.inkscape.org