ezdxf-draw - Man Page

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

Synopsis

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

Options

Positional Arguments

FILE

DXF file to view or convert

Optional Arguments

-h--help

show a help message and exit

--formats

show all supported export formats and exit

-l LAYOUT, --layout LAYOUT

select the layout to draw, default is “Model

--all-layers-visible

draw all layers including the ones marked as invisible

--all-layers-visible

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

-v--verbose

give more output

Environment

See ezdxf(1).

Files

See ezdxf(1).

Examples

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(1)

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