Introduction: Manual Design Vs. Program Design
Return to Previous Lesson:Coding a Cube
In this lesson you will learn how to combine multiple shapes to create an arched doorway shape.
Step 1: Manually Building the House
Building a simple house manually in Tinkercad takes only a few steps, but if you are repeating those steps over and over it can become time consuming.
Below are images that show the manual process for creating a house that were followed in the Tinkercad project.
Create an outer block that represents the outside of the house Create an inner block to remove the center of the house structure Subtract the inner block from the outer block Place a roof on the structure Combine the roof with the walls Note:
These steps to manually build a house are fully detailed in the Build a Tinkercad House project. If you are unsure how to manually build the house you should consider completing the Build a Tinkercad House project to better understand how the shapes are combined to create the house.
- Continue to the next step.
Step 2: Pseudo Code - Manual Design Vs. Program Design
Design and coding have many similarities in the way by which you visualize how to get your ideas out of your head and into the computer. When determining how best to build a house manually in Tinkercad, it is helpful to visualize the components that make up the overall shape and also to consider how each item will be combined and in what order; essentially pseudo code for manual design.
The pseudo code for this design would look like this:
Create a block that represents the outer walls of the house. (the red block in the image) Create a block smaller than the red block that can be used to hollow out the inside of the red block. (the transparent block in the image) Create a roof block that can be placed on top of the house. (the green block in the image) Position the transparent block in the center of the red block. Position the roof centered on the top of the red block. Hollow the house by subtracting the inner block from the outer block Combine the roof to the walls. As you can see, this pseudo code could be used for either the manual design or for the program to create the configurable house.
- Continue to next step.
Step 3: Continue to the Next Lesson
In the next lesson you will learn how to set up parameters to control the size of the house.
Next Lesson:Setting up Parameters for the House