CGTalk > Software > Autodesk Maya > Maya Dynamics
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 04-06-2013, 06:48 PM   #1
latteandlm
New Member
portfolio
USA
 
Join Date: Apr 2013
Posts: 8
maya nParticle to simulate the cell behavior

hi all! I am an architectural student doing a project using maya. Our studio is kind of like learning from the biological data and turning it into the architectural form. I am researching the bottle cell transformation from column to wedge shape so that the whole system would bend. Here i want to make a simulation using nparticle. Each cell is a particle system with three elements. By mapping the radius of each particle(red circles) and also the length of the cell(blue lines)i would have some equations related to time. I know i can use the per particle attribute to change the size of the particle. But i dont know how to control the distance between particles. Also, i want the bottom particle always stick together without any gap. I guess i should use script to do it?



I am a so so begin with maya. Can anyone give me a hint about this project? Any opinion is welcomed ! I would appreciate it very much! Thank you!

HELP ME PLEASE!
 
Old 04-08-2013, 10:28 PM   #2
Duncan
Expert
 
Duncan's Avatar
Duncan Brinsmead
Principal Scientist
Autodesk
Canada
 
Join Date: Jun 2002
Posts: 2,984
It sounds like you are referring to some image I'm not seeing in your post. At any rate, without fully understanding what you are trying to do, perhaps using 3 different particle systems might work for you. Create an nConstraint between each particle system and set the connectionMethod to componentOrder. If you want to snap the length of the constraints to a fixed distance, instead of using the distance at creation time, you could set the constraint restLengthMethod to constant and set the restLength value.
 
Old 04-09-2013, 02:58 AM   #3
latteandlm
New Member
portfolio
USA
 
Join Date: Apr 2013
Posts: 8
re

here is the image. Thank you Duncan!
I am changing the radiuspp using some equations. But somehow maya crashes all the time as I adding more particles into the model(fatal problem). Is there any way to solve this problem? Thank you so much for helping me.

Last edited by latteandlm : 04-09-2013 at 06:18 PM.
 
Old 04-09-2013, 05:19 PM   #4
Duncan
Expert
 
Duncan's Avatar
Duncan Brinsmead
Principal Scientist
Autodesk
Canada
 
Join Date: Jun 2002
Posts: 2,984
Is is crashing as particles are added during simulation, or instead when you start with more than a certain number of particles? If it is a very large particle count, check your memory use.

Otherwise I would try eliminating elements of the simulation until it stops crashing to isolate the problem. For example does it crash without constraints?
 
Old 04-09-2013, 05:22 PM   #5
Duncan
Expert
 
Duncan's Avatar
Duncan Brinsmead
Principal Scientist
Autodesk
Canada
 
Join Date: Jun 2002
Posts: 2,984
Instead of a constraint you might find springs useful. You can explicitly set these up in your scripts and they might handle changing particle counts better for this example.
 
Old 04-09-2013, 07:18 PM   #6
latteandlm
New Member
portfolio
USA
 
Join Date: Apr 2013
Posts: 8
spring?

Yeah... I deleted all the component to component constraints and i can save the file! Then as you said, I tried to add the springs under the soft and rigid bodies, because i am using nParticles instead of particles, the error came out as " Shape is not a valid rigid body". Is there any way i can do within the nParticles? Thank you so much!
Here I attached an image of my model, ugly though.
 
Old 04-09-2013, 07:24 PM   #7
Duncan
Expert
 
Duncan's Avatar
Duncan Brinsmead
Principal Scientist
Autodesk
Canada
 
Join Date: Jun 2002
Posts: 2,984
Why are you not using the nParticles:create springs menu?
 
Old 04-09-2013, 07:29 PM   #8
latteandlm
New Member
portfolio
USA
 
Join Date: Apr 2013
Posts: 8
God... so embarrassed... I am so silly. Sorry.. Thank you for your patience Duncan. you are so nice!
 
Old 04-09-2013, 07:29 PM   #9
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:59 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.