Add path-reorder extension/tool #4
Comments
I have a preliminary beta version of a basic path-reordering extension -- based on an earlier version in the EggBot project -- ready for beta test and attached to this comment. If anyone watching would like to help out with this project, please give this extension a try and let me know how it works for you. Unlike the earlier version from EggBot, this new version:
Additional notes:
|
I've made an extension that might be what you want: https://github.com/Daekkyn/inkscapeOptimizePath It currently only works with straight line segments though. |
@Daekkyn Is this an improvement over the beta above? |
@oskay No, this was written from scratch. |
Whether it is "better" or not does not depend on whether it was written from scratch. The one posted above works on any paths, and is designed to respect grouping-- that is the harder part. It looks like yours does not handle groups or layers or transforms, but is more efficient? |
Both extensions do different things. The one above simply reorders the path, which is good in some cases. Mine completely rebuilds the drawing by joining as much as possible all the line segments and ensuring that each edge is traversed exactly one time, even if multiple line are overlapping. This allows the pen to stay on paper for much longer which drastically reduced drawing times when there are a lot of line segments. It is a first version that can be improved to handle more types of paths. |
I understand the reason for having an extension like this, but for general use, it is going to be problematic to require that the document be fully ungrouped before plotting. I am concerned about the dependencies with approach. This extension, along with its dependencies, appears (at first glance) to be vastly larger than the existing AxiDraw software. |
Removing the dependency should be quite easy, the depth first search algorithm is easy to implement. Handling groups is also quite simple. I will continue to work on it. |
I made a pull request for the eggbot reorder path extension: evil-mad/EggBot#91 |
Yes, we've seen the pull request. |
What is the status of this feature? Is the above reorder-prerelease.zip still the most recent version? I'd be interested in lending a hand. |
No; new version (written from scratch) is in private beta test. Will be released with the 2.3 branch. |
Thanks for the heads up, sent! |
Done. |
@oskay just used your extension today and saved myself a lot of time. Thanks very much for your efforts. cheers |
For the EggBot, we have the "reorder paths for speed" extension. It would be nice to have something similar for AxiDraw.
Possible approach: Add as an extension that is not part of the AxiDraw software, per se-- similar to the Arrange > Restack extension.
Possible approach: Add as a checkbox, and do so automatically at print time.
The text was updated successfully, but these errors were encountered: