sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Reply
 
Thread Tools
macouno's Avatar
macouno macouno is offline
Member
 
Join Date: Jan 2002
Location: netherlands
Posts: 2,514
Ok I had a post in works in progress with some examples but I decided to release the script as well.

Now I have to say that it's not an easy script to use!
It's mostly an experiment of mine to see whether I could figure it all out.
I'm sure there's still tons of bugs in it.
That said it works pretty well so far.

Look here for the script.
http://www.alienhelpdesk.com/index.php?id=42

Look here for some examples.
http://www.alienhelpdesk.com/index.php?id=43

I'd love to see what people can make with this!

laters
mac
............................................
http://www.macouno.com
#1   Old 01-Jul-06, 14:59   
Reply With Quote


PsychotropicDog's Avatar
PsychotropicDog PsychotropicDog is offline
Member
 
Join Date: Jan 2005
Posts: 108
Oh this is cool, I suppose I will have to read 'Prey' again

http://www.crichton-official.com/prey/index.html
............................................
the astrolabe thread: http://blenderartists.org/forum/showthread.php?t=70677
actually useful blender learning aid: notebook and pen
#2   Old 01-Jul-06, 15:31   
Reply With Quote
cowdude cowdude is offline
Member
 
Join Date: May 2006
Posts: 379
Quote:
Originally Posted by PsychotropicDog
Oh this is cool, I suppose I will have to read 'Prey' again

http://www.crichton-official.com/prey/index.html
Awsome book. Could somthing like the script be acheived through particles?
............................................
tyranis on irc
#3   Old 01-Jul-06, 16:30   
Reply With Quote
PsychotropicDog's Avatar
PsychotropicDog PsychotropicDog is offline
Member
 
Join Date: Jan 2005
Posts: 108
Hmm..
I get this:

Python 24 found!

Traceback (most recent call last):

file "(string)", line 103, in ?
Type Error: expected string, ... argument [I would be more precise if you could give me a clue as to how to save the python output.]

I have python 2.4.3, Blender 2.42 RC2
............................................
the astrolabe thread: http://blenderartists.org/forum/showthread.php?t=70677
actually useful blender learning aid: notebook and pen
#4   Old 01-Jul-06, 17:44   
Reply With Quote
macouno's Avatar
macouno macouno is offline
Member
 
Join Date: Jan 2002
Location: netherlands
Posts: 2,514
Blender 2.4 should run with python 2.42 no?

I have no errors here, so you'll have to get me the entire error message. You can copy things out of the console window by right clicking on the top "border" of the window... then "select all" & "copy"
............................................
http://www.macouno.com
#5   Old 01-Jul-06, 17:51   
Reply With Quote
PsychotropicDog's Avatar
PsychotropicDog PsychotropicDog is offline
Member
 
Join Date: Jan 2005
Posts: 108
Looking for installed Python version 2.4
Got it!
Traceback (most recent call last):
File "<string>", line 103, in ?
TypeError: expected string, float, int or 3-float tuple argument
............................................
the astrolabe thread: http://blenderartists.org/forum/showthread.php?t=70677
actually useful blender learning aid: notebook and pen
#6   Old 01-Jul-06, 18:01   
Reply With Quote
PsychotropicDog's Avatar
PsychotropicDog PsychotropicDog is offline
Member
 
Join Date: Jan 2005
Posts: 108
Gah! it opens in 2.41. I will play with it, but I guess you know it is 'odd' with 2.42 RC2

edit: btw this is way fun
............................................
the astrolabe thread: http://blenderartists.org/forum/showthread.php?t=70677
actually useful blender learning aid: notebook and pen

Last edited by PsychotropicDog; 01-Jul-06 at 18:30.
#7   Old 01-Jul-06, 18:23   
Reply With Quote
macouno's Avatar
macouno macouno is offline
Member
 
Join Date: Jan 2002
Location: netherlands
Posts: 2,514
Ah I think that's an error in rc2 release that has already been solved in cvs... so not the script but blender source fault.
............................................
http://www.macouno.com
#8   Old 01-Jul-06, 18:44   
Reply With Quote
jmcs3 jmcs3 is offline
Member
 
Join Date: May 2005
Posts: 30
i get the same error with a 2-minute old cvs build
#9   Old 01-Jul-06, 22:21   
Reply With Quote
tedi tedi is offline
Member
 
Join Date: Jul 2002
Posts: 1,558
looks like 242 doesn't like - Draw.Create([]) - try to remove the " [] " in STATEHASH ( to something like Draw.Create(0) and see what happens ).


new lists are generated anyway with STATEHASH['OBJECT'] = [ob for ob in scene.getChildren()] ...

