Setup Menus in Admin Panel

Arch Viz Camp

Import 2D plans into 3D application the right way

Almost all of my 3d rendering projects start with an architectural drawing, usually done with AutoCAD by an architect or interior designer.

When a client send me his building plans, 99.9% of the time they will contain a lot of information that I might not need, or that would make it very difficult for me to “read” the building outline in order to import it to a 3D application.

Such information could be; electrical wiring, dimensions, text, symbols, hatches, topography measures and so on.

Your goal is to prepare the plans as much as you can in 2D before you even opened your 3D application.

So how does one go about doing that?

Here are the main steps which I’ll go over in this tutorial:

  1. Hide/delete all non-relevant objects.
  2. Create new layers for each element.
  3. Trace building lines.
  4. Clean up and flatten your plan.
  5. Import to 3d application.
  6. Convert lines to 3d model.

Hide/delete all non-relevant objects

This is the first step you should do in order to have a better look at your project. The most basic elements that should be visible are the walls, stairs, sections and elevations.

Beside those I like to keep other 2D elements that will help me later on when placing 3d objects, such as furniture, light fixture’s positions, sanitary, kitchen elements and the exterior area.

I will only be using those as a reference guide after importing into 3ds Max.

If the AutoCAD file was well organized by layers (as it should be), then your life would be much easier, because you could just turn off all the unnecessary information and keep only the ones you need.

Select the “turn layer off” icon turn_layer_off and start picking the lines you like to hide. If a line you’ve just selected is still visible, that because it’s part of a block reference or the line’s layer is currently selected. Just explode the block and/or move to a different layer.

This is the before and after:

2d_to_3d_01

In case the drawing isn’t organized by layers, you’ll have to work a little bit harder and delete/hide the unnecessary lines by hand.

Create new layers for each element

Now that we have left only with the information that we need, it’s time to create new set of layers for each element.

Why separate by layer?

because every layer that is imported to 3ds max is converted to one spline object which will become one 3d object later on.

I usually create the following layers for each element:

  • 3d_walls_out
  • 3d_walls_in
  • 3d_lights
  • 3d_furniture
  • 3d_floors

These are the basics ones, but you can create as many as you like.

2d_to_3d_02

TIP: Note how I give each layer a repetitive name so I could easily fined and select them when importing.

Trace the building lines

This is the part where you might work a little to trace all of the building lines, especially if it’s a big building with different floor layouts. But trust me, it will make your life much easier when moving into 3ds max later on.

There are two main methods that I use to trace the inner and outer walls, sometimes I’ll use them both and sometimes just one of them, for the sake of this tutorial I’ll show you one on the inner walls and one on the exterior walls.

Start by selecting layer “3d_walls_out” and with the polyline tool trace only the outer line of the exterior walls. Click on one corner of the building and continue by clicking on every window or door opening and on every wall corner.

wall_tracing01

After you’ve circled around the building, click “C” to close the spline just before your initial starting point. The walls thickness will be added later on with the help of the shell modifier.

The second method will be to trace all around the wall itself. Select the layer “3d_walls_in” And start clicking on the inner walls with the polyline tool.

This time, stay only on the wall itself without “jumping” over gaps of doors and windows, click “C” right before you get to the starting point again. Do the same for every inner wall.

2d_to_3d_03

After tracing all the walls, I’ll continue by moving all other elements to the new layers that I have created earlier; furniture, lights, kitchen and so on. Again, I will use those just as a reference.

Clean and flatten your plan

Most of the 2D plans that I get, tend to have several issues that will give me hard time when importing to 3ds max, if not fixed first.

The most problematic ones are lines that are too far from grid’s origin (0,0), which will make you viewport flicker and other unexpected bugs in side 3ds max.

The other main issue is when you have lines with Z position other than 0.the plan should be flattened completely on the Z axis.

I’ll start by selecting all the lines and copy them (Ctrl+C on keyboard) to a new AutoCAD document. Paste (Ctrl+V) and click near the grid’s origin and save to a new file.

Next, switch from top to front view to check if there are any lines not zeroed on Z axis. If so, select them and write “flatten” in the command line.

Another option is to select the lines, then right click to select their properties. Go over each of the line type and insert 0 in the Z position or elevation section.

2d_to_3d_05-1

After doing that, I like to use 2 more commands to get rid of excess information. The first one is the “overkill” command for overlapping lines and the second is “purge” command for deleting empty layers and stuff like that.

Import into 3ds Max

Importing to 3ds max is quite easy, in the file menu click on import and select the new AutoCAD file. A window will open up with import option. I leave most of the options as default.

Make sure to set the incoming file units the same as the DWG file, in my case the file units are in millimeters so I’ll set the units to millimeters as well.

Make sure that “layer, blocks as node Hierarchy is selected” and that “weld nearby vertices” is off.

Next, go to the layer tab, click on none to deselect all the layers. Then select by hand only the layers that you’ve created earlier in AutoCAD. Click ok to continue.

2d_to_3d_06

Convert lines to 3d model

Basically, the import stage is done. I will show you however, how easy it is now to convert these lines into 3d model.

Select the inner walls and add extrude modifier to it. Set the height of the wall and convert it to editable poly.

2d_to_3d_07

Next, we need to slice the walls horizontally, at the top of the doors opening. Under vertex mode (press 1 on keyboard), select slice plane and set its height to 210 cm, click on “slice”.

2d_to_3d_08

Deselect the slice plane and move to polygon mode (4 on keyboard). Select the polygons above each door and bridge them together.

3ds_max_bridge

For the exterior walls we need to do pretty much the same, select the spline, add extrude modifier and enter walls height.

Convert to editable poly and slice with the slice plane as before, only this time, you need to slice at the bottom of the windows opening as well. Select all windows and doors polygons and delete them.

2d_to_3d_09

Add shell modifier and set wall thickness. If the corners of the walls seem to be distorted, then click on “straighten corners” at the bottom of the shell modifier.

2d_to_3d_10

It might look like a hassle when doing all these preparation in 2D first, but it actually saves allot of time later on, especially while working on a big project.

If you have different approach of importing 2d plans in to 3d application I’ll be happy to hear about it in the comments below!

Cheers.

Copyright © 2016 · All Rights Reserved · ARCHVIZCAMP.COM