Update docstring

master
Dan Howe 7 years ago
parent 1f404cff73
commit dd86d3ac2e

@ -1,11 +1,27 @@
"""Extract points from a dxf file, and save in csv format
Example:
Extract coordinates from all layers
> python dxf_to_xyz.py file.dxf
usage:
dxf_to_csv.py [-h] [-n LAYER_NAME] [-l] dxf_name
positional arguments:
dxf_name path to dxf file
optional arguments:
-h, --help show this help message and exit
-n LAYER_NAME name of layer
-l show list of layers
Examples:
Show available layers:
> python dxf_to_csv.py drawing.dxf -l
Convert all layers:
> python dxf_to_csv.py drawing.dxf
Convert specific layer:
> python dxf_to_csv.py drawing.dxf -n LAYER_NAME
Extract coordinates from one layer
> python dxf_to_xyz.py file.dxf 'survey'
"""
__author__ = "D. Howe"

Loading…
Cancel
Save