Voronoi pattern on random surface

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right everyone Thomas here I'll be making a tutorial on a for annoyed pattern on a random service today and what we're going to need is crystal per a plugin for right now which is software on the left side and right on the right dress up on the right side to do this tutorial you need to stand out the crossover plugin and you also need weaverbird plugin which you can get for free online and I'll put a link in the description first one we are going to do this create a random surface because it's going to be a corner pattern on a random surface and to do so I'm going to create four points and cure the curve through debug through these points and patch them to create a random surface so how we're going to do this we're going to add four points and I want to be able to set the x zmy location for all these points so we have empty Slayers in error which determine to three directions and I'm going to add a number slider for the third direction in our case Z direction I'm going to edit these values put them on in Traverse and make 50 and if I edit this one I can put it from - 25 - plus 25 also for your domain and then we need unit Z and a point so when we first saw them be slightly to the point you can see that we have a point on XY plane and I can move it around using the ND slider now I also want to move it in the z direction so I added a number slider here and we're going to move this point and remove preview of this one in the Z direction based on a number spider so right now we can pretty much determine exactly where this point is in a space from zero to fifty and from minus 25 to plus 25 so to create a surface we're going to need a couple of these points so I can just copy this one and then drag it down to create a second point control copy control fee for a third point and it looks slightly nicer we have four points dodges data for now the four points are exactly on top of each other so I'm going to make sure they are not on top of each other anymore so I'll just put them somewhere in a different corner in its space and then if we make like one low one high one low we're going to get some kind of Pringle shape when we pull this points to a nerve curve one you need to hold shift to add multiple lines into one input which is really useful as you can see it doesn't create a closed curve curve and that's because we need to put boolean to true and now we can see it creates a closed curve just SN right now we can patch this using curves input for the patch and there we go there we have our surface I just put a preview for the other blogs office we don't need them any longer all right now we have a random surface we can we can change it we can adjust the bit iffy if we like to go and we're going to have to follow our pattern on it to do so you need a couple of blocks so [Music] popular geometry since is not is not straight surface we're going to populate the geometry which is our touch we're going to need a foreigner block which is people's automatic for us or arch part of the magic and we're going to need a bounding box because I also will glitch out I'll show you shortly right here you can see connect this one that the popular geometry basically populates my geometry with points and I can add a number count and I can add a seed so right now I can determine how many points are higher see that I need a couple more so let's make this 115 there and then I can also change the place where they are set so just basically a randomizer or the same number of points we then use these points as input for our for our books and the for now box looks like a really complete complicated bunch of stuff you can see lines and planes in there and our points and I'll turn these one off so you can see just a front i i I'll break this on down a bit so you can see what exactly it comes this off we can use the deconstruct deconstruct function to break it down into first faces two edges and into vertices so that means we have surfaces we have curves and we have points if I turn them all off and then turn this one on we can see that we have a set of services and this is where we're going to continue with because we want the intersection between these services and our initial batch so where these cross each other that is going to be our foreign eye pattern but just for the sake of explaining it from button ultimately works it's nice I'm also going to show you that we have a bunch of lines and that we have a bunch of points we're not going to use this it's just to show what it looks like we're going to use a intersection tool called breath and what is does is if the icon is actually pretty good it gives us the intersection between two services so there we go we have our foreign oil pattern in a single line all our random surface now what you also see is that it has some weird trend terms of edges and that's why we need this bounding box if we use this bounding box and use it to determine the size of our four night box we can turn it off and we can see that the trimmed edges have disappeared all right I'm going to show a bit of what we're working towards you and as that is Facebook's and it is basically a mesh and it needs a meshes input and right now we have I can show you if I bake this right now we have thinking we have we have a bunch of curse for some reason the girls are already polylines which turned up when I try this tutorial for myself so I'm going to see what happens if I skip the next step and go straight to offset of these we can create some surfaces of these lines flat surfaces for now so to do so we can scale these lines towards the middle of each of these shapes and to find the middle of these shapes you can use the average function and here we see Laurie gets narrower so we do have to add some blocks in between we can first find all the points in this geometry by using the discontinuity function so every time we change the direction it will create a point for us and then we can use the polyline tool which we need to set to true because I also want to create closed polylines but open polylines and that's also why we see that it adds the under weird looking stuff so I'll quickly turn it up again you can see right here it certainly has some missing lines it's because it creates closed curves open curves and outlays for its closed curves so if we make this one the result looks the same as that we just had accepted well most likely work this time so we can use that's what I have to do I need to use the points to create the average then I need to use the polylines passage how much I want to skill and I'm going to need a number slider which will determine how much or how thick my my meshes will be so 0.7 I like nice and all numbers 0.75 seems fine to me we know if one sort of polylines and pen other set of polylines and we want to make a mesh of it eventually so first thing we can do is make a surface of it there is a surface I don't want this one it's got a loft common mesh so what we see here is a lot of stuff we do not want it glitches out a lot what I found that causes this is that the bounding box is like exactly at the edge of everything which often causes errors as the index out of range which is as in touch so if we are the skill box over here put the geometry in here and then we had a number slider which we put at something slightly over one to edit at first put them exit - we can put this at 0.01 use that value and then use slightly skill geometry STM books with a bounding box we can see that it now creates a lot of nice services you can also see that there are dark ones and that there are not dark ones and I'm going to show you what that means it basically means the direction they're in too so some of them are turned upwards and some of them are turned downwards and going too high to focus we're not needing and first of all we need to get a mesh from what we have right here and we can go from and we can break down the lot to the vertices edges and faces and then we can make a mesh surface from these faces right this one and right now we have a mesh now if we use the weaverbirds mesh thicken option at this point we can see it does a lot of strange things first of all you can clearly see the dark in the light red colors or the difference in what it does because one of them is extruding upwards in the other one is extruding downwards it was it was cool but it's not what we were looking for it's like ocean coral watermelons or something so we need to add some stuff in here another and another thing you see is that the meshes don't stick together that they break apart and if you extrude them they are not longer a closed mesh so we can fix that one first of all by Weaver's birds joined meshes and weld lock which if we use that one [Music] it should close the meshes except it doesn't really do it nicely right now [Music] and why because I forgot to flatten this one if we flatten that one you can see for one extrusion is a one direction and four to the meshes are now closed so I don't like the direction it's going into and I don't like the distance of our my show by adding an hour slider which can be up to three you know probably minus three because if we make the distance a minus number it's probably going to move upwards as you can see there we have our upwards direction so yeah that looks nice we're almost finished if our foreigner pattern on a random surface you can make it look a little bit prettier by adding another Weaver's bird block which is called double Clarke subdivision books which will give us a bit more of a radius on the inside of these blocks if we add this number up to like 1.5 I don't know we can see that it gives a bit nicer curves on the inside which will result in not Smoove her final result if you want to print it or something so yeah that was my tutorial here you have for not better on a randomly generated surface which we can now adjust and it's a bit slow and it will stay nicely better so final thing bake is one there we go I can now easily create like a different shape i sliding the books around I think this one a bed changing guy to follow lines and then we can just pick it again and with a different shape in a matter of seconds put this on rendered see what it looks like oh yeah pretty cool thank you for watching and have a nice day bye
Info
Channel: Thomas Zwart
Views: 102,601
Rating: undefined out of 5
Keywords: Grasshopper, Rhino, Voronoi, Surface, random, tutorial, how, to
Id: tpazyRd_t-I
Channel Id: undefined
Length: 19min 40sec (1180 seconds)
Published: Mon Nov 20 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.