Get length of polyline

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

Moderator: andrew

Newbie Member
Posts: 5
Joined: Sun Jun 14, 2009 2:40 pm

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).

User avatar
Site Admin
Posts: 4260
Joined: Fri Mar 30, 2007 6:07 am

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.

Return to “dxflib 'How Do I' Questions”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest