Google SketchUp Tools & Techniques

RubyTMIX: A TrainzXML Exporter for Google SketchUp

RubyTMIX is a plug-in for Google™ SketchUp® that provides direct export of SketchUp models to Trainz, with all geometry, materials and textures intact and the polygon count minimized. Using a combination of its own built-in functionality as well as fully-automated interaction with various freely-available external utility programs, the plug-in produces all files required to import a SketchUp model directly into Trainz Content Manager, where it is immediately available for use in Surveyor. The plug-in is compatible with Google SketchUp 7 and 8; with Windows XP and Windows 7; and with TS2009, TS2010 and TS12.  It’s named for the programming language in which it’s written (Ruby) and the intermediate file format used during the export process (Trainz Mesh Importer XML).


The Salty Dawg Saloon (by JCHarrist)
Downloaded from the Google 3D Warehouse, opened in Google SketchUp


The same model, after export by RubyTMIX and before importing into Trainz
Previewing the IM File in PEV's Trainz Mesh Viewer


In TS12 Surveyor, after import into Trainz
Port Ogden & Northern as a backdrop courtesy of philskene

RubyTMIX is being released FREE to the Trainz community and may be used for any purpose, personal or commercial, within the following terms:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.

If you don’t agree to these terms... don’t use the software.

 

Overview

Implementation


Main Features


How It Works


Acknowledgements

Thanks to Peter Villaume (PEV) for graciously providing some valuable tips about materials and geometry in TrainzXML files, and for allowing me to reference his Trainz Mesh Viewer as the preview part of my tool.

Thanks also to philskene for allowing me to use his routes as backdrops for my screen shots.

Special thanks to Arraial P, a Beta Tester who found many obscure issues and whose astute observations and suggestions played a large part in the development of this tool.

 

Limitations and Known Issues

These items are being worked on for a future release.

 

Download the RubyTMIX Package Here

The current Version as of January 19, 2013 is 1.2.0.  If you like, please feel free to view the change notes.

Download the ZIP file below and extract it to a folder of its own.  Inside you will find a PDF User's Guide, plus a second ZIP archive that is the actual installation.  Detailed installation instructions are provided in Chapter 2 of the User's Guide, and you must follow these instructions in order to achieve proper operation of the plug-in.

PLEASE READ AND FOLLOW THE INSTALLATION INSTRUCTIONS
IN THE USER'S GUIDE.
The User's Guide is in PDF format and requires Acrobat Reader to view.

RubyTMIX also requires the Microsoft .NET 2.0 Runtime.
This should already be present as part of your operating system, and Trainz already requires this as well.
If you need this, a download link is provided below.

All of the downloadable content on this site is offered freely for the benefit of the Trainz community.
If you find my work useful and would like to 'contribute to the cause', please click the button below.
Thank you!

 


Download Links

The RubyTMIX Package:        RubyTMIX Version 1.2.0 (Zip Archive here at dhobh.net)

The .NET 2.0 Runtime:            Microsoft .NET 2.0 Runtime (Link to external site)

PEV's Trainz Tools:                 PEVSoft Web Site (Link to external site)


Tips for Getting Started

For further information

If you're interested in how this tool came about, please take a look at the original thread in the Trainz Forums.

This thread in the Trainz Forums tracks the progress of the RubyTMIX release.  Thanks to everyone who is posting for their feedback and support.


Disclaimer
The author accepts no liability for damage or lost data arising from the use or misuse
of the tools, tutorials and techniques presented here.
All items are provided in good faith for the benefit of the Trainz community.
Return to the Home Page

Copyright © 2013.  All Rights Reserved.  Last updated on January 19, 2013.

Hit Counter