Coder Social home page Coder Social logo

pathmonkey's Introduction

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:

pathmonkey's People

Contributors

garykac avatar vmario89 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.