Transcript
Transcript
In this lesson, we will review an answer to the optional test problem in our intermediate field-driven design course, which asks you to create this woven pattern that is planar, cylindrical, and spherical. I say that this is an answer because you could have something that maybe has a slightly different process that comes to the same results, and that is fine as well. But we start with that starter file that gave the inputs: the radius for our columns and rows, how many we want, spacing, and the magnitude, as well as equations that we’ll use for remapping to get that woven, interlocking pattern.Something else that I use often in this is using our variables before to make this automated. So eventually, when we get to the end, you’ll see that I can change the number of columns and rows, and it’ll quickly adjust for that. So you maybe didn’t include this aspect; I definitely recommend it if you’re doing something where you want to maybe change those inputs. You could make this into something like a Custom PL. So again, if it’s a little bit different, that’s okay. And if you are interested in taking your workflow and automating it, being able to have those variables change with that design changing instantly, then you can also go to our nTop audit animation course to get started on learning a little bit more about that.But the first thing that we do is just start by creating our beginning column and row. And already, I’m starting to use variables that I have. So with both of these, I have my Column One and my Row One, and I’ll show those both. I have them as different colors to make it a bit easier to follow along. And so our starting point, I have our point defined here, which is really just a scalar volume. But this is going to the spacing times two, and the reason for this is I’m just giving space for that row to start. And our final point, we’re going to make this as long as the spacing times the number of rows, so we make sure that if we’re changing that spacing, we’re changing those rows, this will be a long enough size. You didn’t have to have all this automation involved as well in your design, but just showing this example in this way. And if you also want to follow something that starts from scratch, you can also watch our training video that goes through each of these steps from scratch, linked below this video.So we have Row One, which now, instead of having our x-value be that point, we’re just going to have that as our z. And again, we’re just going to make this as large as that spacing times the number of columns this time and use the radius to create that. So we have Column One, we have Row One, and you could make the same thing for Column Two and Row Two. But to show how we can use that Translate Object in that Remap Field, I use remapping to create our Column Two and Row Two. So since I’m just moving this over, I’m moving it by that spacing, and since we’re moving this in the positive direction, we’re going to do a subtract. So we look at our Column Two and our Row Two, and really the only difference is that I’m moving one along the x, one along the z. And the reason I have this is because we’ll have a sine wave going kind of in one direction and then in the other direction, so that we have that interlocking pattern. So we’re going to have to start with four cylinders.So we have these four. And the next thing I want to do is create an array. So that’s where we’ll use the remap again for the mod. But of course, this is just showing that intermediate fields how remapping works. You could always just use an Array Body as well too, a little bit easier as well. So I’ll talk about the bounding box in a little bit. But let’s just look at what I’m doing for something like R R1. So x and y will stay the same; we just want to see that change over the z. We want to have it repeat. So if I type f, let’s change our plane from normal to be 0 1 0. And let’s actually look at that mod. So I’m taking z-axis and 8 mm, which in this example is that spacing * 2. And that’s going to give me, if I put an interval of let’s do four, and from my values, we can see that it’s going from 0 to 4 to 8, and it’s just going to continue to repeat that because I have this as my coordinate system. Anywhere we have that location that we have our first column will just be repeated. And if I type f on our Remap Field, we can see that that is exactly the case. So anywhere we see that dark blue to pink, that’s where our columns are being placed. Now these are going infinitely up and down that z-axis. So that’s why we have our bounding box. And that’s just going to make sure we only take the amount of columns that we want in this area. So I eventually want eight columns. So I have four in this first bit, and then I’ll take my rows two mod that and use the Remap Field to have an additional three with that starting row. And our bounding box, I’ll show that as well to you. So our 01, I’m going to have this origin for the x and the z and then just bring that down -2 mm for that radius. Do negative, so we just have some space, and I just multiplied that by two, so we have some space on that side too.Then for our Max Point, I’m taking the number of columns times the spacing in the x, number of columns times the spacing in the z, and then just two times the radius, so we have a little bit of space in between those. So you could also change this as well if you wanted a bit more spacing at the top and bottom or you want this to be maybe the radius plus the spacing or half the spacing. You can play around with that. This is a pretty open-ended problem, so a lot of ways you can go about it. So I have my bounding box, and I’m going to do the same technique for my rows two. Again, I’m just now taking Row Two instead of Row One, but same mod used values to get my rows. And for the columns, similar thing this time, though, we’re just going to have that Mod Block in our x-input because we’ll have those columns go along that x. So that’s Columns One and Columns Two. So now I have the rows and columns that I need.You technically didn’t need to use remapping for any of this quite yet, but just to show those techniques, I wanted to show that. You could always have done a Translate Object block, you could have done that Array Body block, a lot of different options. But now, I have four major groups that I’m going to use for remapping. So I have Rows One, Rows Two, Columns One, and Columns Two. And I do need those four sections because we’ll add and implement different remap Fields using the equations provided in our starter file to create our woven pattern. We also have them defined, of which equations you’ll use for Row One, Row Two, Column One, and Column Two.So I’ll open up this remapping with the sign equation. So, a little bit different than what we discussed so far. Sorry, this is a bit of a challenge problem. And what we’re just going to do is take the Y and we’re going to multiply the magnitude and the sign equation that you have and just add those together. So we look, we have that magnitude and I say used in the sine wave remapping. If you don’t change the magnitude, then if you don’t have it, that’s okay. But it’s nice to have that if you did want to change the magnitude. And if we see that it’s going to create our wave, and let me show what this looks like if I type F, turn this around, is we’re getting this kind of wavy pattern. And the reason for this is if you look at this magnitude times that sign equation and probe our values, we’re getting something that, you know, is going from negative one to positive one. And as we’re going along that and adding this to the Y, we’re changing those values that we have and just creating this wavy shape. So we just get something like this. And this is how we are creating that column or that row in this example. So they all are changing this way, and that’s also why we need to have two separate rows because we just have two separate sign equations for that. So in this one, this is X minus the spacing. And then this one is just X. And this allows us to just have that sign going in the opposite direction, so we just shifted it over.Similar process with the Columns One and Two. Really the only difference between kind of these is which equation you are putting in which, why we have those different ones. So this is that X minus spacing, that one was X. This one is Z minus the spacing and the other one is C. So that just allows us to instead of having that wavy structure along that YZ, to then have it along the Y and X, so just changing that. So I have those four, and then I’m pretty much done with the remapping. In order to create this planar weave, we can see it looks pretty good. And something I’ll just show with this as well, and the reason I wanted to have those variables all connected, shows a cool option of that automation is I can change this radius. And what it has done is now also changed my part pretty quickly.So something to note is I do have some of that excess. A key part of this is just because of kind of that spacing that I had as well too, and just creating that bounding box. So this is just an example if you want to. Maybe yours looks better than this and has, even if you change that radius, change any of these areas, you won’t have that kind of excess. So I could always go back and change that bounding box to fix anything like that. But this is our radius, you can see I can also change the columns. And same here, so I’m going to actually make this. You can see what that looks like now. Having 9.67 of a column doesn’t always make sense. So I would say for these, definitely make them round. But you can see that this is pretty quick to change. Make that three, and our bounding box changes with that as well. And for our magnitude, if you wanted to see why we even included that, I can change it and you can see how that magnitude changes as well too. So if I didn’t want it to be, maybe I want it to be connected fully, I didn’t want any space in between them, or I wanted a lot of space, I could always change that magnitude. But I’ll go back to the eight and eight that we had before. And if you’re going through this, maybe you don’t see this change in real time. You can always go to your file settings and enable GPU acceleration. So this just allows me to see that change happen in real time, and it’s definitely neat to explore and play around with when you’re working with Fields, especially.So in order to finish this, let me open up my final for our planar weave. All I do is a Union of the rows, Union of the columns, and then Union of everything all together. So that’s one way you could go about it. Another way you could choose to do is use a Concatenate List block. So instead of having to do this Boolean Union three separate times, I could just bring in those different lists. I have concatenate them and Boolean Union those within that. So if you are unfamiliar with Concatenate List blocks, you can always go to our documentation on this as well. And in our nTop automation, of course, we show some examples on that.So that’s our planer weave, and we’ll use this as our basis for creating that cylindrical kind of basket pattern and that spherical one as well. So open that up, and I’ll also go to my view and go to my Display Grid because we’ll need this when thinking about how we create that cylindrical remap.So first, what I’m doing is orienting this object differently so that I have this ready to go for our Remap Cylindrical Field. So I start with my object, which is that planer weave, and you can see I just have this at our centroid of that bounding box. And then for our destination, I’ll show this. I’ve just placed it here, and the reason for this, and we can see I have this as the spacing times half the rows divided Pi for X. And then I just have it at the CID for the Y and Z.And I need to place this so that when I am wrapping this around, it’ll take this entire woven structure and wrap it around. So having that spacing times half the row divided Pi is going to allow us to then place this into our Remap Cylindrical Field and be able to get the result that we want. So if I put in this for my field, the Y mapping length as the spacing times the number of rows, so that’s just how long it is, and show that. But I can’t click on this toggle of visibility because if I do, it’s actually infinite.So I’ll show first this Boolean Intersect so we can see what that looks like, and we can see it’s starting at that same location, and it’s just wrapping it around. So that’s our radius of the wrap, I guess, and it’s just going to place that nicely. We get this final result like so. I can also change this box from corners, so that was a little bit too big, and this one I didn’t end up automating. You could also automate this as well too. Just wanted to show some different examples, so you probably have different box and corner values.Also, the reason I have to do that Boolean Intersect is if I look at our field and type F and I’ll change our plane from normal to B 0 1 0 is we can see we have these dots coming all the way through, so that’s just our designs that we’re working with going around like so, and that is just wrapping this part. So with the cylindrical weave, we took our oriented object, we’ve wrapped it around, but now we’ve have it all up and down that kind of Z-axis. We’re going to have it wrapping and continuing to do so. So with something like this, that’s why we have to have that B intersect.And if I look at my designs here, I can see I don’t have the same amount of columns, and I’ll just have to play around with my bounding box to just include more or less. And eventually, we can see our column stops, and we only have those rows because we have that defined height while our rows will just continue on. So if you have that bottom corners, maybe you have that so it defines it exactly as that height of the columns and the amount of rows that you have. But just showing this example, let’s create something like this.And then the last thing we’ll do is that spherical remap. And so this is our spherical remap where we have our oriented final body again as our part. We can use that same one we had for the cylindrical remap. Now we have just the spacing times the number of columns and spacing times number of rows. And note here that while we have eight rows, we really only have four of these. So if we look at that oriented final body again, we’re just going to take a portion of that and wrap it around. So we’ll just have that four going kind of up and down that part, and then eight of those columns.So you could change this, so maybe I want this to be 12, 12, get something like this. But something to note is if you make this uneven, so say number of columns eight for doing our cylindrical remap or our final planer weave, that’s fine. But you can notice that we’re starting to not have this connect once we start adding more and more to that. So you’re going to want to either make it even, or if you do want kind of a basket with opening and do a Boolean Intersect of kind of that box that you want left, that little basket, you can do that as well too.You can change that spacing. I can show it the opposite way, looks like so, 12 for the columns, eight for the rows, and we can see it also will kind of stop halfway through there. So maybe that’s the kind of design that you want. Definitely play around, that’s how you can create that cylindrical woven pattern, spherical and planer woven pattern. So this definitely was a more advanced example. So if you want to see a step by step on this in more detail, definitely check out our training videos, just showing how we can take those concepts we learned in the previous lessons and apply this to a real design.

