TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Remember to do a search before you ask a question!!!

Can a Ruby script make a Import / Export plugin
Read 2048 times
* March 02, 2013, 10:31:30 AM
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.

Logged
TC 2017 Plat. x32 / x64 (LightWorks)
Win 10 Pro 64.
i7-3770 16 GB. Ram.
Nivda GeForce GTX 970 4 GB.


* March 04, 2013, 10:52:54 AM
#1
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).

Logged


* March 05, 2013, 07:15:09 PM
#2
The reason I asked was most programs use Wavefront .Obj file, which isn't compatible with X-Plane .Obj 8 file.

Logged
TC 2017 Plat. x32 / x64 (LightWorks)
Win 10 Pro 64.
i7-3770 16 GB. Ram.
Nivda GeForce GTX 970 4 GB.


* March 13, 2013, 08:23:26 AM
#3
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."

Logged