Kangaroo - Grasshopper Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this grasshopper tutorial episode we have your questions section and this week questions goes for Akash and he asked can you also give a tutorial on the basics of kangaroo okay so I'm going to just explain two examples in kangaroo physics and kangaroo - so you can understand what happens in the modeling physical modeling in grasshopper so basically I'm going to model a simple surface here and then give this physical property as you can see here and we can give this weight so simply we can give this weight in the minus Z direction or the plus Z direction we can also put some forces onto some points so you can see here I can just take these points up and down this will be for the grasshopper kangaroo physics plugin and next I will also talk about the kangaroo to which you can simply model surface then you can give this something like a weight you can see here it's exactly like the kangaroo physics plugin and also you can give this some points we can simply move these points when a whatever we want we can move this up and down and have the results so it just gives you better results compared to kangaroo physics but for kangaroo physics you have a simple interface and for the kangaroo we have some points we have to talk about so basically this tutorial will be answering your questions about kangaroo and an introduction so you can understand how kangaroo plugins work [Music] [Applause] [Music] okay to start from scratch I'm going to draw a simple surface here so let's just make a rectangle surface here at angle plane and here we go okay so this is our starting point and I'm going to explain how a kangaroo physics works so first of all we have the kangaroo physics plug in you can easily install this by going to the kangaroo physics which I will put the installation file in my websites so when you download this you can simply put these files and copy these files into the file special folder and components folder and you can also have these user object files you can select them all and simply drag them into the grasshopper interface and they will be installed you have to reset your Rhino close your I know and again open it and we will have a kangaroo physics here or simply kangaroo for the kangaroo two-point-four you can simply have this zip file and put these two files kangaroo 2 and kangaroo soldier into the file special folder and component folder and then you can reset your Rhino and again iran grasshopper okay so first of all we have the kangaroo physics and this one is going to be simple you have a kangaroo physics here and we have two kangaroos we have a kangaroo physics and we have a zombie kangaroo the kangaroo physics will give you the forces and will show you an animation of how the forces react to each other so you can understand this and for the Kangas some zombie kangaroo you have no animation you will see the results when the forces just act on a surface or models so we mainly use kangaroo physics here so we have three inputs we have the geometry we have anchor points we have four subjects and you can see that we have to give some information for these three inputs I'm going to first talk about the geometry of the kangaroo physics plug in and the first and the most important thing is that when we work with kangaroo we usually need a mesh so if you have a nerve surface like this you can simply go to the mesh menu utility and use the mesh surface tool I'm going to use the mesh surface tool and connect the surface to this cage turn this off let's go to display check this if you have the display preview mesh edge on or just simply use ctrl M so I'm going to give this a you counts and a recount okay so it's maybe a word 22:20 mesh base the more you have the more accurate the surface would be for so this will be the first step remember you have to give a mesh surface to get to the geometry you will be just simplify things and the next step is to give the anchor points and that and they are the points which will not move and will remain fixed as it explained there okay so now I'm going to have this surface and maybe just give this four points here just write this okay now I can import four points here and these are the corners now I can keep these two the anchor points okay and the next step is to give this force we have to give this at least one force now so I'm going to go to the kangaroo and utility this is the most simple tool you can use and that Springs for mesh so if you have a mesh you can simply convert your mesh to the springs and you can also use gravity you can use pressure you can use wind and even planarize quartz and that's okay so I'm going to use Springs for mesh because this tutorial is just explaining this I will try to record a course on the kangaroo plugin so in the future just be just check out my channel or my website and perhaps we will have a course on this kangaroo plugin so now I'm going to connect this mesh to this principal mesh and the first time the most simple thing you can do is to convert your mesh to Springs and that's that will be the force object okay so the stiffness is 1000 that's okay you can change this increasing the stiffness will just make your surfaces stiffen and decreasing will just make it more plastic so the B input you can see that it's a simple user object tool so just return to this we will have a number from 0 to 1 and basically a zero means that the springs can go to the length of 0 so this assume that this is a spring okay these Springs can go and just be a length to the 0 or they can be 1 so the 1 will be no deformation in the springs they can just turn or rotate in this space so we can just move this to whatever we want to change it in the results now we already that's that's the most simple example you can do with kangaroo so I'm going to turn this off and have the geometry out here some way to connect mesh here and here we go we're good to go double click on the kangaroo physics tool and just play this you can see that this will produce a simple surface that that has converted to Springs basically so we can just move these connections and anchor points so you can see that the results just updating you can simply take this up or maybe scale these and it's it okay so you can also change this number okay so I have changed this number but you can see that there is also not good so I'm going to just hit the stop again and play now you can see what happens is that the two points because they have been moved they don't affect the mesh so we have to make those points again on the first place this is the drawback of kangaroo physics but we have no problem with kangaroo too so you can check that out and have whatever points you want to move or have the reset location of the points or the new location of the points you want to just measure okay so now I'm going to give this a little bit of weight okay so we can go to the kangaroo physics menu utility and use gravity simple gravity here okay you can give this a mesh and - default is minus 9.8 and that's G Z Direction minus 1 okay maybe 100 - 100 and add this to the forces because this is a force and just foot for being safe I'm going to right click and flatten this inputs ok in this playlist you can see that the gravity will just affect this and you can give it a plus Z Direction gravity or - see gravity ok so this is the most simple thing you can do with this kangaroo physics and you can also bake this mesh okay and let's assume that your oh snap vertex is on let's just produce some points here this and put these points set multiple points and add this to the anchor points I'm going to flatten this again to be sure that we have rights set of data and you can see that these points okay let's just give this grab T and these points will not move and we can just move them up and produce a model simply by moving the mesh points and here we have the model we can also have all the points around a mesh for the anchor points you can go to the kangaroo physics and the mesh and use the naked vertex here okay so basically that is a naked vertex if you give this to the mesh we have two set of points we have the closest points so you can see that they have neighbors and naked points which are on the corners and we can also give this to the anchor points okay and now we can just I'm going to delete this points here and again let's give this plus maybe 1000 so we can inflate this surface you can see we can inflate this and have this baked right now simply by just having all the corners as anchor points okay so this is a simple one we can work on this we can have these points work on the points and make a simple tensile structure but that will be for another tutorial but let's just go to the kangaroo to example so let's assume that we have a surface and a mesh and how can we do this similar example in kangaroo - okay in kangaroo here we can see kangaroo here we can simply have silver here for solving the physical model you can also have a bouncy solver this will just use the momentum to okay let's just let me show you this you can see that so momentum and you can also use the zombie solver and other things so I'm going to simply use solver here okay we have a goal object so there must be some goals here something has changed now the first thing you have to do is to put show on the interface and connect those things that you want to form the output so basically I want the mesh so I can connect this to the show tool and connect this to the goal objects so we can see that that from the output we have one mesh here and that's really important and next we need a force on the okay we need exactly like this we need the anchor points and we need the anchor points okay so let's go for the anchor points I'm going to go to the goals point you can see we have a hankerin define an anchor XYZ we can have a plastic anchor these are all the cool things you can do with points but I'm going to use an anchor simple anchor point here so I'm going to give this an anchor and that's the most important thing we have to give here okay let's just put the bifocals plugging on this okay you can see now I can give the four corners of this let's assume that we have okay four corners we can just go to the surface deconstruct be Rep and have the corners or the vertex is here and this is just the four corners turn everything off only for mesh okay this will be the anchor point on the four corners there's a target point which you can just use okay have another copy of this and right click and internalize this these points can be useful if you want to move them so when you compare this with the kangaroo physics we couldn't move these points because if we move the anchor points and then just reset the simulation we couldn't track these points but for now you can always have the track of the reset points and the moved points so remember you can have your reset points here and you can have your locations or a target location here you can give the strength you want so I'm going to add this to the goal you can right click and flatten for a safe solution okay now we're going to give another one how can we produce the springs from the kangaroo to interface you can go to the Gold's mesh and have the edge length this is the most simple one you can you can use this to give a mesh simply a spring-like structure you can simply add this to the mesh and the next factor is between 0 & 1 you can say that it's maybe 5 percent and the strength is exactly like the springs from mesh stiffness here so why did you give this maybe 500 strength we can connect this to the goals okay from the output you can see that we have let me just connect the geometry to the output you can see the results here okay we can also connect a reset so I'm going to use a button bu T button here and you can always click on this button and see the results let's turn everything off and here we go and we can simply put the target points on and move this and this is the best thing you can do with kangaroo - you can see that I have moved the points and when I reset the results it's okay you can just simply dis these target points and we said you have the points there and if you want to target points you can simply add them here and have an exact location for the points and you can also change the number of the length factor but without just having a reset or you can simply reset that okay so this is the this is this will show you how simply you can use kangaroo to to produce your results okay let's just change the length factor and now I'm going to give this weight something like a weight or something we can go to the kangaroo to interface and simply go to the mesh and here we have this we have also a vertex loads here you can see you can give this vertex load and we can give this to the mesh and you have strength at that is from minus Z 2 plus Z so we can give this a minus 10 maybe 15 to 15 plus and add this to the goals you can see that we can have also a weight here so maybe 100 to make it just unreal something like that okay and that's the plus one okay we can also have the change this have another anchor point so what I will do is to make a copy from this okay and this one's maybe we want simple pull-ups something like this we just move the points on the surface so I'm going to use this in this in kangaroo two and now I'm going to bake this mesh and let's assume we have multiple points in the mesh surface okay and we can just delete the mesh and have the points these points are exactly on the initial mesh some way to give this to the point let's just describe this target and if we connect this to the goal you can see if I reset that okay I didn't connect that here we go you can see that we have those points we can move them by simply having a copy of this and giving it to the target and internalizing this we can internalize both of them and move the target ones so this will just help us to produce a form simply without having to reset the results okay here we go and we can just change the forces on this and if I disconnect this anchors you can see that the surface will just hang down from those points okay and we can also work on this many ways you can go to the kangaroo to interface and work on these goals for yourself you can also have load on a point so if you want a point to come up or down just let me show you this you can have a load here maybe we want to delete this and bake the mesh this would be a simple example and you can just choose this point maybe and give this a point and now we need a force vector so I'm going to draw a simple line here and we'll take this line you can use this for the force vector I'm going to give this a curve I'm going to connect this curve to a vector and that will be a 1 length vector so I'm going to multiply this by maybe 10,000 times because it's going to be a big force to move this okay we have this and we can just connect this to the goal object okay you can see that if I increase the multiplication we can just simply move this up and down and we can rotate this and see the results you can simply have multiple of these and control the height of the mast you want okay and that's it so you can see how simply the kangaroo plugin will help you the kangaroo plugin is a big one it's just exactly like a grasshopper is it has many tools it has many opportunities you can use the mesh machine you can use the collisions you can use the mesh tools and so there is endless possibilities for making a modeling the kangaroo plugin but for now this was just an introduction for the question you asked and you can see how simply you can work with this you can combine forces with this and see the results but for the end I'm going to show you how the bouncy solver will give you a bouncy feeling so I'm going to give connect all the things back to the goals object okay and a reset and we have this in the output this off you can see how bouncy this is you can just move these points and see the results it has a momentum you can see that I can move this and see the results I can change the number of the length factor okay I can decrease this so it comes down up and down up you can see that you will make a momentum on the results and you can simply have this on the output so we can have that on the results and we can simply have this mesh okay I'm going to delete the curves and we'll take this 180 degree and you can have maybe something like a compression like structure a brick structure or something like that because if you have a tension structure and you just rotate it 180 degree you can have it sort of a compression like structure and you can make it with mortar or something that is that works in compression and not in tension so you can see how we can use this we can just give this a thickness maybe five and have a thickness and so you can see the results and that's it so this was a small tutorial for your questions and how we can use this to produce some tensile structures in kangaroo thank you for watching feel free to ask your questions in this videos put a thumb up on the grasshopper videos and subscribe to the channel remember to put your comments underneath this video because it will help us to grow and it will give us energy to record more videos and make better and awesome videos and thank you for supporting us and thank you for all your emails or your messages we had a great energy from you and thank you [Applause] [Music]
Info
Channel: Rhino Grasshopper
Views: 113,891
Rating: undefined out of 5
Keywords: grasshopper tutorial, grasshopper kangaroo, grasshopper 3d, grasshopper3d, rhino3d, rhino 3d, parametric design, grasshopper kangaroo tutorial
Id: ToHLlEGvhqA
Channel Id: undefined
Length: 25min 54sec (1554 seconds)
Published: Sat Jul 21 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.