EZDXF(1)
π EZDXF β bestie edition π
okay so. ezdxf is the command launcher for the Python package "ezdxf" β it's the little front door that opens into a whole mansion of DXF tooling. come on in. π«Ά
β¨ SYNOPSIS β¨
ezdxf [-h] [-V] [-f] [-v] [--config CONFIG] [--log LOG]
{audit,draw,view,browse,browse-acis,strip,config,info,hpgl} ...
πΈ OPTIONS πΈ
π POSITIONAL ARGUMENTS
these are the subcommands, the main characters of the group chat:
auditβ audit and repair DXF files. it's giving detective energy πdrawβ draw and convert DXF files by the Matplotlib backend π¨viewβ PyQt DXF file viewer πbrowseβ PyQt DXF structure browser, for DXF debugging and curious people. the nosy bestie command fr fr πbrowse-acisβ PyQt ACIS entity content browser for SAT/SAB debuggingstripβ strip comments and theTHUMBNAILIMAGEsection from DXF files π§Ήconfigβ manage config files βοΈinfoβ show information and optional stats of DXF files as loaded byezdxf(1). and lowkey important: this may not represent the original content of the file; useezdxf-browse(1)to see the original content. don't let it gaslight you πhpglβ view and/or convert HPGL/2 plot files to various formats
β OPTIONAL ARGUMENTS
-h,--helpβ show a help message and exit. the classic. the icon. π-V,--versionβ show version and exit-f,--fontsβ rebuild the system font cache and print all fonts found π€-v,--verboseβ give more output. the way she just keeps talking and we love her for it π£οΈ--config CONFIGβ path to a config file--log LOGβ path to a verbose appending log,stderrlogs to the standard error stream
π ENVIRONMENT π
EZDXF_DISABLE_C_EXTβ set this env var to1orTrueto disable the usage of the C-extensions. bye bye C-extensions β¨EZDXF_TEST_FILESβ path to the ezdxf test files required by some tests. for instance the CADKit sample files should be located in theEZDXF_TEST_FILES/CADKitSamplesfolder. see also optionezdxf.options.test_files.EZDXF_CONFIG_FILEβ specifies a user config file which will be loaded automatically after the default config files, at the first import of ezdxf. see the FILES section below πXDG_CONFIG_HOMEβ when searching for a default config file in the user home directory,ezdxf(1)follows the XDG Base Directory specification if this environment variable is set. see the FILES section.
π FILES π
so the default config files get loaded from two places: the user home directory as ~/.config/ezdxf/ezdxf.ini, and the current working directory as ./ezdxf.ini. a custom config file can be specified by the environment variable EZDXF_CONFIG_FILE. and ezdxf(1) follows the XDG Base Directory specification if the environment variable XDG_CONFIG_HOME is set. periodt. π
the config file loading order, in this exact order bestie:
- user home directory:
~/.config/ezdxf/ezdxf.ini - current working directory:
./ezdxf.ini - config file specified by
EZDXF_CONFIG_FILE
and here's the thing β a configuration file that is loaded later does not replace the previously loaded ones. only the existing options in the newly loaded file are added to the configuration and can overwrite existing options. it's additive, not a fresh start. no cap. π§
π₯ EXAMPLES π₯
show the ezdxf(1) version and configuration:
$ ezdxf -Vv
ezdxf v0.16.5b0 @ d:\source\ezdxf.git\src\ezdxf
Python version: 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]
using C-extensions: yes
using Matplotlib: yes
Configuration:
[core]
default_dimension_text_style = OpenSansCondensed-Light
test_files = D:\Source\dxftest
font_cache_directory =
load_proxy_graphics = true
store_proxy_graphics = true
log_unprocessed_tags = false
filter_invalid_xdata_group_codes = true
write_fixed_meta_data_for_testing = false
disable_c_ext = false
[browse-command]
text_editor = "C:\Program\ Files\Notepad++\notepad++.exe" "{filename}" -n{num}
Environment Variables:
EZDXF_DISABLE_C_EXT=
EZDXF_TEST_FILES=D:\Source\dxftest
EZDXF_CONFIG_FILE=
Existing Configuration Files:
C:\Users\manfred\.config\ezdxf\ezdxf.ini
look at all that output. she's thorough. she's organized. she ate. π β¨
π¦ SEE ALSO π¦
- https://pypi.org/project/ezdxf/
ezdxf-audit(1),ezdxf-draw(1),ezdxf-view(1),ezdxf-browse(1),ezdxf-browse-acis(1),ezdxf-strip(1),ezdxf-config(1),ezdxf-info(1),ezdxf-hpgl(1)
and that's the whole page bestie!! π this one's from May 2024, and it's the EZDXF(1) manual β go forth and slay your DXF files πππ«Ά
π¦ where this page comes from
- fedora 43: python3-ezdxf 1.4.2-5.fc43 Β· MIT AND ISC AND AGPL-3.0-only
- fedora 43: python3-ezdxf 1.4.4-1.fc43
- fedora 43: python3-ezdxf 1.4.5-1.fc43 Β· MIT AND ISC AND AGPL-3.0-only
- fedora 44: python3-ezdxf 1.4.3-5.fc44 Β· MIT AND ISC AND AGPL-3.0-only
- fedora 44: python3-ezdxf 1.4.4-1.fc44
- fedora 44: python3-ezdxf 1.4.5-1.fc44 Β· MIT AND ISC AND AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms