1 |
use <text/Write.scad> |
1 |
use <text/Write.scad> |
2 |
include <manufactury_conf.scad> |
2 |
include <manufactury_conf.scad> |
3 |
include <../configuration.scad> |
3 |
include <../configuration.scad> |
4 |
/* |
4 |
/* |
5 |
pocet_der1=5; |
5 |
pocet_der1=5; |
6 |
pocet_der2=3; |
6 |
pocet_der2=3; |
7 |
radidus_hrany=5; |
7 |
radidus_hrany=5; |
8 |
vzdalenost_der=10.16; |
8 |
vzdalenost_der=10.16; |
9 |
vzdalenost_od_okraje=8.8; |
9 |
vzdalenost_od_okraje=8.8; |
10 |
prumer_sroubu=3.3; |
10 |
prumer_sroubu=3.3; |
11 |
|
11 |
|
12 |
tloustka_plbase=2; |
12 |
tloustka_plbase=2; |
13 |
prekryti_der=0.3; |
13 |
prekryti_der=0.3; |
14 |
|
14 |
|
15 |
vyska_nozicky=5; |
15 |
vyska_nozicky=5; |
16 |
|
16 |
|
17 |
vyska_hlavy = 3.5; |
17 |
vyska_hlavy = 3.5; |
18 |
prumer_hlavy=6; |
18 |
prumer_hlavy=6; |
19 |
*/ |
19 |
*/ |
20 |
|
20 |
|
21 |
//PLBASE ZAKLADNI |
21 |
//PLBASE ZAKLADNI |
22 |
//------------------------------------------------------------ |
22 |
//------------------------------------------------------------ |
23 |
module plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,tloustka_bocnice){ |
23 |
module plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,tloustka_bocnice){ |
24 |
|
24 |
|
25 |
difference () { |
25 |
difference () { |
26 |
//union () { |
26 |
//union () { |
27 |
translate([radidus_hrany,radidus_hrany,0]) |
27 |
translate([radidus_hrany,radidus_hrany,0]) |
28 |
minkowski() |
28 |
minkowski() |
29 |
{ |
29 |
{ |
30 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,tloustka_plbase]); // base plastics brick |
30 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,tloustka_plbase]); // base plastics brick |
31 |
cylinder(r=radidus_hrany,h=0.1); |
31 |
cylinder(r=radidus_hrany,h=0.1); |
32 |
} |
32 |
} |
33 |
|
33 |
|
34 |
|
34 |
|
35 |
for (i = [0:1:pocet_der1-1]) { |
35 |
for (i = [0:1:pocet_der1-1]) { |
36 |
for (a = [0:1:pocet_der2-1]) { |
36 |
for (a = [0:1:pocet_der2-1]) { |
37 |
|
37 |
|
38 |
translate([vzdalenost_od_okraje+vzdalenost_der*i,vzdalenost_od_okraje+vzdalenost_der*a, (tloustka_plbase-prekryti_der)/2]) // center top screw |
38 |
translate([vzdalenost_od_okraje+vzdalenost_der*i,vzdalenost_od_okraje+vzdalenost_der*a, (tloustka_plbase-prekryti_der)/2]) // center top screw |
39 |
cylinder(((tloustka_plbase-prekryti_der)), d=prumer_sroubu, center=true); |
39 |
cylinder(((tloustka_plbase-prekryti_der)), d=prumer_sroubu, center=true); |
40 |
} |
40 |
} |
41 |
} |
41 |
} |
42 |
|
42 |
|
43 |
|
43 |
|
44 |
} |
44 |
} |
45 |
} |
45 |
} |
46 |
|
46 |
|
47 |
|
47 |
|
48 |
|
48 |
|
49 |
//MODEL NOZICKY PRO PLBASE |
49 |
//MODEL NOZICKY PRO PLBASE |
50 |
//----------------------------------------------------------- |
50 |
//----------------------------------------------------------- |
51 |
//průmer nozicky je roven vzdalenost_der |
51 |
//průmer nozicky je roven vzdalenost_der |
52 |
module nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy) |
52 |
module nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy) |
53 |
{ |
53 |
{ |
54 |
difference () { |
54 |
difference () { |
55 |
translate([0,0,-vyska_nozicky/2]) |
55 |
translate([0,0,-vyska_nozicky/2]) |
56 |
cylinder((vyska_nozicky), d=vzdalenost_der, center=true); |
56 |
cylinder((vyska_nozicky), d=vzdalenost_der, center=true); |
57 |
translate([0,0,-(vyska_nozicky-vyska_hlavy/2)]) |
57 |
translate([0,0,-(vyska_nozicky-vyska_hlavy/2)]) |
58 |
cylinder((vyska_hlavy), d=prumer_hlavy, center=true); |
58 |
cylinder((vyska_hlavy), d=prumer_hlavy, center=true); |
59 |
translate([0,0,-vyska_nozicky/2]) |
59 |
translate([0,0,-vyska_nozicky/2]) |
60 |
cylinder((vyska_nozicky), d=prumer_sroubu, center=true); |
60 |
cylinder((vyska_nozicky), d=prumer_sroubu, center=true); |
61 |
} |
61 |
} |
62 |
} |
62 |
} |
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
66 |
//PLBASE S NOZICKAMA |
66 |
//PLBASE S NOZICKAMA |
67 |
//----------------------------------------------------------- |
67 |
//----------------------------------------------------------- |
68 |
module plbase_s_nozickama(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy){ |
68 |
module plbase_s_nozickama(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy){ |
69 |
|
69 |
|
70 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
70 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
71 |
|
71 |
|
72 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje, (tloustka_plbase)]) // center top screw |
72 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje, (tloustka_plbase)]) // center top screw |
73 |
rotate(a=[180,0,0]) |
73 |
rotate(a=[180,0,0]) |
74 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
74 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
75 |
|
75 |
|
76 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje, tloustka_plbase]) // center top screw |
76 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje, tloustka_plbase]) // center top screw |
77 |
rotate(a=[180,0,0]) |
77 |
rotate(a=[180,0,0]) |
78 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
78 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
79 |
|
79 |
|
80 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
80 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
81 |
rotate(a=[180,0,0]) |
81 |
rotate(a=[180,0,0]) |
82 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
82 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
83 |
|
83 |
|
84 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
84 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
85 |
rotate(a=[180,0,0]) |
85 |
rotate(a=[180,0,0]) |
86 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
86 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
87 |
|
87 |
|
88 |
|
88 |
|
89 |
} |
89 |
} |
90 |
|
90 |
|
91 |
|
91 |
|
92 |
|
92 |
|
93 |
//PLBASE SE ZAPUSTENIM SROUBU |
93 |
//PLBASE SE ZAPUSTENIM SROUBU |
94 |
//------------------------------------------------------ |
94 |
//------------------------------------------------------ |
95 |
module plbase_zapustene_srouby(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_hlavy,prekryti_der,prumer_hlavy){ |
95 |
module plbase_zapustene_srouby(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_hlavy,prekryti_der,prumer_hlavy){ |
96 |
difference () { |
96 |
difference () { |
97 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,(vyska_hlavy+1.5),prekryti_der); |
97 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,(vyska_hlavy+1.5),prekryti_der); |
98 |
|
98 |
|
99 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje, 1.5+(vyska_hlavy/2)]) // center top screw |
99 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje, 1.5+(vyska_hlavy/2)]) // center top screw |
100 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
100 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
101 |
|
101 |
|
102 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje, 1.5+(vyska_hlavy/2)]) // center top screw |
102 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje, 1.5+(vyska_hlavy/2)]) // center top screw |
103 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
103 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
104 |
|
104 |
|
105 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, 1.5+(vyska_hlavy/2)]) // center top screw |
105 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, 1.5+(vyska_hlavy/2)]) // center top screw |
106 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
106 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
107 |
|
107 |
|
108 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, 1.5+(vyska_hlavy/2)]) // center top screw |
108 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, 1.5+(vyska_hlavy/2)]) // center top screw |
109 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
109 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
110 |
|
110 |
|
111 |
} |
111 |
} |
112 |
} |
112 |
} |
113 |
|
113 |
|
114 |
|
114 |
|
115 |
//PLBASE S NOZICKAMA polovicni pro tisk |
115 |
//PLBASE S NOZICKAMA polovicni pro tisk |
116 |
//----------------------------------------------------------- |
116 |
//----------------------------------------------------------- |
117 |
module plbase_s_nozickama_polovicni(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy){ |
117 |
module plbase_s_nozickama_polovicni(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy){ |
118 |
|
118 |
|
119 |
difference() |
119 |
difference() |
120 |
{ |
120 |
{ |
121 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
121 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
122 |
|
122 |
|
123 |
|
123 |
|
124 |
translate([-1,-1, -1]) |
124 |
translate([-1,-1, -1]) |
125 |
|
125 |
|
126 |
cube([(pocet_der1+1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,1+((pocet_der2)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,tloustka_plbase+15]); |
126 |
cube([(pocet_der1+1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,1+((pocet_der2)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,tloustka_plbase+15]); |
127 |
} |
127 |
} |
128 |
|
128 |
|
129 |
|
129 |
|
130 |
|
130 |
|
131 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
131 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
132 |
rotate(a=[180,0,0]) |
132 |
rotate(a=[180,0,0]) |
133 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
133 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
134 |
|
134 |
|
135 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
135 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
136 |
rotate(a=[180,0,0]) |
136 |
rotate(a=[180,0,0]) |
137 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
137 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
138 |
|
138 |
|
139 |
|
139 |
|
140 |
|
140 |
|
141 |
|
141 |
|
142 |
} |
142 |
} |
143 |
|
143 |
|
144 |
//PLBASE polovicni pro tisk |
144 |
//PLBASE polovicni pro tisk |
145 |
//----------------------------------------------------------- |
145 |
//----------------------------------------------------------- |
146 |
module plbase_polovicni(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy){ |
146 |
module plbase_polovicni(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy){ |
147 |
|
147 |
|
148 |
difference() |
148 |
difference() |
149 |
{ |
149 |
{ |
150 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
150 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
151 |
|
151 |
|
152 |
|
152 |
|
153 |
translate([-1,-1, -1]) |
153 |
translate([-1,-1, -1]) |
154 |
|
154 |
|
155 |
cube([(pocet_der1+1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,1+((pocet_der2)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,tloustka_plbase+15]); |
155 |
cube([(pocet_der1+1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,1+((pocet_der2)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,tloustka_plbase+15]); |
156 |
} |
156 |
} |
157 |
|
157 |
|
158 |
|
158 |
|
159 |
} |
159 |
} |
160 |
//PLBASE ZAKLADNI - bez der s napisem produktu |
160 |
//PLBASE ZAKLADNI - bez der s napisem produktu |
161 |
//------------------------------------------------------------ |
161 |
//------------------------------------------------------------ |
162 |
module plbase_bez_der_napis(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,box_jmeno){ |
162 |
module plbase_bez_der_napis(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,box_jmeno){ |
163 |
|
163 |
|
164 |
|
164 |
|
165 |
|
165 |
|
166 |
difference () { |
166 |
difference () { |
167 |
//union () { |
167 |
//union () { |
168 |
translate([radidus_hrany,radidus_hrany,0]) |
168 |
translate([radidus_hrany,radidus_hrany,0]) |
169 |
minkowski() |
169 |
minkowski() |
170 |
{ |
170 |
{ |
171 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,tloustka_plbase]); // base plastics brick |
171 |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice,tloustka_plbase]); // base plastics brick |
172 |
cylinder(r=radidus_hrany,h=0.1); |
172 |
cylinder(r=radidus_hrany,h=0.1); |
173 |
} |
173 |
} |
174 |
translate([radidus_hrany,radidus_hrany,0]) |
174 |
translate([radidus_hrany,radidus_hrany,0]) |
175 |
translate([ ((pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, ((pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, tloustka_plbase/2+1]) |
175 |
translate([ ((pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, ((pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, tloustka_plbase/2+1]) |
176 |
rotate([0,0,0]) |
176 |
rotate([0,0,0]) |
177 |
write(box_jmeno,h=10,t=tloustka_plbase-1, space= 1.1, font = "Letters.dxf",center=true); |
177 |
write(box_jmeno,h=10,t=tloustka_plbase-1, space= 1.1, font = "Letters.dxf",center=true); |
178 |
|
178 |
|
179 |
|
179 |
|
180 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje, (tloustka_plbase/2)]) // center top screw |
180 |
translate([vzdalenost_od_okraje+tloustka_bocnice,vzdalenost_od_okraje+tloustka_bocnice, (tloustka_plbase/2)]) // center top screw |
181 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
181 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
182 |
|
182 |
|
183 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje, (tloustka_plbase/2)]) // center top screw |
183 |
translate([vzdalenost_od_okraje+tloustka_bocnice+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+tloustka_bocnice, (tloustka_plbase/2)]) // center top screw |
184 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
184 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
185 |
|
185 |
|
186 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase/2)]) // center top screw |
186 |
translate([vzdalenost_od_okraje+tloustka_bocnice+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+tloustka_bocnice+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase/2)]) // center top screw |
187 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
187 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
188 |
|
188 |
|
189 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase/2)]) // center top screw |
189 |
translate([vzdalenost_od_okraje+tloustka_bocnice,vzdalenost_od_okraje+tloustka_bocnice+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase/2)]) // center top screw |
190 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
190 |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
191 |
|
191 |
|
192 |
} |
192 |
} |
193 |
} |
193 |
} |
194 |
|
194 |
|
195 |
|
195 |
|
196 |
|
196 |
|
197 |
|
197 |
|
198 |
|
198 |
|
199 |
|
199 |
|
200 |
|
200 |
|
201 |
|
201 |
|
202 |
|
202 |
|