Documentation / Node reference / geo nodes

geo/DXFExporter

Writes the input line objects to a DXF R12 file, for laser cutters and CNC.

Files

Writes every renderable line object on its input as DXF R12 (AC1009) entities, the version every cutting tool and cutting service reads. Each object's entities go on a layer named after the object, which is the only place a DXF has for object identity. A chain of segments becomes a POLYLINE, a lone segment becomes a LINE, and a chain that loops back on itself is marked closed. The R12 subset is deliberate: no LWPOLYLINE (R14) and no SPLINE (R13), so old CAM software reads the file as happily as new software does.

Line geometry only. A triangle mesh, a NURBS curve or a B-rep on the input is a cook error rather than a silent skip: flatten it first with a node that produces lines, such as geo/Wireframe on a mesh or the tessellating CAD nodes on a curve. The exporter never tessellates behind your back, so what you see upstream is what the file holds.

The file is flat. `plane` picks the two components that become the DXF x and y, and the third is dropped, so anything standing off that plane is flattened onto it (the node logs a warning when that happens). R12 has no dependable units field, so coordinates are written as they are: the fabrication world reads 1 unit as 1 mm, so scale before exporting if your scene is not in millimetres.

Parameters

Name Type What it does
fileNameMode UInt8 NODE_NAME · NODE_PATH · CUSTOM_NAME How the file is named: after this node, after the node's full path in the scene (still unique when exporters in different subnets share a name), or after the name param typed below.
name String File name to write, without the .dxf extension.
plane UInt8 XZ · XY Which two components of a position become the DXF x and y. XZ is the ground plane the geo 2D primitives build on, XY is the plane the M2D nodes build on. The remaining component is dropped.
download Button Cooks the node and writes the file.

Examples

Scenes you can open in the editor that teach this node.

A round tag with engraved letters written to DXF R12, the file every cutting tool reads: the circle to cut and the text to engrave land on separate layers, a visible transform decides the millimetre size, and a second exporter shows the plane param reading XY geometry straight from geo/Text.

geo/DXFExporter

Import and export

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.