how to make a rectangle with oval opening inside?
how to make a rectangle with oval opening inside?
I'm trying to make a "frame" with reclangular outside and oval opening in the middle, but can' figure out or find info about how to do this. then, the shape is to be filled, with the oval interior with nothing in it - just a blank opening. Anyone?
-
tylerdurden
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: how to make a rectangle with oval opening inside?
Create both shapes in place, select both objects, Menu: Path>Combine. (Ctrl+K)
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/
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/
Re: how to make a rectangle with oval opening inside?
Ok - I tried as you suggested. The shapes combined, however, when I tried fill everything filled, even the center oval that needs to be empty (transparent?). ??
-
tylerdurden
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: how to make a rectangle with oval opening inside?
Works here...

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/
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/
-
tylerdurden
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: how to make a rectangle with oval opening inside?
When you say "tried fill", did you use the fill/stroke menu, or...?
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/
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/
-
tylerdurden
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: how to make a rectangle with oval opening inside?
Ensure fill-rule is set to Even-Odd...
- Attachments
-

- Fill-Rule1.jpg (89.24 KiB) Viewed 2839 times
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/
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/
Re: how to make a rectangle with oval opening inside?
Keep in mind the fill rule and the path's direction.
Probably if you flip the rectangle first (h) and combine it with the ellipse right after, it "corrects" the rendering.
Probably if you flip the rectangle first (h) and combine it with the ellipse right after, it "corrects" the rendering.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: how to make a rectangle with oval opening inside?
you guys are way too quick
i was just uploading a screenshot about the fill rule, when there were already two replies and a screenshot
also: whats wrong with doing a Difference ?
i was just uploading a screenshot about the fill rule, when there were already two replies and a screenshot
also: whats wrong with doing a Difference ?
Re: how to make a rectangle with oval opening inside?
It is a boolean operation based on anti-aliasing; at least in the current stabile it produces about 0,2 px inaccuracy of the re-rendering, while combining preserves the original shapes of the paths.
(Though it doesn't preserve the "shapes" themselves. Some cases clipping or masking would be a better solution.
In this for example.)
(Though it doesn't preserve the "shapes" themselves. Some cases clipping or masking would be a better solution.
In this for example.)
Re: how to make a rectangle with oval opening inside?
The fill rule took care of it. Thanks. btw - I do try to check the manual first, but it is hard to search for something when you don't already know the name of the feature.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: how to make a rectangle with oval opening inside?
Lazur URH wrote:It is a boolean operation based on anti-aliasing
i see
thanks for the info
