|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
"""Extract points from a dxf file, and save in csv format
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
dxf_to_csv.py [-h] [-n LAYER_NAME] [-l] dxf_name
|
|
|
|
|
dxf_to_csv [-h] [-n LAYER_NAME] [-l] dxf_name
|
|
|
|
|
|
|
|
|
|
Positional arguments:
|
|
|
|
|
dxf_name path to dxf file
|
|
|
|
@ -14,13 +14,13 @@ Optional arguments:
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
|
|
Show available layers:
|
|
|
|
|
> python dxf_to_csv.py drawing.dxf -l
|
|
|
|
|
> dxf_to_csv drawing.dxf -l
|
|
|
|
|
|
|
|
|
|
Convert all layers:
|
|
|
|
|
> python dxf_to_csv.py drawing.dxf
|
|
|
|
|
> dxf_to_csv drawing.dxf
|
|
|
|
|
|
|
|
|
|
Convert specific layer:
|
|
|
|
|
> python dxf_to_csv.py drawing.dxf -n LAYER_NAME
|
|
|
|
|
> dxf_to_csv drawing.dxf -n LAYER_NAME
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|