1EZDXF(1)                         User Commands                        EZDXF(1)
2
3
4

NAME

6       ezdxf – command launcher for the Python package “ezdxf”
7

SYNOPSIS

9       ezdxf    [-h]   [-V]   [-v]   [--config CONFIG]   [--log LOG]   {pp,au‐
10       dit,draw,view,pillow,browse,browse-acis,strip,config,info} ...
11

OPTIONS

13   POSITIONAL ARGUMENTS
14       Each of these has a corresponding man page: for example,
15              ezdxf-pp(1) for “ezdxf pp”.
16
17       pp     DXF pretty printer, replacement for the previous dxfpp command
18
19       audit  Audit and repair DXF files
20
21       draw   Draw and convert DXF files by the Matplotlib backend
22
23       view   PyQt DXF file viewer
24
25       pillow Draw and convert DXF files by the Pillow backend
26
27       browse PyQt DXF structure browser for DXF debugging and curious people
28
29       browse-acis
30              PyQt ACIS entity content browser for SAT/SAB debugging
31
32       strip  Strip comments and THUMBNAILIMAGE section from DXF files
33
34       config Manage config files
35
36       info   Show information and optional stats of DXF files  as  loaded  by
37              ezdxf(1)
38
39   OPTIONAL ARGUMENTS
40       -h, --help
41              show a help message and exit
42
43       -V, --version
44              show version and exit
45
46       -v, --verbose
47              give more output
48
49       --config CONFIG
50              path to a config file
51
52       --log LOG
53              path to a verbose appending log, stderr logs to the standard er‐
54              ror stream
55

ENVIRONMENT

57       EZDXF_DISABLE_C_EXT
58              Set environment variable EZDXF_DISABLE_C_EXT to  1  or  True  to
59              disable the usage of the C-extensions.
60
61       EZDXF_TEST_FILES
62              Path  to  the  ezdxf  test files required by some tests, for in‐
63              stance  the  CADKit  sample  files  should  be  located  in  the
64              EZDXF_TEST_FILES/CADKitSamples    folder.    See   also   option
65              ezdxf.options.test_files.
66
67       EZDXF_CONFIG_FILE
68              Specifies a user config file which will be loaded  automatically
69              after  the  default  config  files at the first import of ezdxf.
70              See the FILES section.
71
72       XDG_CONFIG_HOME
73              When searching for a default config file in the user home direc‐
74              tory,  ezdxf(1)  follows the XDG Base Directory specification if
75              the environment variable XDG_CONFIG_HOME is set.  See the  FILES
76              section.
77

FILES

79       The  default  config  files  are loaded from the user home directory as
80       ~/.config/ezdxf/ezdxf.ini,  and  the  current  working   directory   as
81       ./ezdxf.ini.   A custom config file can be specified by the environment
82       variable EZDXF_CONFIG_FILE.  ezdxf(1) follows the  XDG  Base  Directory
83       specification if the environment variable XDG_CONFIG_HOME is set.
84
85       The config file loading order:
86
87       1. user home directory: ~/.config/ezdxf/ezdxf.ini
88
89       2. current working directory: ./ezdxf.ini
90
91       3. config file specified by EZDXF_CONFIG_FILE
92
93       A  configuration  file that is loaded later does not replace the previ‐
94       ously loaded ones, only the existing options in the newly  loaded  file
95       are added to the configuration and can overwrite existing options.
96

EXAMPLES

98       Show the ezdxf(1) version and configuration:
99
100              $ ezdxf -Vv
101
102              ezdxf v0.16.5b0 @ d:\source\ezdxf.git\src\ezdxf
103              Python version: 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]
104              using C-extensions: yes
105              using Matplotlib: yes
106
107              Configuration:
108              [core]
109              default_dimension_text_style = OpenSansCondensed-Light
110              test_files = D:\Source\dxftest
111              font_cache_directory =
112              load_proxy_graphics = true
113              store_proxy_graphics = true
114              log_unprocessed_tags = false
115              filter_invalid_xdata_group_codes = true
116              write_fixed_meta_data_for_testing = false
117              disable_c_ext = false
118
119              [browse-command]
120              text_editor = "C:\Program\ Files\Notepad++\notepad++.exe" "{filename}" -n{num}
121
122
123              Environment Variables:
124              EZDXF_DISABLE_C_EXT=
125              EZDXF_TEST_FILES=D:\Source\dxftest
126              EZDXF_CONFIG_FILE=
127
128              Existing Configuration Files:
129              C:\Users\manfred\.config\ezdxf\ezdxf.ini
130

SEE ALSO

132https://pypi.org/project/ezdxf/
133
134       ezdxf-pp(1),  ezdxf-audit(1),  ezdxf-draw(1), ezdxf-view(1), ezdxf-pil‐
135       low(1),    ezdxf-browse(1),    ezdxf-browse-acis(1),    ezdxf-strip(1),
136       ezdxf-config(1), ezdxf-info(1)
137
138
139
140                                September 2022                        EZDXF(1)
Impressum