1EZDXF(1) User Commands EZDXF(1)
2
3
4
6 ezdxf – command launcher for the Python package “ezdxf”
7
9 ezdxf [-h] [-V] [-v] [--config CONFIG] [--log LOG] {pp,au‐
10 dit,draw,view,browse,strip,config,info} ...
11
13 POSITIONAL ARGUMENTS
14 Each of these has a corresponding man page: for example,
15 ezdxf-pp(1) for “ezdxf pp”.
16
17 pp pretty print DXF files as HTML file
18
19 audit audit and repair DXF files
20
21 draw draw and convert DXF files by Matplotlib
22
23 view view DXF files by the PyQt viewer
24
25 browse browse DXF file structure
26
27 strip strip comments from DXF files
28
29 config manage config files
30
31 info show information and optional stats of DXF files as loaded by
32 ezdxf(1), this may not represent the original content of the
33 file, use the browse command to see the original content
34
35 OPTIONAL ARGUMENTS
36 -h, --help
37 show a help message and exit
38
39 -V, --version
40 show version and exit
41
42 -v, --verbose
43 give more output
44
45 --config CONFIG
46 path to a config file
47
48 --log LOG
49 path to a verbose appending log, stderr logs to the standard er‐
50 ror stream
51
53 EZDXF_DISABLE_C_EXT
54 Set environment variable EZDXF_DISABLE_C_EXT to 1 or True to
55 disable the usage of the C-extensions.
56
57 EZDXF_TEST_FILES
58 Path to the ezdxf test files required by some tests, for in‐
59 stance the CADKit sample files should be located in the
60 EZDXF_TEST_FILES/CADKitSamples folder. See also option
61 ezdxf.options.test_files.
62
63 EZDXF_CONFIG_FILE
64 Specifies a user config file which will be loaded automatically
65 after the default config files at the first import of ezdxf.
66 See the FILES section.
67
68 XDG_CONFIG_HOME
69 When searching for a default config file in the user home direc‐
70 tory, ezdxf(1) follows the XDG Base Directory specification if
71 the environment variable XDG_CONFIG_HOME is set. See the FILES
72 section.
73
75 The default config files are loaded from the user home directory as
76 ~/.config/ezdxf/ezdxf.ini, and the current working directory as
77 ./ezdxf.ini. A custom config file can be specified by the environment
78 variable EZDXF_CONFIG_FILE. ezdxf(1) follows the XDG Base Directory
79 specification if the environment variable XDG_CONFIG_HOME is set.
80
81 The config file loading order:
82
83 1. user home directory: ~/.config/ezdxf/ezdxf.ini
84
85 2. current working directory: ./ezdxf.ini
86
87 3. config file specified by EZDXF_CONFIG_FILE
88
89 A configuration file that is loaded later does not replace the previ‐
90 ously loaded ones, only the existing options in the newly loaded file
91 are added to the configuration and can overwrite existing options.
92
94 ⟨https://pypi.org/project/ezdxf/⟩
95
96 ezdxf-pp(1), ezdxf-audit(1), ezdxf-draw(1), ezdxf-view(1),
97 ezdxf-browse(1), ezdxf-strip(1), ezdxf-config(1), ezdxf-info(1)
98
99
100
101 January 2022 EZDXF(1)