You are on page 1of 31

[Inglés básico]

[CONSEJO
pias
Para crear tus pro
s, haz
tarjetas educativa
derecho
clic con el botón
ciona
en una foto y selec
Sustit uir imagen ].
Dog
HELLO WORLD

This is a cube of 10 mm. OpenScad works in


millimeters.
Cube is an action.
Press F5
OPERATORS: center
RECTANGULAR
PRISM
SPHERE
CYLINDER

Change the different parameters to see what


happens.
exercise
1.-Draw this figure with
r=20 and h=10

[Bicicleta]
exercises
2. Draw three different
figures according to
what we have learnt.

3. Draw a triangular
base prism.

4. Draw a pentagonal
base prism.

5. Draw a pyramid and


a tetrahedron. Find
out the difference
between them.
COLOR
COLOR /TRANSPARENCY

EXERCISE
6. Draw a cone in an original colour, use
the cheatsheet to find the colour.
Transparency 25%
Modifier characters

● * Disable modifier
● ! Root modifier
● # Debug modifier
● % Background modifier
● // We use them to comment the programming
lines.
EXAMPLE
TRANSFORMATIONS
TRANSLATION (mm)

translate([x,y,z)]
TRANSFORMATIONS
ROTATION (grades)

rotate ([x,y,z])
EXERCISES
7. a) Draw a centered hexagon with
h=5, r=40/2.

b) Draw an equilateral triangle with


the same height and radius like
the previous one, but translated 50
mm in X axis.

c) Draw a cylinder with the same


height and radius like the previous
one, but in -50.
EXERCISES

8. Draw this image


using what we have
learnt so far. All the
pieces are at the same
height.
EXERCISES

9. a) Draw a cube of edge 10 mm,


centered, red colour and
semi-transparent.
b) Draw other cube with the same size,
centered in blue and rotated 45 degrees
in Y axis.
10. Now, rotate the set of pieces 90
degrees in Z axis and get the figure
shown at the second image.
Symmetry

With the command “mirror”, we


get a symmetry in the axis
where we write 1. In the below
example, Y axis.
EXERCISE
11. Let’s get fun. Draw this figure. Use all
we have learnt. Don’t do the mouth,
you will do it in other exercise.

PAY ATTENTION:
BE CLEAN, if you start drawing the
head, the first line will be:

// Head
BOOLEAN OPERATIONS
UNION
union () To join two or more pieces but
don’t mixed them.
EXERCISE
12. Do a cylinder with h= 10 mm and r= 8
mm. Do another one with the same
height but r= 7mm to get the piece as
shown in the image.
BOOLEAN OPERATIONS
difference ( )
difference () . It makes the difference
between the first figure and the
second one.
EXERCISE
13. To the example of union, make it a
hole of 8 mm.

14. Make a similar piece as shown in


the image below.
BOOLEAN OPERATIONS
intersection ( )
intersection () Only the area in
common is kept.
EXERCISES

15. Now, draw a car as shown in the


picture.

16. It’s time to make the mouth of the


exercise 10.
EXERCISES

17. Now, draw this car as shown in the


picture.
MINI PROYECT

Do the intersection between a cube of


20mm and a sphere of 15 mm, you will
get a dice.

Now, do all the sides.

You might also like