how to use this scripting in 2015 is beer scripting

Discussion about scripting with Python
Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

how to use this scripting in 2015 is beer scripting

Postby Abby » Fri Sep 30, 2016 4:28 am



User avatar
ChristianZ
Posts: 3257
Joined: Sat Sep 09, 2006 11:37 am
Location: CH

Re: how to use this scripting in 2015 is beer scripting

Postby ChristianZ » Fri Sep 30, 2016 5:25 pm

Did you have another problem besides the position of the Null object? Or was that made in an earlier version of RF before?
RF10 standard, System specs: OSX 10.11, MacPro 4.1 2xXeon, GTX980Ti, 64 GB RAM

User avatar
ChristianZ
Posts: 3257
Joined: Sat Sep 09, 2006 11:37 am
Location: CH

Re: how to use this scripting in 2015 is beer scripting

Postby ChristianZ » Fri Sep 30, 2016 5:36 pm

My test with this script
https://youtu.be/-Aeco0oqRag
RF10 standard, System specs: OSX 10.11, MacPro 4.1 2xXeon, GTX980Ti, 64 GB RAM

Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

Re: how to use this scripting in 2015 is beer scripting

Postby Abby » Sat Oct 01, 2016 2:31 am

that scripting was 2013 or 2012 versions .so I can make it

Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

Re: how to use this scripting in 2015 is beer scripting

Postby Abby » Sat Oct 01, 2016 3:06 am

I watched your video,yes that is what I need
can you let me see your scripting .I can't do as you please

Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

Re: how to use this scripting in 2015 is beer scripting

Postby Abby » Sat Oct 01, 2016 4:46 am

I rotate the z-position of this Null object to up or down nothing happened,so I think the problem is the scripting .please can you send your file of RealFlow 2015 to me ?
liang338899@gmail.com
Attachments
QQ图片20161001123638.png
QQ图片20161001123638.png (197.81 KiB) Viewed 730 times
QQ图片20161001123137.png
QQ图片20161001123137.png (182.55 KiB) Viewed 730 times

User avatar
ChristianZ
Posts: 3257
Joined: Sat Sep 09, 2006 11:37 am
Location: CH

Re: how to use this scripting in 2015 is beer scripting

Postby ChristianZ » Sat Oct 01, 2016 4:28 pm

The position, not the rotation, of the null object matters for this.

This is my scene project folder with the script inside. Anyway, I have just updated a few places in the original script by Robb Flynn:
http://www.cardiomyocytes.com/realflow/ ... pt2015.zip

The more important challenge when working with scripts is, that is it much less flexible than plugins, if there is no interface elements. Therefore, many properties of the simulation are hard-coded into the script and does not react to manual setting changes of the emitter, for example. But you can also add more daemons that act on top of the script.

In RF2105 the scripting windows look a little different. Best is to copy the script from a text editor and paste into this place in "simulation flow" as shown on the screenshot:
Image
RF10 standard, System specs: OSX 10.11, MacPro 4.1 2xXeon, GTX980Ti, 64 GB RAM

Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

Re: how to use this scripting in 2015 is beer scripting

Postby Abby » Sun Oct 02, 2016 12:45 am

thank you a lot , you are good man

Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

Re: how to use this scripting in 2015 is beer scripting

Postby Abby » Sun Oct 02, 2016 2:03 am


Abby
Posts: 26
Joined: Wed Sep 28, 2016 5:35 am

Re: how to use this scripting in 2015 is beer scripting

Postby Abby » Sun Oct 02, 2016 3:02 am

In my scene ,It does not work properly
How to control it work properly
Please take a look my project folder that can work properly
Attachments
5555.rar
(111.27 KiB) Downloaded 67 times


Return to “Python-Scripting”

Who is online

Users browsing this forum: No registered users and 1 guest