If you work in mechanical engineering, industrial design, CNC machining, or architecture, you hit the same wall every week: someone sends a proprietary .dwg drawing or an ISO 10303 .step assembly, and you need a printable .stl mesh or an open .dxf file without booting a heavy desktop CAD suite or breaking an NDA.
Nearly every top search result for "STEP to STL" or "DWG to DXF" asks you to upload your file to a stranger’s cloud server. For supplier parts, patented assemblies, medical fixtures, or client floor plans, uploading raw geometry to an opaque third-party bucket violates security policy and NDAs.
Why CAD formats are hard in JavaScript
Unlike simple JSON or image headers, CAD files encode mathematical boundary representations (B-rep) and NURBS surfaces (in STEP, STP, IGES, and BREP) or undocumented binary object tables that shift between AutoCAD releases (in DWG). A naive parser cannot tessellate trimmed NURBS patches cleanly into watertight triangle meshes without gaps, flipped normals, or broken fillets.
That is why desktop CAD tools rely on battle-tested C and C++ geometry kernels: Open CASCADE Technology (OCCT) for solid modeling and tessellation, GNU LibreDWG for binary DWG decoding, and Assimp for polygon mesh interchange across FBX, OBJ, PLY, 3MF, COLLADA, and glTF/GLB.
Compiling three C++ geometry kernels to WebAssembly
Xonvert compiles LibreDWG, Open CASCADE, and Assimp to WebAssembly and runs each inside an isolated Web Worker on your own CPU. Your STEP, IGES, DWG, or FBX file is read as a local ArrayBuffer, passed directly into WASM linear memory, processed, and returned as an in-memory Blob download. Zero network requests carry your file bytes.
What survives STEP → STL vs. DWG → DXF
Understanding format physics prevents costly mistakes before sending a part to a 3D printer or CNC router. STEP and IGES store exact curved surfaces—cylinders, cones, and splines are analytical equations. STL only stores triangles, so OCCT tessellates every surface within a chordal deflection tolerance. Feature trees and parametric sketches do not exist in STL, only the outer skin.
When LibreDWG converts DWG to DXF, standard 2D and 3D entities—lines, arcs, circles, polylines, layers, blocks, and text—translate reliably into ASCII or binary DXF readable by LibreCAD, QCAD, FreeCAD, LightBurn, and Inkscape. Custom vertical entities from Civil 3D or Mechanical add-ons may not carry over, so always inspect critical tolerances in your CAM viewer before cutting metal.
1-click offline recipes for repeat engineering workflows
Instead of clicking through five menus every time a supplier emails a STEP file, you can bookmark a shareable offline recipe URL that stays cached in your browser and works even in airplane mode.
