PathMonkey
A collection of extensions for manipulating paths in Inkscape.
Installing
Copy the .py and .inx files from extensions
into your Inkscape extensions
directory (typically ~/.config/inkscape/extensions
).
See http://wiki.inkscape.org/wiki/index.php/Script_extensions#Installing.
Sheriff Stars
Sheriff stars typically have 5 or 6 points and also have a circle at the end of each point so that the badge can't accidentally stab the officer while they're wearing the badge.
6-pointed Sheriff Stars | ||||
Create and select a circle | Launch extension and set options | Shapes created by extension | Remove original circle | Union the shapes |
The components (star, circles) are kept separate so that additional processing
can be performed on each component if desired. To produce a sheriff star
outline, just union
the various shapes together.
5- and 7-pointed Sheriff Stars | |||
If the "Show inner circle" option is selected, then a circle touching the inner points of the star will be included in the output. Here is an example for a 5-pointed star:
X-agrams
X-agrams are stars with a circumscribed circle. While these can be drawn separately, it can be tricky to properly align the circle and the star, especially for odd-count stars where the center of the star's bounding box is not the true center of the star.
Pentagram (5-agram) | |||
Create and select a circle | Launch extension and set options | Vertex skip = 1 (pentagon) | Vertex skip = 2 (pentagram) |
Septagram (7-agram) | ||
Vertex skip = 1 | Vertex skip = 2 | Vertex skip = 3 |
In addition to connecting each point along the outer circle, they can also be connected via an inner circle.
Septagram (7-agram) with inner connection | ||||
Vertex skip = 1 | Vertex skip = 2 | Vertex skip = 3 | Vertex skip = 4 | Vertex skip = 5 |
Mutual Cut Line
Even though Inkscape has a Cut operation, I never seem to be able to remember which line will be cut and which one is doing the cutting. Also, sometimes I want them to cut each other and keep all the segments.
So, given 2 lines that intersect:
This extension will generate the 4 segments where they divide each other:
Note that this leaves the original 2 lines in place, so you'll need to delete them if you no longer want them around: