Viewers: in countries Watching now:
In this course, author George Maestri explains how to model and render 3D objects and scenes using Google SketchUp 8. The course covers the fundamentals of the application, from navigating the user interface, manipulating objects, and building basic shapes to importing objects from Google Earth, animating a scene, and modeling organic terrain using the Sandbox tools. The course also explores SketchUp Pro features, which are available as an upgrade. These include tools for creating dynamic components and adding interactivity, as well as sophisticated importing and exporting options for working with outside applications.
Now, let's go ahead and customize our couch a little bit further. We are going to add some sizing and pricing info to the couch so that way it's a little bit more interactive. So, let's go into our Component Options window and see what we have. Now we already have the name of it as well as our position in X, Y and Z. Well, let's go ahead and change that a little bit. So, I am going to go ahead and right- click over this and go into Dynamic Components>Component Attributes. And if we go in here we can see these are the attributes that we've added in and in terms of Position, well, we don't really need that.
We don't really want people changing the position through the Options window; they can just move it using the Move tool. So, that's not something that we really want to use. But we can add in a couple of other attributes, and one is let's go ahead and have different size couches. So, let's take a look at a Size. So, in terms of Size, this is scaling, so we can have scale in X, which is red, Y green and Z, which is blue.
Now, if we are going to scale this couch, we are going to scale it along the green axis. So, let's ad in LenY as an attribute and let's take a look at how this works. So, I am going to move this over, so we can see it a little bit better here. And so when I select the couch, if we go to Length Y (LenY), we can type in a number. So, let's say we type in 80 and when we do, the couch scales, and when I typed in a 100, it will get longer. Okay, so I am going to go ahead and put this to 80. And this is a way to size out the length of our couch.
What we need to do is be able to give people the option of different size couches. So, we don't really want to allow them just to type in any length they want, we want to give them preset sizes. So, we can do that with that dropdown list that we were playing with before. So, let's go into Details and let's make the Display rule, Users can select from a list. So, in this I am going to go ahead and add a few options. So, let's add an option for 80 inches.
Let's do one that's a little bit longer, 96 inches and let's do one more, let's even a little bit longer, 108 inches. So, once I've done that and hit Apply, you will notice if I right-click over this and go into the Component Options window, now I have three lengths for this sofa. I can do 80, 96, I have to hit Apply here or a 108. Okay. So, let's go back to 80 here. But this really isn't a very descriptive length and numbers are something that customers really aren't going to understand.
So, let's go ahead and change this a little bit. We are going to go back into our Details window and for the Display label, let's just give it Size. And then for each of these options, we can just type in the words Small, Medium and Large, and hit Apply and let's go into our Dynamic Component options. So, now we have Small, instead of numbers we have size; Small, Medium and Large.
So, let's go back to Small and let's add in something else. Well, if we have couches that are of different sizes, the next thing that falls along is they're going to be different prices. So, let's go ahead and add in a pricing attribute. So, I am going to go ahead and Add attribute and if we go through this, I really don't have one for prize, so we can actually create one ourselves, enter a custom name. So, I am going to go ahead and click on this, and then we can just type in the word Price and that's going to be our price of our couch.
Now, for this well, we can just type in a number. Let's type in $459 and if we go over here, we can say, well let's say Users can see this attribute, hit Apply and go into our Dynamic Components>Component Options window and you will see that we have a Price here, and Obviously, we don't want to let our customers determine the price of the couch, we want to set that. But if we go into our Large couch we -- well, there is more couch and it's going to cost more. So, we need to calculate a price.
So, let's go do that. I am going to go back to my Small couch here and we can calculate that by using a formula. So, probably the easiest formula to do is just price the couch by the inch. So 459/80 inches, which is the smallest couch, and then we can multiply that by the length. All I have to do is click on Length Y (LenY), so basically 459/80 that will give you the price per inch, and then we multiply by the actual number of inches.
So, that by itself should give a decent price. Now, notice how this becomes bold because it is a calculated price. So, if I go back into Component Options, we can see how when I go from Small to Medium, the price changes. But these prices really are -- I don't know how realistic they are, I mean how many people actually price couches by inch. Now, normally you'd want to set the price in increments. So, let's go ahead and do something a little bit more sophisticated.
I am going to go ahead and display formulas here. So, we've got 459/80 times length, but we don't want that. Let's go ahead and say the base price is 459 and let's add in a formula. So, I've got 459+. Well, plus what? Well, I need to decide whether the couch is small, medium or large and then add in a set amount for each increment. So, we can do that by using a function. So, in this function we can actually go through and find all sorts of functions.
We have Math and SketchUp functions and all that, but the ones I want to look at is the If-Then statement. Now, these are very similar to those that you will find in spreadsheets and so if you've used that sort of math, you should be familiar with these. But if you're not, it's actually pretty simple. Once I select this, what happens is it comes up here, it doesn't insert here yet, it just shows me this as reference and if I want, I can hit this button that says Insert. And when I do, it inserts that If-Then statement, but with default values.
So, I need to add in my actual tests and values. So, the first one here is test and this is going to be my IF LenY = what? Well, 96 is a Medium couch, so if it's equal to 96 then we are going to price it as a Medium couch. And so for a Medium couch, let's go ahead and add in the amount that we are going to price the Medium couch over the Small couch. So, let's add $50 to the price of the couch if it's a Medium and if not well, we are just going to add nothing.
So, once I do that, I have a formula. So, it's the base price of the couch, the Small couch plus if it's 96 inches then I'm adding $50. Let's see how this works. Go into Component Options, Small couch, go to Medium, hit Apply and notice how the Price goes up. Now, let's go to the Large couch, hit Apply and notice how that goes back to 459, that's because we haven't included a conditional for that.
Now, we can do this by just inserting another If-Then statement, or we can select what we already have, hit Copy, Ctrl+C, Command+C on the Apple and then Paste, which is Ctrl+V or Apple Command+V. And then once we have this, we say if Length of Y (LenY) is to -- well, how big is the Large couch, the Large or couch is 108 inches and how much more will the Large couch cost. Well, let's just add another $100 to the 459 to make that real simple.
You can add Obviously, put whatever numbers you want. So, let's take look at what we have here. Price of the Small couch, if it's medium add 50, if it's Large, which is 108, add a 100. Seems to work, let's go ahead and take a look at it. Component Options window and you can see already that we have a Large, Medium and Small and it's actually working. So, here are some ways to add in user definable values. So, what we are doing here is we are adding in attributes that everybody else can use and we are actually adding in a little bit of intelligence.
So, the user can see different sizes of the couch as well as the different prices.
There are currently no FAQs about Google SketchUp 8 Essential Training.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.