EZDXF-DRAW(1)

πŸ“¦ version 1.4.5, in fedora 43, fedora 44

✨ EZDXF-DRAW ✨ (1) β€” User Commands πŸ’…

okay so bestie, welcome to ezdxf draw β€” it's the little command that draws and converts DXF files by the Matplotlib backend 🎨✨ It lives in section 1 of the manual (User Commands, the cool section), and it's literally the glow-up your CAD files have been waiting for.


🌸 NAME 🌸

ezdxf draw – draw and convert DXF files by the Matplotlib backend πŸ¦‹


πŸ’– SYNOPSIS πŸ’–

ezdxf draw [-h] [--backend {matplotlib,qt,mupdf,custom_svg}] [--formats]
[-l LAYOUT]
[--background {DEFAULT,WHITE,BLACK,PAPERSPACE,MODELSPACE,OFF,CUSTOM}]
[--all-layers-visible] [--all-entities-visible] [-o OUT] [--dpi DPI]
[-f] [-v] [FILE]

no cap, that's the whole vibe right there πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

🫢 POSITIONAL ARGUMENTS

  • FILE β€” the DXF file you wanna view or convert, periodt πŸ’…

😭 OPTIONAL ARGUMENTS

  • -h, --help β€” shows a help message and then dips (exits). the way that it just tells you things and leaves?? iconic 🧚
  • --backends {matplotlib,qt,mupdf,custom_svg} β€” picks the backend for rendering. (and yes bestie, the synopsis up there spells it --backend while this list spells it --backends β€” not me noticing, I'm just copying it exactly as printed πŸ™ˆ)
  • --formats β€” shows you every export format your setup supports, then exits. little show-off behaviour, obsessed 🌈
  • -l LAYOUT, --layout LAYOUT β€” picks which layout to draw. default is "Model" 🏠
  • --background {DEFAULT,WHITE,BLACK,PAPERSPACE,MODELSPACE,OFF,CUSTOM} β€” chooses the background colour to use 🎨
  • --all-layers-visible β€” draws all layers, even the ones marked as invisible πŸ‘€βœ¨
  • --all-layers-visible β€” (yes, it's printed a second time up in here, and this one is described as drawing all entities including the ones marked as invisible β€” some entities are individually marked as invisible even when the layer itself is visible, iykyk πŸ’€)
  • -o OUT, --out OUT β€” the output filename for export πŸ“
  • --dpi DPI β€” target render resolution. default is 300 πŸ”
  • -f, --force β€” overwrites the destination if it's already there. no "are you sure" energy, it just goes πŸ’₯
  • -v, --verbose β€” gives you more output. talk to me more, queen πŸ—£οΈπŸ’œ

🌈 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

like?? the range?? we love a versatile queen πŸ”₯πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

ezdxf(1)

ezdxf-audit(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 was EZDXF-DRAW(1), dated March 2024 β€” main character energy from start to finish, no notes πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from