Object Conversion
Object Conversion
http://sketchucation.com/forums/viewtopic.php?t=33448
https://www.dropbox.com/sh/cjjwu92mausoh04/AABxwtKzzczZwpW2J8imQGPoa/Utils?dl=0&previe
w=objutils_combined.py
www.easy2convert.com/png2dds/
You will need these 3 things, and a few more, to be able to convert Sketchup models
into useable X-Plane Objects.
There are basically 6 steps in converting a model
1.Finding and preparing the Sketchup model
2.Converting the SK model for use
3. Getting the Script ready to use.
4. Creating a working folder and a scenery folder
5. Converting the Three parts from #2 into an X-plane OBJ using the command line
6. How to place the Object.
It will take much longer to read [or write] this tutorial that it will to convert your first object
once you get everything set up. I’ll tell you as much as I can about what I’ve learned
doing this for about a month now.
Tip: some times you should look under every one of the combinations, there will be
models of Miami not in Miami, but will be under Miami Beach or Miami fl or Miami
florida. So be patient and keep looking. Also start by looking at collections first .
I’m going to check out the second box, a collection with 49 models in it.
There are two ways to download the model. First you can just click on the box with the
arrow, or you can click on the model and download from the download box
Here’s where a little planning goes a long way. One of the first things I realized was that
almost all the models in the 3DWarehouse have the same name. sk14,sk15,sk16 or
“building in Miami” for example. Also some of them Do have good descriptions, but that
gives them a really long file name, which is really bad in step 5. So here is what I do.
I created a scenery list worksheet that looks like this:
When you download a file you get this in the corner of the window
Click on that arrow and it will take you to your download file. Write the name of the
model and any info on the scenery worksheet and then
Start Sketchup and load the model you want to work on, in this case 10
There are a number of things which must be edited out before you can convert.
First: Remove the Tile the model is placed on
The MTL file describes the textures and where they go on the model
The OBJ file describes the 3D model
And the Textures folder contains all of the textures used in the model.
If you have ever looked at the texture file for an X-plane object you know it looks like
this:
{from the CDB Library}
Tip: have patience, it sometimes takes 2-3 minutes to write all this info.
The magic is in converting all those textures into 1, and combining the MTL and OBJ
file,that brings us to
If I was following along when they helped me out, they installed rectpact, image,
imagefilter, imagestat,and numpy.
Hopefully you have an 15 year old computer genius to help with this part.
Make sure that you create a folder to put the converted objects in after the next step is
finished.
Now you are ready for: