dxf2li

NAME

dxf2li - extract lines from a 'dxf' file or stream and send the data to a line cloud

SYNOPSIS

dxf2li [-l STRING|--layer STRING] [-p INT|--precision INT] [-pl|--polyline] [-f|--file] [-?|-h|--help]

DESCRIPTION

dxf2li extracts lines from a 'dxf' file or stream and sends the data to a line cloud [format is defined in view_li(1)]. By default, all the lines are extracted. The option --layer allows to extract only the lines on a specific layer. It takes its input from the standard input and returns the result to the standard output.

OPTIONS

-l STRING, --layer STRING

only lines on layer STRING are extracted

-p INTEGER, --precision INTEGER

number of decimals (default: 6)

-pl,--polyline

polylines are also extracted and transformed in lines

-d,--direct

output lines as they are read; require less memory but produce a non-conformant line cloud: without number of lines

-h,--help,-?

Returns the manual page

AUTHORS

Written by Pierre Smars (first version: 2001)

BUGS

Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.

COPYRIGHT

Copyright (C) 2015 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redisptbute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

li2dxf(1), dxf2pt(1), dxf2tri(1), view_li(1)

Pierre SMARS (tools, home page)