Autodesk CAD DWG to Unity using 3ds Max

Greetings

I have a sample dwg file and I’m trying to show it in Unity, after reading some threads I’ve concluded that it should be converted to fbx and exported to Unity, however doing so only yields empty transform points.

For reference, this is what it shows in 3ds max:

I’m willing to later on publish it on Android, I simply want to view dwg files in a custom android app but I find that doing it in Unity could be easier instead of native (unless someone points me to an easier solution).

Hopefully someone has some insight into this.

Anybody willing to test it out and share the results here’s the sample file:

The CAD file just consists of splines, not geometry. You’ll have to model it into geometry to make it visible in Unity. If you actually want to display the splines you’ll need to use a plugin, because Unity doesn’t import splines by default.

1 Like

2 things.

Cad lines are not splines usually, theese are a collection of points united by a line instead of splines that behave like some kind of formula curve.

in 3dmax I believe all lines get to be converted to splines.

in max, closed splines are imported into unity as surfaces.

if the spline is not closed but end and start points are in same coords, there was a modifier something like “planar extrude” or “extrude face” or similar that would make that into a Surface, witch is what you need to import into unity.

You may whant to do this operation per layer, in 3dmax layers are in Tools tab.

I usually import my stuff already Meshed from Microstation. The downside of that is that usually normals are messed up.