Optionaldxf: string | Blob | FileOptionalmakeFaces: booleanOptionaljoinTolerance: numberOptionalincludeHiddenLayers: booleanOptionalunit: unitOfLengthEnumThe DXF file's text, or a File or Blob holding it (ASCII DXF, R12 or later). Older bytes not in UTF-8 are read in the header's code page, or Windows-1252.
OptionalmakeWhen true, closed outlines that lie flat in the drawing become faces, an outline inside another cutting a hole in it as an even-odd fill does; open outlines stay wires.
OptionaljoinHow far apart, in file units, two entities' ends may lie and still join into one wire: at most 0.001 or a hundredth of the drawing's span, whichever is larger.
OptionalincludeWhen true, entities on frozen and switched-off layers are read too.
OptionalunitThe unit to give the shapes in, scaled from the unit the file states; a file stating none is read as drawn. Left out, the numbers stay as drawn.
A DXF file for
io.loadDxfandio.loadDxfStructured, which build its lines, arcs, circles, ellipses, polylines and splines as exact edges joined into wires, and faces where asked.