News:

Please remember to do a search before you ask a question!

Main Menu

Can a Ruby script make a Import / Export plugin

Started by Ken Simmons, March 02, 2013, 10:31:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ken Simmons

I was wondering if it's possible to make a Import / Export plugin for TC 19 / 20, so aircraft and building designs can be ported over to X-Plane 10 Flight simulator (Obj 8 file).  New to Ruby.
TC 2017 Plat. x32 / x64 (LightWorks)
Win 10 Pro 64.
i7-3770 16 GB. Ram.
Nivda GeForce GTX 970 4 GB.

kchapman

Probably, so long as TurboCAD's API gives you all the tools you need for the conversion -- I think it should. However, I think TurboCAD can already save to OBJ format (not sure which version).

Ken Simmons

The reason I asked was most programs use Wavefront .Obj file, which isn't compatible with X-Plane .Obj 8 file.
TC 2017 Plat. x32 / x64 (LightWorks)
Win 10 Pro 64.
i7-3770 16 GB. Ram.
Nivda GeForce GTX 970 4 GB.

kchapman

OK, sorry, I wasn't aware of the difference. As long as you've got the necessary information to parse the X-Plane file, you should be able to import its entities, i.e. "This is the start of a facet entity. It has ten vertices, with these coordinates."