ezdxf-draw - Man Page

ezdxf draw – draw and convert DXF files by the Matplotlib backend


ezdxf draw [-h] [--formats] [-l LAYOUT] [--all-layers-visible] [--all-entities-visible] [-o OUT] [--dpi DPI] [-v] [FILE]


Positional Arguments


DXF file to view or convert

Optional Arguments


show a help message and exit


show all supported export formats and exit

-l LAYOUT, --layout LAYOUT

select the layout to draw, default is “Model


draw all layers including the ones marked as invisible


draw all entities including the ones marked as invisible (some entities are individually marked as invisible even if the layer is visible)

-o OUT--out OUT

output filename for export

--dpi DPI

target render resolution, default is 300


give more output


See ezdxf(1).


See ezdxf(1).


Convert the DXF file “gear.dxf” into a SVG file by the Matplotlib backend:

$ ezdxf draw -o gear.svg gear.dxf

Show all output formats supported by the Matplotlib backend on your system. This output may vary:

$ ezdxf draw --formats

eps: Encapsulated Postscript
jpg: Joint Photographic Experts Group
jpeg: Joint Photographic Experts Group
pdf: Portable Document Format
pgf: PGF code for LaTeX
png: Portable Network Graphics
ps: Postscript
raw: Raw RGBA bitmap
rgba: Raw RGBA bitmap
svg: Scalable Vector Graphics
svgz: Scalable Vector Graphics
tif: Tagged Image File Format
tiff: Tagged Image File Format

See Also


ezdxf-pp(1), ezdxf-audit(1), ezdxf-view(1), ezdxf-pillow(1), ezdxf-browse(1), ezdxf-browse-acis(1), ezdxf-strip(1), ezdxf-config(1), ezdxf-info(1)

Referenced By

ezdxf(1), ezdxf-audit(1), ezdxf-browse(1), ezdxf-browse-acis(1), ezdxf-config(1), ezdxf-info(1), ezdxf-pillow(1), ezdxf-pp(1), ezdxf-strip(1), ezdxf-view(1).

September 2022