Re: Converting Selection to Polyline
Posted by
dxli on
Jan 03, 2016; 8:23pm
URL: https://forum.librecad.org/Converting-Selection-to-Polyline-tp5712769p5712771.html
experimental implementation:
https://github.com/LibreCAD/LibreCAD/commit/6b5125bea3e71fea95898cba4e53332370e0470bWe really need some smart graph algorithms for polyline, contour structures.
gravo-mm wrote
Hi everyone,
first let me say that I greatly appreciate the existing "Convert Into Polyline" Feature.
However, I'm missing (or unable to find) one bit of functionality:
Converting Only Selection To Polyline,
or to be more exact, specifying that only selected entity be eligible for the Polyline feature.
Consider this example:
I have two eight simple lines of same length, placed to look like (not to technically form) squares,
side by side so that the left edge of the first lies exactly on top of the right edge of the second,
upper and lower left/right corners respectively touching.
(It should look somewhat like this:)
---------
| | |
| | |
--------
No I wish to transform only the lines looking like the first square into a polyline.
The existing feature, however, would link all touching lines into a polyline,
without a possibility for finer control.
Now I'm using this workflow as a workaround:
-select lines of second square
-create block from selection
>now second lines are not eligible for polyline
-create polyline from rest of lines
-explode block
-delete block
What I would like to do:
-select lines of first square
>polyline feature knows only these are eligible
-create polyline from selection
Is there already an easy way to do that,
or should I make this a feature request?
Thanks for any help
mm