Iván Brígido – Practicas con OpenSCAD
PRÁCTICAS CON OPENSCAD OpenSCAD es un software para la creación de sólidos 3D. Es un software libre y esta disponible tanto para GNU/Linux, MS Windows y Apple OS X. Se puede descargar libremente aquí.
PRÁCTICA 1 : HACER UN CUBO. cube([2,3,4]);
PRÁCTICA 2: HACER UN CILINDRO. 1
Iván Brígido – Practicas con OpenSCAD
cylinder(h=40,r=10);
PRÁCTICA 3: ESFERA sphere(20);
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.
2
Iván Brígido – Practicas con OpenSCAD
PRACTICA 5: CUBO INTERSECTADO POR UN CILINDRO. difference() { cube(30, center=true); sphere(20); } translate([0, 0, 30]) { cylinder(h=40, r=10); }
3
Iván Brígido – Practicas con 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); translate([-3,0,0]) color([1,1,0]) sphere(1); 4
Iván Brígido – Practicas con OpenSCAD
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:
5