FREELessons: 18Length: 2.1 hours

• Overview
• Transcript

# 3.4 Multiple Shape Operations

Gravit provides a selection of operations that can be performed on multiple shapes or paths. In this lesson we’ll go through using clipping, grouping, compound, and boolean operations.

## 5.Conclusion1 lesson, 01:35

### 3.4 Multiple Shape Operations

Hi, welcome back to Gravit Designer Quick Start. In this lesson, we're gonna check out some of the things that you can do when you combine multiple shapes together. We already took a look at clipping in a previous lesson. So we're talking about things like clipping, where one shape can influence the way another shape looks. So let's start by just drawing out a couple of shapes. We'll take a rectangle. We'll give it a color. Let's go with orange. We'll draw out an ellipse, as well. We'll make this one yellow, actually just so I don't scorch your eyes, we'll just go with something a little softer. Now, you already saw how to do clipping, or one of the ways to do clipping, rather, where if you just drag one of the shapes on top of the other to nest it, then you have one shape clip off a certain portion of the other shape. And we did that by dragging and dropping inside the layers panel, here. But the other thing you should be aware of is that you can also do clipping by hitting this button up here. Now, this section of tools is where all of our multi-shape operations are contained. So instead of dragging and dropping, you can just select your two shapes and then hit this button. And you get the same effect. So I'm just gonna undo, put those back to being two separate shapes. Another thing that you're often gonna want to do is group your shapes together. When you have shapes grouped, you can just select them as though they're a single object. And move them around, scale them, all those types of things. So you can group multiple objects by selecting them and then hitting this button here. So now, if I click on either of these two, I'm gonna select the entire group. I can still get to the individual shapes inside, either by expanding the group over here and directly selecting. Or I can click and then click again to get at the shapes that are inside the group. If you wanna break up a group, if you wanna split it into pieces again, select the Group, and then you can hit this button here. And that's good to know also for clipping, because if you have two shapes that are clipped, they're actually a kind of group. So now, you can still use this Split button up here. Even though it doesn't say group in the Layers panel, it will still work. If you then hit this button, and you can unclip your two shapes if you need to work on them in a different way. So that's everything that you need to know about grouping, splitting, and clipping. That stuff's fairly straightforward. The next cool area that you can work with is Boolean shape operations. So if you hit this little button here, you'll see these four options, Union, Difference, Intersection, Subtract. And these are a whole different set of ways that you can combine shapes. Or use one shape, kind of like a cookie cutter, to remove specific sections of another shape. So let's take a look at each of these four types of Boolean operations. So if you hit Union, that's just gonna combine your two shapes together. And you'll notice that once these two shapes are combined, they take on the same fill color. That's because they're now being treated as one shape, even though they're still technically two shapes. You can see over here, we now have a compound shape that has our ellipse and our rectangle still inside it. All the visual effects that you can apply to this compound shape, so fill colors, borders and so on, they're all going to be treated as though this is a single entity. So if there is a border on it, for example, it's not gonna go around the individual shapes. It's gonna go around the entire compound shape, all right? So let's split that again so it can take out the next Boolean function, which is Difference. And what this is gonna do is combine the shapes together in a similar way to what we just saw with Union. Except wherever there's a crossover between the shapes, which will be this little section here, it's going to make that part invisible. So let's check that out. So there you go. So where this crossover is, there's now nothing. The only parts of the shapes that are left are where they are different. The area that they had in common is gone. So let's split that, and we'll have a look at the next one. Then we have Intersection, which is the inverse to Difference. Now, we're only going to retain the area where there's an intersection between these two shapes. So if we have a look inside this compound shape, you can see, there's our ellipse. There's our rectangle. We can even move that around to change the area, the intersects between these two shapes. And we're just going to be left with that common space intact. All right, let's split that once again and look at the last one, which is Subtract. With the Subtract function, one of your shapes is going to subtract itself from the other shape. So it's actually a little bit like Difference, except only the area of a single shape is gonna be left behind, rather than the area of both shapes. So let's check that out. So now the circle has subtracted from the ellipse. And if we look inside here, you can see that it's the top shape that's going to subtract from the bottom shape. So if we were to swap these around, now we have the rectangle subtracting from the ellipse. And you'll notice as well, that even after you've performed one of these Boolean functions, you can still continue to edit the shapes that are inside this resulting compound shape. So it's a very powerful way to make relatively complex shapes once you start to bring all types of different shapes in together. But still retain the ability to easily edit those shapes and have access to the shapes specific settings like Corner tools, for example. Now, so far, we have used this dropdown up here to change the type of Boolean function that we're using. But you also have these switches here that allow you to change the type of Boolean function that you're using on the fly. So we can easily switch things out as we go along, which is very, very accessible. And it's also worth remembering here that you have the ability, if you want to, to right-click this and convert it to a path. So that you then have access to all of the nodes inside. And that you can also then use this shape, In combination with other shapes to go ahead and continue performing further boolean operations. So that's everything that you need to know about the essentials of multiple shape operations, that's fairly straightforward. And that actually wraps up the portion of the course covering shapes and parts. So in the next few lessons, we're gonna start looking at things like fills and borders and effects. First up, we're gonna check out the fill system, which is really, really cool and really powerful compared to some other graphic design applications. For a couple of reasons, but not least of which, you have the ability to set multiple fills on a single shape, stack them on top of each other, use all kinds of different blending modes and come up with some really interesting results. So we're gonna check out that fill system in the next lesson. I'll see you there.

Back to the top