Skip to content

Commit 35ce82f

Browse files
committed
primera prueba con openscad, dos perillas y parlante
1 parent b5abb12 commit 35ce82f

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

openscad/testing.scad

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
2+
// linear_extrude(4)
3+
// text("disenoUDP");
4+
5+
extLadoX = 60.0;
6+
extLadoY = 200.0;
7+
extLadoZ = 50.0;
8+
9+
intLadoX = 80.0;
10+
intLadoY = 190.0;
11+
intLadoZ = 40.0;
12+
13+
radioPerilla = 20.0;
14+
15+
module cajita(
16+
extLadoX,
17+
extLadoY,
18+
extLadoZ,
19+
intLadoX,
20+
intLadoY,
21+
intLadoZ,
22+
)
23+
{
24+
difference() {
25+
cube(
26+
[
27+
extLadoX,
28+
extLadoY,
29+
extLadoZ
30+
],
31+
center = true);
32+
cube(
33+
[
34+
intLadoX,
35+
intLadoY,
36+
intLadoZ
37+
],
38+
center = true);
39+
40+
41+
translate([15, -30, 20])
42+
cylinder (h = 20, r=10, center = true, $fn=100);
43+
44+
translate([-15, -30, 20])
45+
cylinder (h = 20, r=10, center = true, $fn=100);
46+
47+
translate([0, 50, 20])
48+
cylinder (h = 20, r=25, center = true, $fn=100);
49+
50+
51+
}
52+
53+
54+
55+
56+
57+
58+
59+
60+
};
61+
62+
63+
cajita(
64+
extLadoX,
65+
extLadoY,
66+
extLadoZ,
67+
intLadoX,
68+
intLadoY,
69+
intLadoZ);
70+
71+

openscad/testing.stl

60.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)