Arcade Block House

by muhd18 in Craft > Digital Graphics

172 Views, 0 Favorites, 0 Comments

Arcade Block House

AC9AB952-3458-4AE4-B961-0FD65FFB254B.png
6CBCB889-F572-4B86-8121-D8E9E648DD66.png
6C72B44E-7E16-42C0-9BA4-47754F3C6D14.png
91259867-3C58-4461-8313-36D84CB1739D.png
20F72208-AE9C-4294-9A90-7F52DF1A6573.png
1AA1D796-DA84-40AB-8264-DB6BBB17A0B4.png
FTGTPVUKUWO8691.png

Do you want to see how to create an arcade block house using tinkercad codeblocks? 

The house is created in steps by moving every block making up the house to the right position

Supplies

55AF2BAE-61DA-44A5-9491-070FFDD887D9.jpeg

Sign In

The first step is to login to tinkercad and then navigate to the tinkercad codeblocks webpage (https://www.tinkercad.com/login)

Create a New Codeblock Design

4459E2C4-5BDB-4146-A4D0-ACDED14A0733.jpeg

To create a new design, click on the Create New Codeblock button. A new empty codeblock design is created afterwards. 

Doing the Maths

Several brick blocks were put together to form the house. Each brick block has a dimension of 10 x 10 x 10. There is a total of 9 blocks along the x-axis, a total of 6 blocks along the y-axis, and the z-axis has a total of 4 blocks which make up the height of the house. 

The roof is made up of 8 pyramids each having a length of 60. 

The door has dimensions 20 x 10 x 30, and it's located at the middle of the longer wall (along the x-axis). 

The house has 2 windows with dimensions 20 x 10 x 10, they are located a block away from both sides of the door. 

Add the Codeblocks

FF6414F4-357B-4A53-AD6D-6C232D4423B6.jpeg
54F28481-FBE6-44D2-83AC-53F1A6B1DC69.jpeg

After knowing the mathematical outline, next is to add the codeblocks that will generate the sections of the house. 

To start with, drag the create new object block from the block panel into the block editor. This block will contain the whole house. 

Create Variables

13C6C31C-A7E2-4BD5-85D2-70B9EBA52BFC.jpeg

For this design, several variables will be created in order to ease the design process. These variables will be used in other codeblocks of the design. The variables are:

  • dimension = 10.  (Specifies the weight, length and height is each brick)
  • xdivs = 8  (pecifies 1 less the number of bricks along the x-axis)
  • ydivs = 5. (specifies 1 less the number of bricks along the y-axis)
  • zdivs = 4. (specifies the height of the house)

Create the Walls

F9FA4673-607B-46D2-854C-9BFCF97642E9.jpeg

Several loops were used in order to create the walls of the house. The walls are created layer by layer. 

Using the Add shape codeblock, the brick cubes with dimension 10 x 10 x 10 were added. The move codeblock moves the cubes to the right position. The repetitive action above is what generated the walls.

Create the Roof

A2957788-FF31-4109-B96F-A9A24D5AA7AE.jpeg

The roof is made up of 8 pyramids each having a length of 60. They are spaced apart by 10. 

Using a single loop codeblock, the roof was created. In the loop, the pyramid shape was first added, then moved to location.

Create the Door

8F58A1D0-4176-4A77-ADE8-7A5FE7B1A7A8.jpeg

The door has dimensions 20 x 10 x 30, and it’s located at the middle of the longer wall (along the x-axis). To create it, add the shape and move to the location as in the codeblock screenshot above.

Create the Windows

087FAA2E-273B-48B0-BFA3-D41A35BD8DD6.jpeg

The 2 windows have dimensions 20 x 10 x 10, they are located a block (10) away from both sides of the door. To create the windows, add the shapes and move them to the location as in the codeblock screenshot above.

Run

06CB6E6C-CC87-438E-BCE0-81EEE7753111.jpeg
IMG_7102.jpeg
IMG_7103.jpeg
FC5FB446-5112-40B2-9414-9FD25AD4CBA9.png
3AE4B7E1-6283-436F-8B60-6AC2A7658F79.png
6E6019A8-AD89-453C-88F7-53201EBC67DF.png

After adding all the codeblocks, you can finally click on the run button in the top bar to generate the house.

Have fun!