How can I draw a dashed line around an ellipse?

Post questions on how to use or achieve an effect in Inkscape.
eiger3970
Posts: 13
Joined: Wed Jul 13, 2016 7:28 am

How can I draw a dashed line around an ellipse?

Postby eiger3970 » Sun Jan 27, 2019 3:02 pm

Hello, I would like to draw a dashed line around the outer edge of the elliptical router icon, however using the 'Create circles, ellipses, and arcs (F5)' function, I cannot match the exact perimeter of the router icon image.

Any suggestions please?
Attachments
Screenshot at 2019-01-27 14-58-06.png
Screenshot at 2019-01-27 14-58-06.png (170.83 KiB) Viewed 1037 times

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: How can I draw a dashed line around an ellipse?

Postby theozh » Sun Jan 27, 2019 5:52 pm

- select your ellipse
- apply Ctrl+J (Menu | Path | Dynamic Offset)
- drag the node to the desired offset size
- set your Stroke (Shift+Ctrl+F) to dashed.

EllipseOutline.png
EllipseOutline.png (12.57 KiB) Viewed 1028 times
Win7/64, Inkscape 0.92.2

User avatar
brynn
Posts: 10307
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How can I draw a dashed line around an ellipse?

Postby brynn » Mon Jan 28, 2019 6:00 am

Hello, I would like to draw a dashed line around the outer edge of the elliptical router icon, however using the 'Create circles, ellipses, and arcs (F5)' function, I cannot match the exact perimeter of the router icon image.


I'm not clear if you want the dashed line around the whole icon, or just the elliptical top surface of the icon. The Ellipse tool can't make the whole icon because if you look closely, you'll see that there are 2 straight vertical edges to the button icon. And the Ellipse tool can't make those straight segments.

If the blue icon is a vector image, you should be able to select the paths which create whichever portion of the icon you want (elliptical top surface, or whole icon). If it's just the top surface ellipse that you want, duplicate it, then use Path outset, as theozh suggests. If it's the whole icon, duplicate all the paths which create the outline, and then do Path menu > Union. Possibly, some node editing might be needed, depending on how the drawing is made. Then path outset can be used.

But if the icon is an imported raster image, you'll need to use the Pen tool to trace the outline. Then path outset can be used.

tylerdurden
Posts: 2273
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: How can I draw a dashed line around an ellipse?

Postby tylerdurden » Tue Jan 29, 2019 3:46 am

Ellipse tool works fine.

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Lazur
Posts: 4691
Joined: Tue Jun 14, 2016 10:38 am

Re: How can I draw a dashed line around an ellipse?

Postby Lazur » Tue Jan 29, 2019 5:26 pm

tylerdurden wrote:Ellipse tool works fine.


Just a side note that a there are no ellipses parallel to eachother except for concentric circles in geometry. This case the difference is rather small though.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 10 guests