The first niggle was that it just named any imported .3dp's as imported_3dp, imported_3dp.001, imported_3dp.002, etc. This was a nuisance since it meant you had to rename them all after importing, and it wasn't clear what was what until you selected the object and took a look at what it was doing on the model. You could also import the same one twice by mistake, and it would just show as one of the many imported_3dp.00* on the list.
So, reading one of the basic tuts on import scripts shows how that script did it, so that any new imported objects would have the same name as the file they came from. It only required a very slight adaption to fit our .3dp import script (uses a different variable name) and it works perfectly. Any file you import will be given the correct name. If you import ClassY6L_Body.3dp it will now automatically appear on your objects list as ClassY6L_Body.3dp.
This totally rocks.
![cheers (0!!0)](./images/smilies/cheers.gif)
The second niggle was that the script would export every object in the .blend, regardless of the layer it was on, or whether it was hidden, or whatever. I've managed to fix that too. It will now only export objects you select. There is no longer any need to delete objects you don't want to export. This saves a lot of merging and deleting before exporting, and a lot of Ctrl+Z'ing to step backwards after you've just exported something.
This also totally rocks.
![YeHaa ::!**!](./images/smilies/brain_yahoo.gif)
So, I've just updated the earlier post with the latest version in a new zip. The base .blend file is the same. Only the Python script has changed.
I've also deleted one of my desktop shortcuts, which was included in the previous zip by mistake.
![!DUH! *!*!*!](./images/smilies/smilie120.gif)
Pic shows WP&P's famous N&W Y6 2-8-8-2 imported into Blender. All components, correctly named and skinned. Took about five minutes. Well, maybe ten, but it felt like five and I wasn't rushing.