|
View previous topic :: View next topic
|
| Author |
Message |
enderw88
Joined: 23 Jun 2009 Posts: 24
|
Posted: Mon Jul 06, 2009 1:30 pm Post subject: Convert lines to a closed polygon? |
    |
|
I know I can convert a single line to a polygon (option on the WT polygon tool) but is there a way to convert a series of lines to a polygon? In particular i want to convert a complex series of lines to a polygon so that I can measure centroid and inertias.
Thus far I have been manually building a polygon over the existing lines. _________________ Craig
Tucson, AZ |
|
| Back to top |
|
 |
Peter Severin Carlsen
Joined: 29 Oct 2004 Posts: 105 Location: St. Paul, Minnesota
|
Posted: Mon Jul 06, 2009 2:57 pm Post subject: |
    |
|
You can select the lines you want to form the polygon and use the powercadd command "attach" under the "tool" menu. As long as the lines meet at their end points you will get a polygon. If you want to preserve the original lines you can always copy and paste them on a separate layer or off to the side and work on the copy there.
Of course you can also you flood the area that you want to form a polygon and you end up with a polygon. The flood tool sometimes even works with lines simply crossing, but I've found that where there are multiple cures as in an aluminum window frame extrusion, it often gets confused.
And I bet others have ways I've never discovered or thought of. _________________ Peter Carlsen |
|
| Back to top |
|
 |
enderw88
Joined: 23 Jun 2009 Posts: 24
|
Posted: Mon Jul 06, 2009 3:51 pm Post subject: |
    |
|
Thank you. That worked well.
It even works for a different problem I was having: If you draw a closed polygon with rounded corners using lines and arcs, the centroid tool will not work. But, if you "ungroup" the polygon, select the lines and curves and "attach" them the centroid tool works perfectly.
If you draw a closed rounded polygon using "beziers" the controid tool complains that there are open shapes. _________________ Craig
Tucson, AZ |
|
| Back to top |
|
 |
Alfred Scott

Joined: 15 Apr 2004 Posts: 749 Location: Richmond, VA
|
Posted: Tue Jul 07, 2009 6:38 am Post subject: |
    |
|
Centroid works fine on a rounded rectangle here. Perhaps you are confusing this with the Slot tool that will place the lines and arcs as a group (no good for Centroid) or Beziers (good for Centroid).
There's also the Join tool.
Alfred |
|
| Back to top |
|
 |
|