Author Topic: How to Import from Sketchup (free) to Blender - a Short Tutorial  (Read 913 times)

0 Members and 1 Guest are viewing this topic.

Offline angainor88

  • Trader
  • ****
  • Posts: 100
  • Country: us
This tutorial is pretty short, but it's basically to help those people who like building in Sketchup and want to put that in Blender without pulling out too much of their hair. It assumes you already know how to make the stuff in Sketchup (the free version). It's also not a complete tutorial, so I suggest using Discrepancy's for how to put out a full project. I'm not an expert by any means, so if I did something wrong, tell me :P

Step 1: Exporting

So you've built a nice building in Sketchup (make sure your scale is set to meters at the beginning of the project, or you'll have to rework the scale later on). Exporting is fairly simple. Under File --> Export --> 3d Model. A window will pop up where you can name it. It doesn't say, but the file type will be .dae.

http://worldofbanished.com/gallery/8302_08_04_18_1_12_15.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


Make sure to also export a Build 1 and Build 2.

Step 2: Importing

Open Blender and start a new project. Delete all the junk they start you with.

Then under File --> Import --> Collade (.dae) . Choose your file and import it.

http://worldofbanished.com/gallery/8302_08_04_18_1_12_57.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


« Last Edit: April 08, 2018, 02:19:15 PM by angainor88 »

Offline angainor88

  • Trader
  • ****
  • Posts: 100
  • Country: us
Re: How to Import from Sketchup (free) to Blender - a Short Tutorial
« Reply #1 on: April 08, 2018, 02:07:42 PM »
Step 3: Getting it in Place

If you're making something more complicated than a box, Blender likes to import it in pieces, so you'll need to join them together.

http://worldofbanished.com/gallery/8302_08_04_18_1_13_51.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


In 3D View, highlight all of your imported objects on the right. Then go to Object --> Join.

This will put all of them into one object, which you can call mesh.

Next we want to make the scale work. Make sure your object is at 0, 0, 0. Then on the right of your screen, under Scene, expand Units. Then set the units to Meters, and the scale to 1.

http://worldofbanished.com/gallery/8302_08_04_18_1_14_51.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


Now we have to apply the scale. Under Object --> Apply, click Rotation, Location, and Scale for your object. This makes it so Blender recognizes what you did.

Step 4: Cleaning it up

At the top of the page, go into Edit mode. Make sure you have it on Edge selection. You will see a lot of lines that weren't there in Sketchup.

http://worldofbanished.com/gallery/8302_08_04_18_1_15_38.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


There are two ways to clean them up. The first is to manually highlight the extra lines, hit delete, and choose Dissolve Edges. The manual way takes a while (especially for complicated objects), but it means you won't delete edges that you want. The automatic way won't delete outside edges, but it may delete internal edges that you want.

http://worldofbanished.com/gallery/8302_08_04_18_1_16_18.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


To do it automatically, select all, then go Mesh --> Clean Up --> Limited Dissolve. If there are particular internal edges you want to keep, make sure they are unselected when you do this.

Step 5: Normals

We want all of the normals to be facing out, otherwise that piece will become invisible inside the game. To make the normals visible in Blender, we want to be in edit mode, with Face select. Then, on the right, under Mesh Display, then Normals, click the box that has the Faces outlined. This shows the direction of the normals.

http://worldofbanished.com/gallery/8302_08_04_18_1_16_46.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


Now, select any face that doesn't have a normal pointing the right way. Then click Mesh --> Normals --> Flip Normals.

There, now your building is all fixed up!

Also note, when doing UV Layout, choose Smart UV Layout, or otherwise it will twist all your pieces in weird ways.

Offline angainor88

  • Trader
  • ****
  • Posts: 100
  • Country: us
Re: How to Import from Sketchup (free) to Blender - a Short Tutorial
« Reply #2 on: April 08, 2018, 02:18:05 PM »
Next up, Troubleshooting!

So a really common error I have found when doing this, is that sometimes, pieces of the building are invisible. I don't know what causes this (extra vertices?), but I do have something of a solution.

So here's an example. In game, there's a small gap at the bottom of the house.

http://worldofbanished.com/gallery/8302_08_04_18_1_17_45.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


In blender, there isn't:

http://worldofbanished.com/gallery/8302_08_04_18_1_18_25.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


There is usually a problem of extra edges, with extra vertices, crammed into one visible line. Usually, just deleting or dissolving these works, if you can find the right pieces and rip them from the rest. To Rip (i.e. split a vertex into multiple vertices with edges attached) a vertex, Ctrl + V -->Rip.

http://worldofbanished.com/gallery/8302_08_04_18_1_19_12.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


Sometimes this leaves you with a gap that you will need to add a plane to fill the hole. As you can see, it's the same gap that was on the in game model.

http://worldofbanished.com/gallery/8302_08_04_18_1_19_59.png
How to Import from Sketchup (free) to Blender - a Short Tutorial


For this, on the left, you can go to Create --> Plane, then move it in the gap, and reshape it so it fits.

So that's what I've got. Hopefully it helps!