DWG Loader
Load, view, pick, and export DWG/DXF CAD drawings in Unity 2D. Supports Built-in, URP, and HDRP on Windows x64.
by LucasEvan
Price History +
DWG Loader brings native AutoCAD DWG and DXF support directly into your Unity project — ideal for BIM viewers, factory layouts, mechanical design review, GIS/CAD overlays, training simulators, and any app that needs accurate 2D engineering drawings inside a 3D scene.
Load drawings at runtime or import them in the Editor. Geometry is batched into efficient meshes with per-entity pick IDs, so you can interact with individual lines, arcs, polylines, hatches, blocks, and text without spawning one GameObject per entity.
Key capabilities:
• Runtime and Editor loading (sync and async with frame-spread build for large sheets)
• Accurate 2D display: lines, fills, hatches, dashed/chain line styles, dimensions, blocks, and TextMeshPro labels (CJK-friendly)
• Layer visibility control at runtime
• GPU entity picking: click, tolerance pick, rectangle box-select, and selection highlight
• Orthographic pan/zoom camera helpers for CAD-style navigation
• Export to DXF, DWG, PDF, and BMP from code or Editor menus
• Five ready-to-run sample scenes covering import, async load, single pick, box select, and export
Rendering pipelines are detected automatically — Built-in, URP, and HDRP shaders are included. The package ships with a Windows x64 native plugin and sample CAD files. No legacy CAD Import dependency; integrate with a few lines of C# or use the provided examples.
THIRD-PARTY ASSETS
- Asset uses Earcut.NET under the ISC License; see Third-Party Earcut.NET_License.txt file in package for details.
- Asset uses netDxf under the MIT License; see Third-Party netDxf_License.txt file in package for details.
- Asset uses PDFsharp under the MIT License; see Third-Party PDFsharp_License.txt file in package for details.
- Asset uses Han Serif Font under the SIL Open Font License; see Third-Party Han Serif Font_License.txt file in package for details.