Scripting MultiJoints

Discussion about scripting with Python
txaos
Posts: 2
Joined: Tue Nov 27, 2012 9:25 am

Scripting MultiJoints

Postby txaos » Tue Nov 27, 2012 9:49 am

Hey guys,

I am relatively new to RealFlow and Python and would like to ask if it is possible to iterate through multijoint and find which joints are broken on every step and use their positions for emitting particles. I would like to use this technique to emit dust particles just in places where the fractured geometry is breaking with the right timing.

I was googling a lot but I see MJ scripting is relatively new in RF and I haven't found any tutorials so far.

Many thanks for any help!

Tom


User avatar
bolek
Posts: 121
Joined: Thu Nov 27, 2008 10:24 am
Contact:

Re: Scripting MultiJoints

Postby bolek » Sat Dec 01, 2012 12:02 pm

txaos .

A bit late -anyway... I don't think it is possible right now with olny python.
'Scripting Reference' shows few... maybe little more functions.
C++ maybe ?

Best taxos!
____________________________________________
http://vimeo.com/bolekcg
http://bolekcg.blogspot.com/

txaos
Posts: 2
Joined: Tue Nov 27, 2012 9:25 am

Re: Scripting MultiJoints

Postby txaos » Mon Dec 10, 2012 4:19 pm

Thanks Bolek but C++ is not really my area at all :oops: And I am not brave enough to start with it now :?

Really there is no way how to do it inside RealFlow?

Tom

User avatar
Otuama
Posts: 1155
Joined: Fri Apr 02, 2010 12:56 am
Location: Swansea
Contact:

Re: Scripting MultiJoints

Postby Otuama » Mon Dec 10, 2012 9:52 pm

Hi. I've just looked through the multijoint commands and I can't see anything that'd do what you need.

Sorry :cry:
iCreate Ltd
'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi
'What Does Success Look Like?' - iCreate Ltd

User avatar
bolek
Posts: 121
Joined: Thu Nov 27, 2008 10:24 am
Contact:

Re: Scripting MultiJoints

Postby bolek » Thu Dec 13, 2012 8:48 pm

Hi txaos.

Thing that comes to my mind ( unfortunately slow one and not that much accurate as with multijoints ) is to get initial distances between objects (maybe even between vertices of neighbouring objects ) and then check threshold distance for them during simulation ... .
If distance is above threshold emit particles ... .

Best!
____________________________________________
http://vimeo.com/bolekcg
http://bolekcg.blogspot.com/


Return to “Python-Scripting”

Who is online

Users browsing this forum: No registered users and 3 guests