Line 116... |
Line 116... |
116 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, 1.5+(vyska_hlavy/2)]) // center top screw |
116 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, 1.5+(vyska_hlavy/2)]) // center top screw |
117 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
117 |
cylinder(((vyska_hlavy+0.5)), d=prumer_hlavy, center=true); |
118 |
|
118 |
|
119 |
} |
119 |
} |
120 |
} |
120 |
} |
- |
|
121 |
|
- |
|
122 |
|
- |
|
123 |
//PLBASE S NOZICKAMA polovicni pro tisk |
- |
|
124 |
//----------------------------------------------------------- |
- |
|
125 |
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){ |
- |
|
126 |
|
- |
|
127 |
difference() |
- |
|
128 |
{ |
- |
|
129 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
- |
|
130 |
|
- |
|
131 |
|
- |
|
132 |
translate([-1,-1, -1]) |
- |
|
133 |
|
- |
|
134 |
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]); |
- |
|
135 |
} |
- |
|
136 |
|
- |
|
137 |
|
- |
|
138 |
|
- |
|
139 |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
- |
|
140 |
rotate(a=[180,0,0]) |
- |
|
141 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
- |
|
142 |
|
- |
|
143 |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase)]) // center top screw |
- |
|
144 |
rotate(a=[180,0,0]) |
- |
|
145 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
- |
|
146 |
|
- |
|
147 |
|
- |
|
148 |
|
- |
|
149 |
|
- |
|
150 |
} |
- |
|
151 |
|
- |
|
152 |
//PLBASE polovicni pro tisk |
- |
|
153 |
//----------------------------------------------------------- |
- |
|
154 |
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){ |
- |
|
155 |
|
- |
|
156 |
difference() |
- |
|
157 |
{ |
- |
|
158 |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
- |
|
159 |
|
- |
|
160 |
|
- |
|
161 |
translate([-1,-1, -1]) |
- |
|
162 |
|
- |
|
163 |
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]); |
- |
|
164 |
} |
- |
|
165 |
|
- |
|
166 |
|
- |
|
167 |
} |
- |
|
168 |
|
- |
|
169 |
|
121 |
/* |
170 |
/* |
122 |
plbase_zapustene_srouby(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_hlavy,prekryti_der,prumer_hlavy); |
171 |
plbase_zapustene_srouby(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_hlavy,prekryti_der,prumer_hlavy); |
123 |
|
172 |
|
124 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
173 |
nozicka (vzdalenost_der,vyska_nozicky,prumer_sroubu,vyska_hlavy,prumer_hlavy); |
- |
|
174 |
|
125 |
|
175 |
|