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