Line -... |
Line 1... |
- |
|
1 |
include <manufactury_conf.scad> |
- |
|
2 |
include <../configuration.scad> |
- |
|
3 |
use <MLAB_logo.scad> |
- |
|
4 |
|
1 |
//Funkce pro generovani sloupku |
5 |
//Funkce pro generovani sloupku |
2 |
module sloupek( |
6 |
module sloupek( |
3 |
vyska, |
7 |
vyska, |
4 |
zapust, |
8 |
zapust, |
5 |
vzdalenost_der, |
9 |
vzdalenost_der, |
Line 8... |
Line 12... |
8 |
radidus_hrany, |
12 |
radidus_hrany, |
9 |
prumer_sroubu, |
13 |
prumer_sroubu, |
10 |
prumer_matice, |
14 |
prumer_matice, |
11 |
vyska_matice, |
15 |
vyska_matice, |
12 |
posuv_dorazu, |
16 |
posuv_dorazu, |
13 |
matice_sila_materialu) { |
17 |
matice_sila_materialu,logo_vyska,logo_sirka) { |
14 |
|
18 |
|
15 |
difference () { |
19 |
difference () { |
16 |
union () { |
20 |
union () { |
17 |
color("green") |
21 |
color("green") |
18 |
translate([-(vzdalenost_od_okraje-radidus_hrany),-(vzdalenost_od_okraje-radidus_hrany),0]) // center top screw |
22 |
translate([-(vzdalenost_od_okraje-radidus_hrany),-(vzdalenost_od_okraje-radidus_hrany),0]) // center top screw |
Line 60... |
Line 64... |
60 |
|
64 |
|
61 |
color("cyan") |
65 |
color("cyan") |
62 |
translate([vzdalenost_der, vzdalenost_od_diry/2, -(vyska-(2*zapust))/2]) |
66 |
translate([vzdalenost_der, vzdalenost_od_diry/2, -(vyska-(2*zapust))/2]) |
63 |
linear_extrude(height = (vyska-(2*zapust))) |
67 |
linear_extrude(height = (vyska-(2*zapust))) |
64 |
square([vzdalenost_der, vzdalenost_od_diry ], center = true); |
68 |
square([vzdalenost_der, vzdalenost_od_diry ], center = true); |
- |
|
69 |
|
- |
|
70 |
|
- |
|
71 |
|
- |
|
72 |
|
65 |
} |
73 |
} |
66 |
|
74 |
|
67 |
//diry na sroub |
75 |
//diry na sroub |
68 |
translate([0,0,0]) // center top screw |
76 |
translate([0,0,0]) // center top screw |
69 |
cylinder(2*vyska, d=(prumer_sroubu), center=true); |
77 |
cylinder(2*vyska, d=(prumer_sroubu), center=true); |
Line 101... |
Line 109... |
101 |
|
109 |
|
102 |
translate([0,(((((prumer_matice)/2)+posuv_dorazu+vzdalenost_od_diry)/2)-(posuv_dorazu+prumer_matice/2)),-(((vyska)/2-vyska_matice/2)-matice_sila_materialu)]) // center top screw |
110 |
translate([0,(((((prumer_matice)/2)+posuv_dorazu+vzdalenost_od_diry)/2)-(posuv_dorazu+prumer_matice/2)),-(((vyska)/2-vyska_matice/2)-matice_sila_materialu)]) // center top screw |
103 |
|
111 |
|
104 |
cube([prumer_matice, prumer_matice+posuv_dorazu+vzdalenost_od_diry,vyska_matice], center = true); |
112 |
cube([prumer_matice, prumer_matice+posuv_dorazu+vzdalenost_od_diry,vyska_matice], center = true); |
105 |
|
113 |
|
- |
|
114 |
//---------------------------------------------------- |
- |
|
115 |
//LOGO MLAB |
- |
|
116 |
union (){ |
- |
|
117 |
translate ([-vzdalenost_od_okraje+1,5, 0]) // ODROIDs passive components hole. |
- |
|
118 |
rotate([0, 90, 180]) |
- |
|
119 |
scale(v = [logo_sirka, logo_vyska, 0.3]) |
- |
|
120 |
MLAB_logo_short(); |
- |
|
121 |
} |
- |
|
122 |
|
106 |
} |
123 |
} |
107 |
} |
124 |
} |
- |
|
125 |
|
- |
|
126 |
/*sloupek( |
- |
|
127 |
vyska, |
- |
|
128 |
zapust, |
- |
|
129 |
vzdalenost_der, |
- |
|
130 |
vzdalenost_od_okraje, |
- |
|
131 |
vzdalenost_od_diry, |
- |
|
132 |
radidus_hrany, |
- |
|
133 |
prumer_sroubu, |
- |
|
134 |
prumer_matice, |
- |
|
135 |
vyska_matice, |
- |
|
136 |
posuv_dorazu, |
- |
|
137 |
matice_sila_materialu); |