Get length of polyline

Use this forum to ask questions about how to do things in dxflib.

Moderator: andrew

Get length of polyline

Postby Tomtefar » Wed Mar 23, 2011 9:31 pm

Is there a magical way to get the total length of a polyline?
It has to work with rounded corners. I only have one polyline per layer if that makes it easier.

At the moment I use normal lines which I calculate the total length of by using their coordinates (they lack the rounded corners though).
Tomtefar
Newbie Member
 
Posts: 5
Joined: Sun Jun 14, 2009 2:40 pm

Postby andrew » Wed Mar 23, 2011 9:59 pm

dxflib is solely designed to parse / write DXF files. Any kind of data interpretation or analysis has to be done on top of it. QCAD for example has a tool to get the total length of all selected entities.
User avatar
andrew
Site Admin
 
Posts: 2602
Joined: Fri Mar 30, 2007 6:07 am


Return to dxflib 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 2 guests