Skip to content

Simple Inkscape Scripting v5.3.0

Latest

Choose a tag to compare

@spakin spakin released this 14 Apr 04:39
· 8 commits to master since this release
v5.3.0
080073a

This release of Simple Inkscape Scripting introduces a few handy features:

  • All Simple Inkscape Scripting objects define a get_id method that returns the SVG ID of the underlying inkex object.
  • An align function provides a flexible means of aligning objects à la Inkscape's ObjectAlign and Distribute… dialog box.
  • The Simple Inkscape Scripting dialog box includes an "Ignore missing/broken Python packages" checkbox, which instructs Simple Inkscape Scripting to issue only a warning message upon failure to import NumPy and/or Pillow. Operations that require those packages will crash, but all other operations will run as normal.
  • The translate method accepts a relocate argument, which can be used to rewrite the object's coordinates rather than apply a transformation matrix.

A few nasty bugs have been squashed as well.

See the Simple Inkscape Scripting commit log for details of all of the above. Also, a PDF version of the complete online documentation is provided as a release asset named sis-docs.pdf.