Skip to content

Reading settings

Theme
Text size
Line spacing
Reading width
Code text size
Dyslexia-friendly font · Motion

DXF files

CompleteChecked against Musa CAD 0.8.0Verified

DXF is a text format that almost every CAD program can read and write. Musa CAD reads and writes it without any extra software. It is the best way to exchange drawings with AutoCAD, LibreCAD, QCAD, DraftSight and others.

  • Open a DXF: choose Import ▸ DXF… from the application menu, or type IMPORT. The file opens in a new tab.
  • Save as DXF: choose Export ▸ DXF…, or type EXPORT.
  • From the command line: musacad drawing.dxf opens it, and musacad --plot drawing.dxf out.pdf plots it without opening a window.

Keep your working copy as .musa. DXF is for exchange, and a few things can only be kept in Musa CAD’s own format.

Musa CAD reads these DXF objects:

KindDXF objects
Lines and curvesLINE, LWPOLYLINE, 2D POLYLINE, CIRCLE, ARC, ELLIPSE, SPLINE, XLINE, RAY, POINT, MLINE
TextTEXT, MTEXT, with their text styles
Dimensions and notesDIMENSION (every kind), LEADER, TOLERANCE, with the dimension styles
FillsHATCH (solid, patterns, user-defined and gradients), WIPEOUT
BlocksBLOCK definitions, INSERT, ATTDEF, ATTRIB, external references
ImagesIMAGE with its IMAGEDEF
Layoutspaper space objects and VIEWPORT

It also reads the layer, linetype, text style, dimension style and viewport tables, the drawing units, the limits and the linetype scale.

Anything Musa CAD cannot read is skipped and named, never dropped silently. Every import ends with a line like this:

Imported 412 entities on 9 layers (36 block refs over 12 definitions); skipped 3 unsupported (ACAD_TABLE, MULTILEADER).

These are not read in version 0.8.0:

  • Tables (ACAD_TABLE) and multileaders (MULTILEADER).
  • 3D objects: 3D polylines, meshes, 3D faces, solids, regions and surfaces. Musa CAD is a 2D program.
  • Inside block definitions: dimensions, leaders, points, hatches and images. A block in Musa CAD holds lines, arcs, circles, polylines, text and nested blocks, so these are skipped there. Ellipses and splines inside a block come in as polylines that follow the same curve.

Musa CAD writes AutoCAD R2000 DXF files (version AC1015). Almost every program reads that version.

DXF has no place for a few things Musa CAD can do. They are written as the closest thing DXF has:

In Musa CADIn the DXF file
TableNot written yet. Keep tables in the .musa file.
MultileaderA LEADER and an MTEXT, which look the same
Jogged radius dimensionA radius dimension
Arc length dimensionAn aligned dimension showing the arc length as its text
Datum symbolA one-cell tolerance frame; the triangle on its leader is lost
Dimension with a tolerance, prefix or suffix of its ownThe dimension with that text written in; it reads back as text, not as an editable tolerance
Jog line on a dimension, inspection dimensionNot written yet
Layer statesNot written yet
Embedded imageThe image is saved as a file beside the DXF
Several layoutsWritten as one paper space

For DWG files, see DWG files. For fonts and images that come with a drawing, see Images and fonts.