Vector editors, like Adobe Illustrator, can be handy tools for designers to make communication documents – overhead maps, diagrams, etc. If you’re a designer like me, though, you may not exactly be an expert in Illustrator, and maybe you only use it just often enough to forget all the tricks you learned last time. Or perhaps you are a student or fledgling designer who doesn’t have access to Illustrator, how do you do Illustrator tricks in free vector programs?
My department head at Insomniac, Mike Ellis, taught me these Illustrator tips which I find extremely helpful when making 2D maps. In turn, I dug around to see if the same things could be done in a free vector editing program. I looked at Aviary Raven, a browser-based vector editor. Most of these beginner-tricks have some comparable versions in Inkscape, but Raven is still a bit simple (although supposedly Booleans are planned for the future, so hopefully it’ll get there too). For now I’ll stick to Illustrator and Inkscape.
Now, onto the tips! Note, that I am using Adobe Illustrator CS4 and Inkscape 0.48 for these examples. They may or may not apply in older versions of the programs.
Booleans and You…leans
Let’s say you want to do a quick 2D overhead map, and just want to lay out some quick-and-dirty floor plans. You can use the boolean features in Illustrator to quickly make a single irregular shape out of a bunch of rectangles. Try this…
- Lay out a big gray rectangle as the basis for your floorplan. (M for rectangle tool)
- Lay down several white rectangles to represent different rooms.
- Draw rectangles overlapping rooms where you want the doors to go.
- Select all the shapes. (V will put you in Select mode)
- To get to the boolean operations, go to Window -> Pathfinder (or Shift CTRL F9)
- Click the second option under Shape Modes, “Minus Front.” This will subtract all the white boxes from the big gray box, leaving you with an irregular shape for your room. You can adjust this new shape by messing around with all the new anchor points.
- In Inkscape, follow steps 1-3 above (F4 for rectangle tool)
- First select all of the white boxes (F1 for Select mode)
- Go to Path -> Union (or CTRL +) to combine all of these top level shapes into one big shape
- Now select all the shapes
- Path -> Difference (or CTRL -) will subtract the white shape from the gray shape, leaving your new irregular room shape.
Duplicating Stuff at a Radial Offset
- Make your shape, or group of shapes, and select them
- Press “R” to go into rotate mode, now wherever you click will place the pivot point for the rotation. You’ll want to place it directly below your shape, where you’d want the center of the yard to be.
- Hold ALT as you click to bring up the dialog box, which will let you enter the degree offset you want. You can play around with the preview checkbox to see what the spacing will look like.
- Click Copy, which will create a copy of the object at the given offset
- Now press CTRL + D over and over again, to make duplicates of the object using the last rotation offset setting. Instant evenly-spaced objects!
- You can do this in inkscape in a similar way, but as you’ll see, there isn’t the luxury of super-time-saving shortcuts that illustrator has.
- Make your shape and select it
- Drag the center cross down to where you want the rotation pivot to be
- Open the transform dialog (Shift Ctrl M, or Object -> Transform) to get to the rotate tab and choose what angle you want the offset to be
- Here’s where it gets tedious. There’s no “make a copy with these settings” button, nor is there a “duplicate using the last settings” option, so to get the effect, you’ll have to copy and paste in place the object before applying the rotation offset. EDIT: As per the second example below, duplicate in Inkscape *will* preserve the new center. See the second video for a better example.
- There’s bound to be an easier way to do this in Inkscape, but if so, I do not know what it is. Maybe YOU know. If so, leave a comment.
Edit: I knew the comments wouldn’t let me down. It turns out that Ctrl + D (Duplicate) in Inkscape does preserve the center of the rotation, so you can get the offset by just rotating the duplicate, which is way easier than applying the rotation every time. See this much better video..
Messing with Organic Shapes
Redrawing a Shape
- Remember, if you draw a circle with the pencil tool, the shape will not be closed by default. Hold ALT when you finish drawing to make a closed shape.
- If you want to redo part of the blob, just draw from one anchor point to another and it will adjust the entire shape to match.