sidebar features
sidebar content

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

Reply
 
Thread Tools
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
Hi everyone,

I'm working on a rewrite of Beast (along with some other tools). The first phase is integrating Soft Body into Beast. To do this I need to set the Goal Vertex Group in the Soft Body settings using python. Does anyone know how to do this?

ezual

Blend On!
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#1   Old 04-Jul-05, 18:15   
Reply With Quote


UglyMike's Avatar
UglyMike UglyMike is offline
Member
 
Join Date: Mar 2002
Location: Brussels
Posts: 516
Three cheers for Ezual!!!!

(though I doubt that Soft Bodies ould already be exposed to Python....)
#2   Old 04-Jul-05, 19:31   
Reply With Quote
bullx's Avatar
bullx bullx is offline
Member
 
Join Date: Sep 2003
Posts: 480
whoaaaa
this is a great piece of news, i'm a big fan of beast!!
............................................
A|| \'//AY§
#3   Old 04-Jul-05, 19:52   
Reply With Quote
MacBlender MacBlender is offline
Member
 
Join Date: Aug 2003
Location: Alberta, Canada
Posts: 388
set weighting? thats easy but liek they said i don't think that soft bodies is integrated intot he interface yet so it might be best to just make the weighted group so that a person could turn softbodies on,

Code:
mesh = Blender.Object.GetSelected()[0].getData() mesh.addVertGroup("SOFT") vertList = [] for x in range(len(mesh.verts)): if x % 3 == 0: vertList.append(x) mesh.assignVertsToGroup('SOFT', vertList, 1, 'add')
use your own method for integrating the weights and whatnot, hope this helps.

MacBlender
............................................
Scottish 3D artist in canada...

Always remember...
Its a KILT! Not a Skirt!
#4   Old 05-Jul-05, 07:16   
Reply With Quote
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
I've got that part down. It's the part where you assign the group to the Soft Body settings that gets me. It should be something like:

obj.setSBGoal("Goal")

Thanks for the help though

ezual
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#5   Old 05-Jul-05, 07:30   
Reply With Quote
mfoxdogg's Avatar
mfoxdogg mfoxdogg is offline
Member
 
Join Date: May 2004
Location: Armidale, Australia
Posts: 462
be patient they always code nearly every aspect into the API, but they have just intergrated part of the "Softbodies" unit as they are not finished with it yet

just give them time

"when you dig up the past all you get is dirty"
............................................
when there is a way, there lies the limitation
my gallery - http://mfoxdogg.googlepages.com/home
#6   Old 05-Jul-05, 11:33   
Reply With Quote
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
No problem. 'Digging' through the API I've found a lot of great stuff to play with. I'm not complaining at all. The API is great!

ezual
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#7   Old 05-Jul-05, 12:49   
Reply With Quote
syrux syrux is offline
Member
 
Join Date: Nov 2004
Location: California, US
Posts: 197
This sounds good.
One thing I worry about with the softbodies, though, is the cards overlapping eachother because I don't think an object can be a softbody and deflector at the same time. It will still be a good addition nevertheless. I look forward to it.
............................................
- Evan
Discombobulator: http://www.elysiun.com/forum/viewtopic.php?t=36561
#8   Old 05-Jul-05, 17:17   
Reply With Quote
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
They do overlap, but the tests I did look promising though. I've still got a lot of experimenting to do. Getting the settings just right is pretty tough.

Blend on!

ezual
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#9   Old 06-Jul-05, 06:03   
Reply With Quote
jazzroy's Avatar
jazzroy jazzroy is offline
Member
 
Join Date: Jan 2003
Location: Torino - Italy
Posts: 465
I'm no coder, but just want to thank you for making Beast live again!
............................................
Riccardo Covino
#10   Old 06-Jul-05, 09:13   
Reply With Quote
JA-forreal's Avatar
JA-forreal JA-forreal is offline
Member
 
