Practicas Con Openscad

5
2 0 1 3 OpenScad PRÁCTICAS CON OPENSCAD Que es el openscad: OpenSCAD es un software para la creación de sólidos 3D. Para mas informacion pincha aqui Pincha aquí para descargártelo: http://www.openscad.org/downloads.html PRÁCTICA 1 : HACER UN CUBO. cube([2,3,4]); PRÁCTICA 2: HACER UN CILINDRO. cylinder(h=40,r=10); PRÁCTICA 3: ESFERA Mario Peña Tabernilla IES Valentin Turienzo

Transcript of Practicas Con Openscad

Page 1: Practicas Con Openscad

2013

OpenScad

PRÁCTICAS CON OPENSCAD

Que es el openscad: OpenSCAD es un software para la creación de sólidos 3D.

Para mas informacion pincha aqui

Pincha aquí para descargártelo: http://www.openscad.org/downloads.html

PRÁCTICA 1 : HACER UN CUBO.

cube([2,3,4]);

PRÁCTICA 2: HACER UN CILINDRO.

cylinder(h=40,r=10);

PRÁCTICA 3: ESFERA

sphere(20);

Mario Peña Tabernilla IES Valentin Turienzo

Page 2: Practicas Con Openscad

2013

OpenScad

PRÁCTICA 4: POSICIONAR UN OBJETO

cube([2,3,4]);translate([3,0,0]) { cube([2,3,4]);}

Ejercicio:

.- Hacer una cruz colocando 3 cubos en cada uno de los ejes.

PRACTICA 5: CUBO INTERSECTADO POR UN CILINDRO.

difference() {cube(30, center=true);sphere(20); } translate([0, 0, 30]) {cylinder(h=40, r=10); }

Mario Peña Tabernilla IES Valentin Turienzo

Page 3: Practicas Con Openscad

2013

OpenScad

Mario Peña Tabernilla IES Valentin Turienzo

Page 4: Practicas Con Openscad

2013

OpenScad

PRÁCTICA 6: COLORES.

color([1,0,0]) cube([2,3,4]);translate([3,0,0])color([0,1,0]) cube([2,3,4]);translate([6,0,0])color([0,0,1]) cube([2,3,4]);

Ejercicio:

.- Haz el ejercicio 4 con un color en cada parte de la cruz.

Solución:

translate([3,0,0]) color([1,0,0]) sphere(1);

translate([6,0,0]) color([1,0,0]) sphere(1);

translate([9,0,0]) color([1,0,0]) sphere(1);

translate([0,3,0]) color([0,1,0]) sphere(1);

translate([0,6,0]) color([0,1,0]) sphere(1);

translate([0,9,0]) color([0,1,0]) sphere(1);

translate([0,0,3]) color([0,0,1]) sphere(1);

translate([0,0,6]) color([0,0,1]) sphere(1);

translate([0,0,9]) color([0,0,1]) sphere(1);

Mario Peña Tabernilla IES Valentin Turienzo

Page 5: Practicas Con Openscad

2013

OpenScad

translate([-3,0,0]) color([1,1,0]) sphere(1);

translate([-6,0,0]) color([1,1,0]) sphere(1);

translate([-9,0,0]) color([1,1,0]) sphere(1);

translate([0,-3,0]) color([0,1,1]) sphere(1);

translate([0,-6,0]) color([0,1,1]) sphere(1);

translate([0,-9,0]) color([0,1,1]) sphere(1);

translate([0,0,-3] )color([1,1,1]) sphere(1);

translate([0,0,-6]) color([1,1,1]) sphere(1);

translate([0,0,-9]) color([1,1,1]) sphere(1);

Otros:

Mario Peña Tabernilla IES Valentin Turienzo