On 2014-04-12 24:44 +0100, Jabiertxo Arraiza Cenoz wrote:
Hi to all, just developed a new path effect called "simplify". The code is on https://code.launchpad.net/~jabiertxof/inkscape/simplify It simplify a path or group.
The (destructive) simplify command supports a hidden preference option which affects how a selection of multiple objects is treated:
<quote> Simplify Path now has two modes when working with a group of paths: the default mode, which treats all of the paths as one large object to simplify, or the new mode, which acts the same as using Simplify on each path in a group separately. In preferences.xml, set options.simplifyindividualpaths to 1 to get the new mode. </quote> http://wiki.inkscape.org/wiki/index.php/ReleaseNotes045#Even_more_improvements
To test, edit 'preferences.xml' and add the following group within the group with the id "option"
<group id="simplifyindividualpaths" value="1" />
Maybe this would be an interesting option for the path effect too, when applied to a group?
Think give more control to the standar simplify command (Ctrl+L), because the "fixed" value threshold is modificable, so you can fine tune a lot the simplify. I also add a optional helper path with the generated nodes and or handles to "know" the result path. Feedback are welcome.