How do we cut multiple objects with multiple colors at the edge of a shape? Without clipping!
I got a similar problem as this post:
This Post ;-)
And the difference is i've got multiple objects (actually paths) with different colors. Also, i want to know if i can do this without clipping, 'cause clipping creates an object that cannot be converted to a path, which adds a lot of limitations. Please look at [this post] for further info: So, once again, how can i cut the objects that is out of the model shape ï¼ˆwhich is colored in purple in the image belowï¼‰, or we say, cut them at the edge.
So here are those objects with different colors:
And the purple box is the model object,
and i want those circles to disappear at the edge of the purple square, so i can get a square filled with colorful circles!
And i create an example with gimp (which creates bitmaps) and show you what is the thing i exactly i want:
You need the Multi-Bool addon (download by clicking on the arrow
â†“ right of the headline).
Install the plugin as described on the linked site. Restart Inkscape.
- Completely ungroup all circles.
- Select everything (circles and rectangle).
Extensions > Boolean > Multiple Division.
(In contrast to Inkscapes native boolean functions, this does not remove the rectangle on the top. You may remove the rectangle manually.)
- Select the outer parts of the circles and remove them.
Selecting the outer parts is actually more work than one expects. But there is an easy way around this: Use the negation of the rectangle and multi-difference.
- Draw a rectangle over the complete canvas.
- Place your original rectangle on top of it.
- Select both rectangles.
- Subtract (
Path > Differenceor
- Select everything (circles and negated rectangle).
Extensions > Boolean > Multiple Difference.