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. 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.
Regards, Jabier.
Functionality-wise, it's great. One quirk is that when you change the helper size, you have to move the cursor back over the canvas for it to update the appearance.
Cheers, Josh
On Fri, Apr 11, 2014 at 3:44 PM, Jabiertxo Arraiza Cenoz < jabier.arraiza@...2893...> 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. 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.
Regards, Jabier.
Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
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.
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.
Hi su_v. This option you tell me only afect as a multiplier of the threshold value, so having the threshold at hand, you have the power.
splivarot.cpp:2046 orig->ConvertEvenLines(threshold * size); orig->Simplify(threshold * size);
Thanks for the feedback, Jabier.
participants (3)
-
Jabiertxo Arraiza Cenoz
-
Josh Andler
-
su_v