Skip to main content
Model Mender

Browser-local converter

DXF to OBJ converter

Turn a flat DXF drawing into a Wavefront OBJ solid on your own machine. You supply the thickness, closed outlines are extruded, and the OBJ is checked by parsing it back before you download it.

Drop your DXF files here

STL, OBJ, PLY, GLB, glTF, 3MF, SVG and DXF. Nothing is uploaded: files are read and converted inside this tab. Checking what this device can handle...

Queue

No files yet. Drop models above, or use the file picker.

Add a model to see it here.

Output

Units

Size and placement

Repair and cleanup

These can change the shape, so they need a before-and-after review before export.

Inspection

Add a model to see its dimensions, mesh health and estimated volume.

What this DXF to OBJ conversion does and does not do

  • An extrusion depth in millimetres is required: a DXF has no thickness, and no default would be honest for an arbitrary drawing.
  • Only closed outlines become solid. Loose lines and arcs are chained where their endpoints meet; anything that will not close is reported and left out rather than force-closed.
  • A DXF carries no materials or colour, so the OBJ is written without a .mtl sidecar. Nothing is invented to fill the gap.
  • Holes are resolved by nesting with the even-odd rule, because DXF winding direction is not a dependable signal.
  • The unit comes from $INSUNITS when the drawing declares it. OBJ records no unit at all, so note what the numbers mean or keep the DXF alongside.
  • SPLINE, TEXT, DIMENSION and HATCH entities cannot be extruded and are listed as skipped rather than approximated.

Troubleshooting

The OBJ has no colour or material

A DXF has none to give. Assign materials in the workspace, or in whatever tool you are importing into.

Nothing was extruded

No outline closed. Construction lines and unjoined boundaries are the usual cause; join the profile into a closed polyline in your CAD tool first.

The curves are visibly faceted

Lower the curve tolerance before converting. Arcs, circles and polyline bulges are all flattened to segments within that tolerance.

The scale looks wrong in my 3D application

OBJ has no unit, so the importer guesses. Check the unit the workspace read from the DXF, convert it if needed, and note the unit when you hand the file on.

Questions

Is this a real solid or just a flat sheet?

A real closed solid. Top and bottom caps are triangulated and side walls are generated so every edge is shared by exactly two triangles, which the inspection panel confirms.

Do polyline bulges survive?

Yes. A bulge is a circular arc, and it is flattened as one rather than cut across as a straight chord, so fillets and rounded slots keep their shape.

Which DXF versions work?

Any ASCII DXF whose geometry uses the supported entity types; the format has been tag-compatible for decades. Binary DXF is refused with a message rather than misread.

More tools