Can I make my own Puzzle?
To create your own puzzle, the first thing you need is an idea.
Investigate which parts a cube consists of.
Find out which geometries you can see in combination.
Turn a cube upside down, inside out.
Making drawings can help alot to find your special and personal way how to create a cube puzzle - or any puzzle for that matter.
We will aim for a super simple puzzle - a cube made out of two rectangle based cuboids.
![Image](https://www.geogebra.org/resource/edwzbqjw/80Ux7cq6zng6mfJ0/material-edwzbqjw.png)
Make a prototype
It can help also to make a prototype of your puzzle out of paper.
This is especially helpful if you want to get a feeling for all the geometrical shapes your puzzle could consist of. Maybe you find an even better solution in the process!
Open GeoGebra, start working!
After you kow exactly how your puzzle should look like, create an applet using GeoGebra to realise it.
First, go to your resources and create a new one. You find this possibility if you go to the Geogebra website and choose GeoGebra classic.
![Image](https://www.geogebra.org/resource/rhxynzvu/bJQKs1sS33ashc2R/material-rhxynzvu.png)
Adjust your working space
After opening the classic GeoGebra version, you might want to make sure you adjust it to your personal needs.
Usually, three things help:
- The Algebra view
- The Graphics view
- The 3D Graphics view
![Image](https://www.geogebra.org/resource/ftzz74az/FC54MlU2svFjHk3K/material-ftzz74az.png)
Create shapes
GeoGebra is able to make polygones into 3 dimensional objects.
Our example consists of simple shapes. If you have more experience with GeoGebra, you will be able to create much more complex shapes.
To make it easier for us, we first set the points to be fixed to the grid and then select the points tool.
![Image](https://www.geogebra.org/resource/bc7nrg4q/276dqH1PnSCyQ0CD/material-bc7nrg4q.png)
Make geometrical shapes
Next, create your geometrical shapes. Add dots in a shape describing your objcets base.
If you chose the option of having the points on the grid, on the left side you see that we avoided commas by that, the coordinates of the points will be wholenumbered.
![Image](https://www.geogebra.org/resource/j68ctjbg/qCqAa3un6COLCczK/material-j68ctjbg.png)
Polygone creation!
Now, you can select the polygone tool - the thing shaped like a triangle - on the upper left menu.
Click on all the previously created dots. Again, in a row, and end where you started.
![Image](https://www.geogebra.org/resource/tnvrn9zt/C7mXM2dOKmZ4Nbeb/material-tnvrn9zt.png)
This will give you a bunch of new stuff in the algebraic view on the left.
Also, a polygone will appear in your 3D view.
Select the polygone in the 3D view!
![Image](https://www.geogebra.org/resource/bbsu3ngx/vXBD1DLNtT8dS3nr/material-bbsu3ngx.png)
Extrude!
Now, make your polygone a 3D object by a so called extrusion.
To do that, go to the pyramid symbol a little further left and choose Extrude to Prism.
You will get the shape you created, just with an additional dimension: it gets tall!
![Image](https://www.geogebra.org/resource/tnmdnz8m/8xBTEhjKLFrcnOz2/material-tnmdnz8m.png)
Click onto your prism in the 3D Geometry view. A popup will ask you how high it should get extrudet!
If the popup does not pop up, click the extrude icon and then again click on the prism in the 3D view.
That should make it pop up.
![Image](https://www.geogebra.org/resource/ctug4jbn/xYmS8X65aW5TG0tA/material-ctug4jbn.png)
![Image](https://www.geogebra.org/resource/mthu4txe/tBq3ZrT8H3CZMDdL/material-mthu4txe.png)
Repeat for all the other parts of your puzzle!
Now repeat this for all the other parts your puzzle should have.
Our puzzle is quite simple and only contains 2 parts. So we are done soon!
Just for convenience - if you feel like it - you can reorder all objects according to the Object Type instead of the Construction Order.
For me it is easier to find the polygones if it is sorted by Object Type.
![Image](https://www.geogebra.org/resource/enzuj4mx/pjqnmvfOYZhlni7f/material-enzuj4mx.png)
Create more dots, connect them by the polygone tool again.
![Image](https://www.geogebra.org/resource/jn7k3uft/R3bYH3cqYKOEN61w/material-jn7k3uft.png)
Extrude!
![Image](https://www.geogebra.org/resource/ar8bssxm/4El3Fi8ZHLYyhNHH/material-ar8bssxm.png)
Now, you could go to the upper right part where you chose your views and download the objects as STL.
You should let them be repaired if necessary using eg. the automated repairtool of Repetierhost and you can then slice it and print it.
Create a nice applet while you are at it!
Since we already have GeoGebra open we can use it to create an applet showing how the parts can be assembled. This can help to understand how the puzzle works and how the virtual and physical parts work together.
Basically, this means we need to create a cube out of the parts and make them movable.
Make an entire cube out of the parts
You can select the arrow symbol to move the base points so your parts form a cube.
![Image](https://www.geogebra.org/resource/ktzxns3r/sizgJQQXLAPdajkS/material-ktzxns3r.png)
Sliiiiiiiide!
A slider will help to move the parts away from each other.
On the top you find the slider icon which you can add to your applet.
You might want to change the start and end though to 0 and 1.
![Image](https://www.geogebra.org/resource/gbypkecz/EXTTAixU4kjIn3Hs/material-gbypkecz.png)
I like to move it move it!
We use the command translate to move one of the cubes along an axis.
translate(NameofthePolygon,(xAxis,yAxisz,Axis))
Our extrudet parts are called g and k
We want to move our cube along the Y Axis so we need to choose to move it 0,2,0
So we will use the command translate(g,(0,2,0))
![Image](https://www.geogebra.org/resource/rybngwft/JU1CWfqDXXdYaIDO/material-rybngwft.png)
Connect the slider with the translation!
Now, all we need to do is to connect the slider and the movement of the puzzle part.
We do that by multiplying the movement by the slider.
Now we see, that it makes sense to have the slider move from 0 to 1 instead of -5 to 5.
Our sliders name is "i" so we have to adapt our translate command:
translate(g,(i(0,2,0)))
![Image](https://www.geogebra.org/resource/fxfsp5qa/2bdwcZeNAkzxYC2z/material-fxfsp5qa.png)
We are done!
You better not forget to save your applet.
If you do, you will be able to show your puzzle around virtually and physically!
![Image](https://www.geogebra.org/resource/qpak555m/KrAGGPBPwO8g8yUa/material-qpak555m.png)