# Noisy Dice: Using Tinkercad Codeblocks

711

3

2

## Introduction: Noisy Dice: Using Tinkercad Codeblocks

Many of us love dice. We love to chuck them on the table, sometimes so hard that it rolls off onto the floor. Dice are the heart of almost all the board games and in this project, I tried it to make even more fun.

I'm in grade 6 and as a part of my curriculum, I recently completed the basics of Tinkercad. I made this Dice in 3D Design as part of my assignment and after that, I tried to push myself by recreating this using Codeblocks.

In this project, I'll walk you through how I created this Noisy Dice using Tinkercad Codeblocks.

## Supplies

• A Computer
• 3D printer(Optional)

## Step 1: Creating New Codeblocks Project

Log into your Tinkercad account, and select Codeblocks from the toolbar on the left. Then select Create New Codeblock. A new window will pop up. In the new window, select New Design.

## Step 2: Hollow Cube

For this Noisy Dice, we will first make a hollow cube. For this:

• Select the Box block from the Shape menu and drag it to your coding screen.
• Click on the White Arrow to expand your options. Change the parameters as H = 50, W = 50, L = 50, edge = 5 and edge steps = 50.
• From the Modify menu, select the block Move and keeping X and Y value unchanged, change the Z value from 0 to -25. This will move the complete box below the workplace, which will make creating Hole easier.
• Select another Box block and select on Hole, the box will become Opaque. Change its dimensions to L = 45, W = 45, H = 45 and Edge = 5 and Edge Steps = 5.
• Group them all by attaching Create Group block from Modify menu.

## Step 3: Adding Numbers: 1 and 6

• Add a empty Cylinder, with a Radius = 10, H = 30 and Sides 20.
• Then add a create group block and select the color if you want when you do this.

• Add a move block with a distance 50 for Z.
• Then add a empty Cylinder, with a Radius = 5, H = 30, and Sides 20.
• Add a move block with a distance X = 11 and Y = 11.
• Now add 5 (say a, b, c, d, and e) more empty cylinders with the same dimensions and add Move block after each cylinder.
• The distance by which the cylinder needs to be moved are: (a) X = -11, Y = -11 (b) X = -11, Y =0 (c) X = 11, Y = 0 (d) X = -11, Y = 11 and (e) X = 11. Y = -11.
• Group them all by attaching create group block from Modify menu.

## Step 4: Adding Numbers: 3 and 4

Add a rotate block from modify the menu, select "X-axis" and '90' for the degrees. Then add a move block with a distance -50 for Z

• Add 3 empty Cylinder(say a, b, and c), with a Radius = 10, H = 30 and Sides 20 and add Move block after each cylinder.
• The distance by which the cylinder needs to be moved are: (a) X = 11, Y = -11 (b) X = -11, Y = 11 and (c) X = 0, Y = 0.
• Then add a create group block.

• Add a move block with a distance 50 for Z.
• Then add an empty Cylinder, with a Radius = 5, H = 30, and Sides 20.
• Now, Add 3 empty Cylinder(say a, b, and c), with a Radius = 10, H = 30, and Sides 20 and add Move block after each cylinder.
• The distance by which the cylinder needs to be moved are: (a) X = 11, Y = 11 (b) X = -11, Y = -11 (c) X = -11, Y = 11 and (d) X = 11, Y = -11.
• Group them all by attaching create group block from Modify menu.

## Step 5: Adding Numbers: 5 and 2

• Add a rotate block from modify the menu, select the "Y-axis" and '90' for the degrees.

• Add 5 empty Cylinder(say a, b, and c), with a Radius = 10, H = 30 and Sides 20 and add Move block after each cylinder.
• The distance by which the cylinder needs to be moved are: (a) X = 11, Y = 11 (b) X = -11, Y = -11, (c) X = -11, Y = 11and X = 0, Y =0.
• Then add a create group block.

• Add a move block with a distance -50 for Z.
• Now, add 2 (say a and b) empty cylinders with the same dimensions and add Move block after each cylinder.
• The distance by which the cylinder needs to be moved are: (a) X = 11, Y = -11 and (b) X = -11, Y = 11.
• Group them all by attaching create group block from Modify menu.

To make our Dice make knocking sound when we roll it, we will place a Sphere inside this Hollow Dice. For this:

• Add a rotate block from modify the menu, select "X-axis" and '90' for the degrees. Then add a move block with a distance 50 for Z.
• Then add a solid sphere, with a Radius = 15 and Steps 40. Move the sphere with a distance Z = 20.
• Then add a create group block and select the color if you want when you do this.

The Dice is ready for printing. The support needed for the top layer and the sphere inside can be easily removed through the bigger hole made for number 1. Participated in the