Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
So now let's go ahead and start assembling our fence. Now the first thing we want to do is create a one picket fence. So I have a file open and that's called Fence_01, and what that has is it has all the parts I need to create this fence. Let's go ahead and take a look at this in our Components Attributes window. So actually I am going to go ahead and select this one. We can see we have a Fence Post. We have a Picket, we have an EndPost and we also have a Top and a Bottom Rail.
Now what I want to do is assemble all of these into a fence and then go ahead and use that to build an automatic fence that builds itself. So the first thing I am going to do is start placing my parts. I am going to start with my fence Post and I want to make sure that is actually at a neutral place. It's at 0,0. So I'm going to go ahead and add in some attributes. One for Position as well as one for Size. Now I just want to make sure that the Position is at 0, 0, 0 and the Size is 4 inches and 4 inches, so this is actually the size of that fence post.
So once I have that, let's go ahead and start working on the rails. So I'm going to select the TopRail and again add in the attributes. I am going to add in one for Position and one for Size. The reason I like having the Position attribute out there is that I can actually just type in the number of where I want this to be. So if I type in an X Position of 0, you can see how that TopRail kind of just snaps right to a 0 position on the X-axis.
But we also don't have it in the right place on the Y-axis. We actually need this to be in front of the fence post. Now I know that this particular one is 1.5 inches deep. It's actually a 2x4, which is actually 1.5x3.5 inches. So I know I have a depth of one-and-a-half inches. So all I have to do here is in Position, offset that by one-and-a-half inches. So I type in negative 1.5, hit Enter and there we go.
So now because this is the TopRail, I need to position it down a little bit from the top of the fence Post. So I'm actually going to bring it down about a foot, so I'm just going to type up 36 inches, because I know that this is 48 inches tall, so this makes this one 36. Let's go ahead and do the same for the BottomRail. I am going to add in some attributes. One for Position, one for Size, and again in Position, let's just go ahead and type in zero and then for the Y position, again, I'm going to type in negative 1.5 inches, which again just puts it in front of that fence Post, and then far up do we want this to be? I'm going to actually put it up say 12 inches.
So now we have our rails placed and once we those, we can actually nail the picket to the front of that. So let's go ahead and select the Picket and again we're going to add in a Position and a Size attribute. And for Position, again I'm going type in 0, because I wanted to snap to 0 along this red or X-axis. But when I snap to 0, we have the exact same issue, we have with the rails and I need to bring this picket forward, but I need to bring it forward not only one-and-a-half inches but one-and-a-half inches plus the depth of that picket, which is 0.75.
So 0.75 plus 1.5 is 2.25, but we want to pull it in a negative direction. So we will go negative two- and-a-quarter or 2.25 inches. Once I do that, you can see how the picket is in the proper place. Now all I have to do for the next one is just go ahead and put this EndPost in place. And again, I'm going to add an attribute for Position and for Size, and we'll be using Size a little bit more later.
For Position if I put 0 and 0, what that does is, is it just lays the EndPost over the other post. So I actually have these two posts are coincident. Actually though I want to bring the one post over, so it matches up with the end of this rail. So this one is about one-and-a -half inches and there we go. How I got one-and-a-half inches is the post is 4 inches and this rail is five-and-a-half, so 4 minus five -and-a-half is one-and-a-half.
So now we have a one picket fence and everything is lined up and ready to add in some intelligence.
Get unlimited access to all courses for just $25/month.Become a member
100 Video lessons · 11040 Viewers
56 Video lessons · 9825 Viewers
83 Video lessons · 7759 Viewers
97 Video lessons · 5775 Viewers