how to cut out a shape?

Post questions on how to use or achieve an effect in Inkscape.
marlish
Posts: 1
Joined: Fri May 24, 2013 8:37 pm

how to cut out a shape?

Postby marlish » Fri May 24, 2013 8:50 pm

Hi,
how can I cut out a shape out of an object so that only the outside of the object is remaining? Clip->set does exactly the opposite of what I need - it leaves only the inside, but I need the outside.
Thanks in advance.

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

Re: how to cut out a shape?

Postby Lazur » Tue May 28, 2013 4:54 am

It's not really clear what objects and what cut you want to achieve.
If a clipping solution would be fine, then draw a clipping mask that has the hole in it.
Draw a big rectangle that covers the basic object, cut out the holes you previously drawn from it, then set it as a clipping mask for your object.

User avatar
lejimi
Posts: 54
Joined: Sat Jun 23, 2012 1:21 am
Location: Bourges (France)

Re: how to cut out a shape?

Postby lejimi » Tue May 28, 2013 5:27 am

If what you want to do is creating a hole in a background objetct having the shape of the foreground object, what you need is Ctrl + - ;-)
Inkscape 0.91 / Ubuntu 12.04
Inkscape 0.91 / Debian Wheezy

Gloire à qui n'ayant pas d'idéal sacro-saint
Se borne à ne pas trop emmerder ses voisins

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

Re: how to cut out a shape?

Postby Lazur » Tue May 28, 2013 5:52 am

^-only when the original object is a simple path.
If that's spiro, if that's a text, if that's a bitmap, if that's a group of objects Ctrl+- wont help.
Some more detailed explanation of the problem would make things clear.

User avatar
flamingolady
Posts: 687
Joined: Wed Jun 10, 2009 1:40 pm

Re: how to cut out a shape?

Postby flamingolady » Tue May 28, 2013 6:15 am

Sometimes using Path, then Difference or Intersection will work too, it all depends on what you want for the end result. More info needed, like Lazur said.

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

Re: how to cut out a shape?

Postby brynn » Tue May 28, 2013 6:19 am

Image
Welcome to InkscapeForum!

clip.png
clip.png (6.04 KiB) Viewed 22161 times

Instead of making a clipping path like the purple circle (on the left), make a shape like on the right (blue-green rectangle with hole in it). Be sure that the rectangle is large enough to cover everything that you want to keep. And the circle of course would be whatever the shape is. You can make the special clipping path by 1st drawing the large rectangle, which covers everything. Then take the shape, which would be the clipping path which you said did the opposite of what you want, and put it on top of the rectangle. Then select both the path and the rectangle, and do Path menu > Difference. Then you can use the result for the new special clipping path.

If that doesn't quite get you what you need, we might need to see a screenshot, or maybe even SVG file, depending on the complexity of everything :D

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

Re: how to cut out a shape?

Postby Lazur » Tue May 28, 2013 6:35 am

Oh sorry my thoughts weren't unzipped, I always forgot that.
Last edited by Lazur URH on Tue May 28, 2013 8:00 pm, edited 1 time in total.

User avatar
lejimi
Posts: 54
Joined: Sat Jun 23, 2012 1:21 am
Location: Bourges (France)

Re: how to cut out a shape?

Postby lejimi » Tue May 28, 2013 4:31 pm

Lazur URH wrote:^-only when the original object is a simple path.
If that's spiro, if that's a text, if that's a bitmap, if that's a group of objects Ctrl+- wont help.
Some more detailed explanation of the problem would make things clear.


Yep ! But most of this may be turned to simple path... The first question wasn't very clear.
Inkscape 0.91 / Ubuntu 12.04
Inkscape 0.91 / Debian Wheezy

Gloire à qui n'ayant pas d'idéal sacro-saint
Se borne à ne pas trop emmerder ses voisins

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

Re: how to cut out a shape?

Postby brynn » Tue May 28, 2013 5:52 pm

Lazur URH wrote:Oh sorry my thoughts weren't unzipped, I alwasy forgot that.

Image !
No worries! Actually I should have said that I was elaborating on your suggestion, Lazur. I apologize for overlooking your credit there :oops:

Off topic:
Edit
lejimi, I was curious about your forum signature and tried putting through a couple of different translators. But neither one of them left me with a clear understanding. But since you read/write English so well, I wonder how you would translate it?

User avatar
lejimi
Posts: 54
Joined: Sat Jun 23, 2012 1:21 am
Location: Bourges (France)

Re: how to cut out a shape?

Postby lejimi » Wed May 29, 2013 2:39 am

Off topic:
It's an extract from Don Juan, a song by french singer George Brassens (not Molière's play). It's difficult to translate, but approximately it goes "glory to him who, having no sacrosanct ideal, limits himself not to bother too much his neighbours." Very approximately ;-) I made it my own motto.
Inkscape 0.91 / Ubuntu 12.04
Inkscape 0.91 / Debian Wheezy

Gloire à qui n'ayant pas d'idéal sacro-saint
Se borne à ne pas trop emmerder ses voisins

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

Re: how to cut out a shape?

Postby brynn » Fri May 31, 2013 10:09 am

Off topic:
Very nice! That makes much more sense than the translations I found.


Return to “Help with using Inkscape”