Blender 2.49 scripts to tsxpython ?

Technical questions, etc..
Post Reply
User avatar
Cellulo
Lieutenant Junior Grade
Posts: 824
Joined: 27 Sep 2012, 07:48
Type the number ten into the box: 9
Location: France
Contact:

Blender 2.49 scripts to tsxpython ?

Post by Cellulo » 04 Oct 2015, 07:54

There is a way to adapt blender 2.49 python script to tsxpython, i have a old plugin from Blender 2.49 to make wall masonry that i want to port for trueSpace, i know Blender 2.49 and tsxpython don't have the same python but maybe Blender script can be a good base to make a new script for trueSpace.

I have see that in the Blender 2.49 script "wizards_auto_masonry.py" there is command mathutils, there is equivalent command in tsxpython ? or maybe it's possible to transform a script in tsx plugin.

Here the information link about "wizards_auto_masonry.py" made by Paul Spooner:

http://www.foro3d.com/f224/using-auto-m ... 76971.html

I think this will be a useful script or plugin for trueSpace modelside.

User avatar
BNG
Chief Warrant Officer
Posts: 678
Joined: 16 Oct 2009, 03:26
Type the number ten into the box: 0
Location: Texas
Contact:

Re: Blender 2.49 scripts to tsxpython ?

Post by BNG » 04 Oct 2015, 08:51

I hear part of the problem is that Python was not fully supported in Truespace like Blender. I looked into this quite a while back and your best bet is to look at the TS SDK related to Tsxpython? Leroy.

User avatar
Cellulo
Lieutenant Junior Grade
Posts: 824
Joined: 27 Sep 2012, 07:48
Type the number ten into the box: 9
Location: France
Contact:

Re: Blender 2.49 scripts to tsxpython ?

Post by Cellulo » 04 Oct 2015, 10:09

You have right BNG maybe it's better to make tsx plugin instead of python script, i need to read the SDK docs of trueSpace and also use the sdk made by DesignDevil in this topic http://united3dartists.com/forum/vi ... f=12&t=452 to have tsx api in basic language with freebasic, but what version of freebasic i need ? the last 1.04 or the 0.23 ?


EDIT: i found 3 IDE editor for freebasic:

1) FBEdit 1.0.7.6c

2) FBIde 0.4.6 r4

3) JellyFB Editor 2.50

User avatar
BNG
Chief Warrant Officer
Posts: 678
Joined: 16 Oct 2009, 03:26
Type the number ten into the box: 0
Location: Texas
Contact:

Re: Blender 2.49 scripts to tsxpython ?

Post by BNG » 05 Oct 2015, 08:26

I believe that DD used version 2.21?

User avatar
DesignDevil
Master Chief Petty Officer
Posts: 500
Joined: 22 May 2009, 08:52
Type the number ten into the box: 0
Location: Neuruppin, Germany, Earth.
Contact:

Re: Blender 2.49 scripts to tsxpython ?

Post by DesignDevil » 06 Oct 2015, 16:19

Just two words to python in trueSpace - forget it. Ok, a few more words...python is not really usable in trueSpace. Just a few simple things but no complete access to the functionality of tS.

I am also not sure if it is usefull to create a tsx as a python script-handler. This will be like python script -> tsx -> api -> truespace. And on each step is the possibility for a leak, especialy in tS which is for himself not really stable.

The SDK documentation for tS is also bad written. There are a lot of things that i never figured out to do. For example i never figured out to store data in a object file. I never found any working example and i could not get it to work in a tsx. But this is just the tip of the mountain. It was really frustrating to create tsx for tS because i had so many ideas what could be useful. To develop a tsx is really complicated from a programmers point of view because the accessibility and handling of routines and memory and such stuff is totaly stupid done in tS' SDK - but maybe it was just me ;).

From a today point of view i have no longer the time and energy to go so deep into tS. In my eyes it would make more sense, if somebody is able to do something like that, to create a complete new application >>> state of the art, easy usable, userfriendly (like tS is) stable and fast instead of wasting time to create plugIns for a "old" tS. If possible with a complete featured render engine like Renderman. Huh...i'm dreaming...

Anyway...

The FreeBasic Version that i used was 0.20.0b. I am not sure how complicated it will be to use my lib with a newer version.

You can find my stuff here:

http://www.designdevil.de/index.php?menu=sdk" onclick="window.open(this.href);return false;

Download the FreeBasic SDK package and read the PDF file.
I still use TrueSpace 6.6
Link: My Youtube Channel
Link: www.DesignDevil.de - Plugins, Tutorials and more about TrueSpace 6.6

User avatar
Cellulo
Lieutenant Junior Grade
Posts: 824
Joined: 27 Sep 2012, 07:48
Type the number ten into the box: 9
Location: France
Contact:

Re: Blender 2.49 scripts to tsxpython ?

Post by Cellulo » 09 Oct 2015, 08:49

Thanks for the information DesignDevil, well make a tsx plugin is a headache under trueSpace, i'm not :ugeek: .

This will be really cool if someone can transform the UI of Blender 2.76 like UI trueSpace with his icons, a lot of code to change.

Post Reply