Join Date: Sep 2003
Posts: 1,373
Wow ezual. Glad to see that you will keep Beast alive.
............................................
“Blender, Alternative 3D”

-Itchy render fingers
#11   Old 07-Jul-05, 05:54   
Reply With Quote
mfoxdogg's Avatar
mfoxdogg mfoxdogg is offline
Member
 
Join Date: May 2004
Location: Armidale, Australia
Posts: 462
Great News can you post what you have done so other users can help it progress

Beast (I Think) originally died because they didn't release it




"The world is an open source oyster"
............................................
when there is a way, there lies the limitation
my gallery - http://mfoxdogg.googlepages.com/home
#12   Old 07-Jul-05, 11:01   
Reply With Quote
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
Looking at the make human hair generator I've decided to put the rewrite of Beast on hold for a bit and re-evaluate it's application as a hair generator as apposed to a more generalised object-on-surface duplication script. The make-human script looks great and I don't want to waste time re-inventing the weel.

Blend on!
ezual
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#13   Old 12-Jul-05, 08:26   
Reply With Quote
Fligh's Avatar
Fligh Fligh is offline
Moderator
 
Join Date: Dec 2002
Location: US
Posts: 9,916
Quote:
decided to put the rewrite of Beast on hold for a bit
Hehe..., from bakgat to bang gat in one easy thread

%<
............................................
BLENDER - You'll get it when you get it.
#14   Old 12-Jul-05, 21:38   
Reply With Quote
DragonFyre's Avatar
DragonFyre DragonFyre is offline
Member
 
Join Date: Aug 2004
Location: Florida Panhandel
Posts: 349
being that the people that made the soft body sections of the update said that its FAR from even completed and is just in its lightweight demo mode... and a good deal of code revisions are expected withthe next blender release.. you might want to be carefull how you advance with this plan.. reviving beast is alwyas fantastic.. but keep in mind that the soft body area will be in a constant state of change the next several updates... i just dont want you to go through a load of work then have to rewrite the whole code because an update in blender changes the entire way that soft bodies work.
............................................
Current artwork
http://dfstormbringer.deviantart.com
-=Dare not ever meddle within the affairs of we dragons, for you are rather crunchy and flaver very well with barbeque sauce!=-
#15   Old 13-Jul-05, 05:23   
Reply With Quote
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
Thanks for the feedback. Given all this info I think I'll continue with some of the other features of Beast such as the City Block Generator and other object duplication implementations.

Blend on

ezual
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#16   Old 13-Jul-05, 13:38   
Reply With Quote
ezual's Avatar
ezual ezual is offline
 
Join Date: Jun 2003
Posts: 120
The Beast Site is up and running:



New release available soon

Blend ON!
............................................
\"And where does the newborn go from here? The Net is vast and infinite.\"
#17   Old 20-Jul-05, 08:42   
Reply With Quote
Vainqueur's Avatar
Vainqueur Vainqueur is offline
Member
 
Join Date: Dec 2003
Location: Barcelona, Spain
Posts: 1,382
Quote:
Originally Posted by ezual
New release available soon

Blend ON!
Whooo!
............................................
Power corrupts, and absolute power gets the job done.
Blender tutorial - Boxmodelling a head
#18   Old 20-Jul-05, 09:11   
Reply With Quote
Author's Avatar
Author Author is offline
 
Join Date: Mar 2005
Location: Alexander, North Carolina
Posts: 48
Quote:
Originally Posted by ezual
The Beast Site is up and running:



New release available soon

Blend ON!
Great!!!!!! Thanks.

--Ralph
............................................
--Ralph Roberts, CEO
aBOOKS / Creativity, Inc.
http://abooks.com
#19   Old 20-Jul-05, 14:31   
Reply With Quote
Trevj Trevj is offline
Member
 
Join Date: Jan 2005
Location: West Michigan
Posts: 317
What's the link for the beast site??
#20   Old 20-Jul-05, 16:25   
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


All times are GMT. The time now is 11:16.


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