Names won't be needed.Perfect, I can do groups inside sketchup, do they need to have a specific name (ex. door1 left; door2 left, etc)?
The grouping is mostly to break the objects apart easy. In the end, each of these parts must be exported separately to the simulator, each with it's 0,0,0 coördinates in a specific place.
For example; all rotating parts (the axles, bogies and end doors) need to be saved with the 0,0,0 coördinates at the center of the rotation for that part. And the car body itself will need it's 0,0,0 coördinates at the location where it rests on one of the bogies.
Also, the interior needs to be exported into the simulator separate from the exterior for lighting reasons.
If you group the objects together as mentioned, I can easily pull the different elements apart for individual preparation for export (and animation) to the simulator.
In the end, I'll write a script which builds the actual train when you load it in the simulator. This script is build up like this;
-> Bogie 1 is located at 3 meters from the front of the train, object file "XX".
- Axle 1 is at -0,8 meters from the center of the bogie, object file "xxx".
- Axle 2 is at 0,8 meters from the center of the bogie, object file "xxx".
-> Bogie 2 is located at 13 meters from the front of the train, object file "XX".
- Axle 1 is at -0,8 meters from the center of the bogie, object file "xxx".
- Axle 2 is at 0,8 meters from the center of the bogie, object file "xxx".
-> Car body 1 rests on bogie 1 and 2, object file "XXX".
And so on....