Exporting constraint, and Expression information.

Discussions concerning programming of SOFTIMAGE©
scabyx
Posts: 2
Joined: 22 Jul 2009, 09:06
Skype: scabyx

Exporting constraint, and Expression information.

Post by scabyx » 11 Oct 2012, 04:59

Hi Mates

Question is:

I have a setup in Softimage, and wanna port to maya.

Exporting FBX is useful for the beginning of rebuild, but there are no constraint or expressions.



Is it possible somehow, to export contsraint info, and expressions from softimage?

I think some text or XML info would great, because it can be faster tranlated to maya language.

So the imported fbx in maya could better and faster rebuild the original setup.



Thanks in Advance

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 00:41

Re: Exporting constraint, and Expression information.

Post by EricTRocks » 11 Oct 2012, 08:30

Nothing built in. You'd have to establish a translator on your own and have some sort of mapping from one to the other. One thing to keep in mind is that expressions in Maya aren't like expressions in Softimage. Expressions in Maya are more like Scripted Operators in Softimage. Instead you'd probably use the hypershade to hook up some math nodes instead to take the place of the Softimage expressions.

Constraints is the same thing you'll have to create a translator. Keep in mind this isn't trivial and also it isn't terribly out of reach. Its just going to take some work. If it was easy, FBX would already support it. :)
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

scabyx
Posts: 2
Joined: 22 Jul 2009, 09:06
Skype: scabyx

Re: Exporting constraint, and Expression information.

Post by scabyx » 11 Oct 2012, 08:36

Hi Eric

Thanks for your kind reply.

Main question is from my side: In maya if i save ASCII, then i have useful information from the scene. At this time i have not found a solution, to save xsi scn files as text, from where i can reach the eventually information. Thats all about.

If it helps.

Cheers

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 00:41

Re: Exporting constraint, and Expression information.

Post by EricTRocks » 11 Oct 2012, 08:46

Ah I see. I believe you'll have to create script to find all of the expressions and constraints and then export an xml / json file on your own. I believe a bit of information may be kept in the .scntoc files but I think that is mainly for reference models. It'd be great to have an ASCII file fromat for softimage that contained that info.

This article may help a bit:
http://xsisupport.com/2012/09/29/saturd ... parameter/

There was also a few threads on the mailing list concerning finding all expressions in a scene.

Moderator to moderator: URL Tags - HB
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken