Path Simplify plug-in

About

This plug-in provide simplify for vector path.
It is good to a shape that has many line segments and points
for example United shape by Logical Operation(Boolean) or create from selection.

If work success,it would be append new Vector Layer as contain simplified path data.

Special Thanks

This plugin is used simplify.py (by Omar Estrella) in internal,
It is a simple python port of simplify.js by Vladimir Agafonkin
Thanks so much the author for create a usuful code.

Feature

  • Generate simplified path on same position append as new Vector Layer
  • Support Line segement(SVG ) shape only
  • For multiple shapes that selected
  • For Grouped shapes that selected (Simplify them keep group )
  • Transformed shape supported
  • Shapes that has Hole pathes supported
  • Quick access buttons for Boolean Commands

Usage

This plugin provide by Docker
To access for this plugin from the Menu

Settings → Dockers → Path Simplify

And , select a shape or multiple shapes in a VectorLayer,and use the large button.

(Add Quick access for boolean commands , version 0.5
This feature make path simplify apply after a boolean command.
It will make faster of vector operation workflow)

Parameter and Option

Tolerance Default:0.8
Increase this value, effect strongly ,and more simple polygonal result.

  • Ineffective: 0.0 - 0.4
  • Good result: 0.5 - 1.0 (Recommend)
  • Polygonalize: 1.5 - 2.5
  • Simple N-gon: 3.0 - 5.0

Hi-Quality Default: Checked
If it checked,it try to make it as close to the original Shape as possible.

Simplify Example

If the processing is successful, a VectorLayer named ‘Simplified shape data’ will be added.


Since they are generated in the same position,
I have separated them on separate layers to make editing easier.

Limitation

  • Line segement() only
  • Not support Rectangle,Ellipse Shape
  • Not support Spline or Bezier cuver (It can covert to line segments)

If apply to an incompatible shape, a dialog will appear to inform to you.

17 Likes

Thank you for making this, it will be very useful for some vector work :+1:

1 Like

I just discovered this plugin, and it really is excellent! It really makes working with vector shapes that much more enjoayable! Thanks!

1 Like