however, the sperms in my test didn't -avoid- the container (bl 242 cvs).

Last edited by tedi; 02-Jul-06 at 10:50.
#10   Old 02-Jul-06, 10:34   
Reply With Quote
jmcs3 jmcs3 is offline
Member
 
Join Date: May 2005
Posts: 30
ok thanks
with those changes the script runs ..

i didn't go in deep yet
, so can't tell about the avoidance-container-thing

kr
jmcs3
#11   Old 02-Jul-06, 11:58   
Reply With Quote
macouno's Avatar
macouno macouno is offline
Member
 
Join Date: Jan 2002
Location: netherlands
Posts: 2,514
I added a link to a working .blend file to the page:

http://www.alienhelpdesk.com/index.php?id=42

Just open it and run the script, it works in 2.41.
I changes the statehash in the included version and the downloadable one as well.
............................................
http://www.macouno.com
#12   Old 02-Jul-06, 13:17   
Reply With Quote
tedi tedi is offline
Member
 
Join Date: Jul 2002
Posts: 1,558
err ... I'm still getting *runaways* - try to up frames to say 3000.
#13   Old 02-Jul-06, 13:41   
Reply With Quote
PsychotropicDog's Avatar
PsychotropicDog PsychotropicDog is offline
Member
 
Join Date: Jan 2005
Posts: 108
Fun, I might end up with something to put in the WIP section

............................................
the astrolabe thread: http://blenderartists.org/forum/showthread.php?t=70677
actually useful blender learning aid: notebook and pen
#14   Old 02-Jul-06, 16:20   
Reply With Quote
PsychotropicDog's Avatar
PsychotropicDog PsychotropicDog is offline
Member
 
Join Date: Jan 2005
Posts: 108
Note, a quick test and the script works with: python 2.4.3 and Blender 2.42-RC3
............................................
the astrolabe thread: http://blenderartists.org/forum/showthread.php?t=70677
actually useful blender learning aid: notebook and pen
#15   Old 02-Jul-06, 22:04   
Reply With Quote
macouno's Avatar
macouno macouno is offline
Member
 
Join Date: Jan 2002
Location: netherlands
Posts: 2,514
PsychotropicDog: nice

tedi: Yeah you will get those. You should be able to get rid of em by allowing a higher angle and/or slowing the objects down (or making the dist factor of the container higher).
............................................
http://www.macouno.com
#16   Old 03-Jul-06, 10:09   
Reply With Quote
MicWit MicWit is offline
Member
 
Join Date: Jun 2005
Location: Australia
Posts: 381
Hey, I think I talked to you after an irc meeting one sunday, and after I chenged my mind, I do want the script . I still dont really have the time, but hopefully soon.

I opened the test .blend in 2.42RC3 and it seemed to work fine. I'll try getting on irc at some stage in the next week or 2 and have a chat to ya if ya on.

Thanks heaps,

MicWit
#17   Old 09-Jul-06, 06:28   
Reply With Quote
MicWit MicWit is offline
Member
 
Join Date: Jun 2005
Location: Australia
Posts: 381
Hmm, I cant seem to keep the objects inside the container when I make my own scene. I downloaded the working .blend and it seemed fine. The container is just a cube, is there something I need to do to the cube first (besides match the name with the name in the blenderswarm container name)?

MicWit
#18   Old 10-Jul-06, 04:12   
Reply With Quote
Crouch's Avatar
Crouch Crouch is offline
Member
 
Join Date: Oct 2004
Location: the Netherlands
Posts: 993
Flip the normals to the inside?
............................................
My Python Scripts - Vimeo Page
#19   Old 10-Jul-06, 07:12   
Reply With Quote
MicWit MicWit is offline
Member
 
Join Date: Jun 2005
Location: Australia
Posts: 381
I just tried flipping the normals, and it still didnt work

MicWit

EDIT - I dont suppose there is any way of moving a scripts window around is there? ie. so you dont have to take up as much room with a scripts window and just move the ui around in the window?

Last edited by MicWit; 10-Jul-06 at 07:45.
#20   Old 10-Jul-06, 07:40   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualUndo Script - Anyone want to Help? mthoenes Python & Plugins 26 12-Nov-06 17:09
NEW: Aligner/Displacer/Randomizer Script RobertT Python & Plugins 19 07-Nov-06 16:24
New Script List theeth Python & Plugins 28 07-Mar-06 00:56
Experimental Funk.py Jimmy Haze Python & Plugins 5 20-Jan-04 22:30
auto UV mapping python script -> speeds up level texturin lizard809 Game Engine Support and Discussion 7 25-Mar-03 01:38


All times are GMT. The time now is 18:33.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists