The GermaniumWeb API has a Load() method that can be use to load a building model with a xlcl extension. However the details of this xlcl is at best sketchy. The good news is there's a tool that allows you to roll your own xlcl file, sort of. Let's see how we can use this tool to import a SketchUp model from the Google 3D Warehouse.
- Find a nice model from the warehouse, preferably a room. For this tutorial, we'll be using this model.
- Under [Download Model], download the COLLADA (.zip) file. In some cases only the SketchUp skp file is available. Not to worry, simply open the skp file in SketchUp and export it as KMZ file. Then rename the file extension from KMZ to ZIP.
- Extract the ZIP file somewhere. Use Windows Explorer to locate the folder that contains the COLLADA (.DAE) file. It's usually in models/. Keep it open.
- Launch Building Composer. Drag the .DAE file from Explorer into the colorful background of Building Composer. You'll see a couple of boxes appearing. Drop the file in the box above ground.
- You have just imported a level. To finish, goto Export > Export Scene. Select a location to save the xlcl file and other associated files. Cross your fingers ;-)
- Congrats! If you have reached here, export must be successful. Go to Export > View Exported Scene. This will launch your browser to view the file you've just exported using GermaniumWeb. The result:
Wait a min. That doesn't look right. What happened??!
Hmm, Google SketchUp seems to be doing something wrong. But not to worry, it's quite easy to fix and that's coming right up.