Join line and edge of circle


Question

In Inkscape, what would be the best way to join the two nodes highlighted in red below? One is an end of the line, the other is the leftmost point on a circle (the horizontal line goes through the center of the circle).

Join line and circle

As to why, in case there are better suggestions - I wanted to make a glass, such as:

Glass

and I wanted to make it "proper":

  • Have the edges be joined together, so no gaps exist
  • Have the whole glass be a group that can be manipulated
  • Not complicate things too much (e.g. converting object to path wold make the circle harder to manipulate, right?)

I tried converting object to path and joining the nodes, but that did not work as expected - it kind of opened the path. Is there an easier way? Not sure if I'm doing this in the spirit of how it is usually done (from design standpoint), so feel free to comment on that.

1
5
5/23/2014 3:41:00 PM

Accepted Answer

Align objects

To align a line to the center of an ellipse left side we can use the Object > Align and distribute tools.

  1. Align the top of the diagonal line to the vertically centered horizontal guide in the ellipse.
    Align top edges enter image description here

    enter image description here

  2. Align the left borders of the diagonal line and the ellipse.
    Align left edges enter image description here

    enter image description here

Snap to nodes or handles while drawing enter image description here + enter image description here

It may be faster if we snapped to paths, nodes or handles while drawing by switching on the snap nodes or handles tool.

  1. Snap to cusp nodes enter image description here

    This tool will snap the beginning of the path to a cusp node, which with an ellipse will be at the 4 outer rims. Snapping will be displayed while drawing with a message "Handle to quadrant point":

    enter image description here

  2. Snap to path intersections enter image description here

    On occasion we may rather want to snap on a path intersection (which could also be a temporary guiding line). Snapping will then be displayed with the message "Handle to path intersection".

    enter image description here

Whatever method we choose (we can activate multiple of snapping tools at the same time, shown each with it's specific message) our new line will start at the point we chose:

enter image description here

This point however will not remain on the node chosen on the object we snapped to until we group the object or chose Path > Union. The latter will of course make a Bezier of our circle.

7
5/23/2014 8:13:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow


Website under construction!!!
^