Inkscape
Table of Contents
Misc
- Snap panel is located at the very right.
- Snapping midpoints of bounding box edges is useful
- Tiled grouping is really cool
<C-Click>
to click into groups- Access Preferences with
<C-A-p>
- Added
<C-S-b>
to view objects pane
- Added
<Space>
when in selection mode stop- Add a tablet
- Edit → Input Devices
- Trace from bitmap very cool - multiple scans to decompose bitmap into N colours
Node Manipulation
Clicking on a node reveals its handlebars
<F2>
selects the node editing tool ('Edit paths by nodes')- Make sure the path you're editing is selected
<C-A-Click>
creates and removes nodes- To transform multiple nodes in a coordinated way (e.g. push them together/apart), select them, enable 'show transformation handles for selected nodes' and then move accordingly
Exporting
To SVG
https://gist.github.com/brenopolanski/46cd370d634a1709aa8a58e55cfc9a03 doesn't quite work; do this:
- Select object to export
- Copy to fresh document
- Open Document Properties (
<C-S-d>
) - Resize page to drawing/selection
- Ungroup all. Object to Path, Stroke to Path
- Save as Optimised SVG
Batch
Avoid setting the export path while objects are selected; see https://gitlab.com/inkscape/inbox/-/issues/249 - if they are set, you can undo by remove all attributes of
inkscape:export-filename="/home/xdl/dev/game-cafe/assets/g1162.png"
from the SVG file in a text editor. Otherwise they will keep overwriting each other.
- Select all groups
- To specify exported filename, set the ID field in the group's object properties
<C-S-o>
- To specify exported filename, set the ID field in the group's object properties
- Check 'batch export N selected objects'
Key Bindings
These seem to be consistent across Macs and Windows (i.e. no remapping of Ctrl
to Cmd
)
Tools
<U>
for fill toolw
is the tweak tool. Jitter can be used to select a slightly different colour
Misc
<C-d>
on a selection to duplicate (copies via value)<C-c> <C-v>
on a selection to copy and paste (copies via value)<C-A-d>
on a selection to duplicate (copies via reference)<C-A-v>
pastes in place- With a shape (e.g. circle) and text selected, you can wrap the text around path (text → put on path)
- Holding shift and clicking on the cross sign will remove a stroke
- When dragging a simple shape, hit
<space>
to duplicate
Viewing
- Hold down
<Space>
to move the page about 1
zooms to original size2
zooms to double size3
zooms into the selection4
sees everything+
zooms out-
zooms in
Dialogs
<C-S-a>
for Alignment panel- Useful variation is to use the dropdown to select relative to 'last selected'
<C-S-o>
for Object properties- Can change an object's ID, label or give it a title node
<C-S-p>
opens Preferences<C-S-d>
opens Document properties- Change mm to pixels here
<C-S-t>
for Text panel<C-S-l>
for Layers panel<C-S-l>
for Objects panel<C-S-f>
for Fill and Stroke (i.e. colour)<C-S-w>
for Swatches
Placement
<C-g>
to group- Enter the group by double clicking (All new shapes, paths etc. will be created in that group)
<C-S-g>
to ungroup (or<C-u>
?)
Objects
<S-d>
to look at the original of a clone<A-d>
to create a clone- A tiled clone can be created with perturbations on position, colour etc.
- Make sure to set the fill colour to undefined if you want that to be randomly generated
- Set Shift → Shift X to be -100 for Per Column if you want to create a radially tiled clone. And also use use 1 row x N columns for duplicating N times
<PgUp>
to move selected object up in z-index (or<Fn-↑>
on Mac)<PgDown>
to move selected object down in z-index (or<Fn-↓>
on Mac)<Home>
to move selected object to the top of z-index (or<Fn-←>
on Mac)<End>
to move selected object to the bottom of z-index(or<Fn-→>
on Mac)- Use
<A-drag>
to select objects by drawing a line through them <S-click>
on the rotation center to reset it back to original rotation center
Node manipulation
Diamond nodes are cusp nodes (zero, one or two handles, resized in any direction), Square nodes are smooth nodes with handles at 180 degrees. Symmetric nodes are smooth nodes with handles the same length.
- Shift dragging from the node will extend a handle
- Align tools work on nodes
<C-&>
to bring up path effects (e.g. mirroring)- Double click in path to add new node
Shape manipulation
<F4>
for rectangles and squares- When making buttons, make sure to turn off scaling border radii with rectangle
Vector manipulation
<C-F2>
for the connector tool- If the centres aren't showing up, make sure they aren't on top of any other shapes or object.
<F5>
for circles<F6>
for freehand pen<C-F6>
for freehand calligraphy<S-F6>
orb
for Bezier curves and straight lines (click, then right click to end path)- Right click or
<Enter>
to end path
- Right click or
<F7>
ord
for the eyedrop tool<F8>
ort
for the text tool- To create a box that flows with width, make sure you draw a rectangle with it instead of just clicking on a page
- Convert flowRoot to text with Text → Convert to Text
- I don't think these are always true:
- Object To Path breaks down the object so that it has a stroke property only
- Stroke To Path breaks down the stroke so that it has a fill property only
Installing Fonts
- For MacOS, copy these over to
~/Library/Fonts
(or install them after opening the font file)
Troubleshooting
Known Bugs
- Alt-D doesn't work reliably
- Personal solution is to make sure Object Properties isn't docked
MacOS
- Paste size not working
- Go into X11 Preferences → Pasteboard → Uncheck 'Update Pasteboard when CLIPBOARD changes'
- Enabling the Alt key on MacOS
- Go to preferences in XQuartz and then enable Input → Option keys send Alt_L and Alt_R
Resources
- Nick Saporito's Inkscape series
- Keyboard and mouse shortcuts
- Attributes
- Rounded corners
- Basic tutorial
- Advanced tutorial - path, node manipulation, boolean operations
- Copy and pasting
- Swatches
- Link a colour to a swatch with this. Very useful for establishing colour schemes/branding
- To edit solid colours sensibly, enable Preferences → Tools → Gradient → Use legacy gradient editor (http://www.inkscapeforum.com/viewtopic.php?t=18841)
- Icon creation workflow
- Favicon creation workflow
- Quickguide for people who are already familiar with vectors
- Difference between Object and Stroke to Path