4246 |
jacho |
1 |
use <configuration/celicko.scad> |
|
|
2 |
use <configuration/sloupek.scad> |
|
|
3 |
use <configuration/lista.scad> |
|
|
4 |
use <configuration/plbase.scad> |
|
|
5 |
use <uravena_celicka.scad> |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
include <configuration/manufactury_conf.scad> |
|
|
9 |
include <configuration.scad> |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
barva_sloupku = "cyan"; |
|
|
14 |
barva_listy = "red"; |
|
|
15 |
barva_celicka = "green"; |
|
|
16 |
barva_plbase = "yellow"; |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
//VELKE LISTY - podstavec drzaku |
|
|
20 |
//-------------------------------------------------------- |
|
|
21 |
//lista velka 1 |
|
|
22 |
color(barva_listy) |
|
|
23 |
translate([0,-(((vzdalenost_od_diry+vzdalenost_od_okraje)/2)-vzdalenost_od_diry),-vyska/2]) |
|
|
24 |
rotate(a=[0,0,0]) |
|
|
25 |
lista (vzdalenost_der,pocet_der2,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
//CELICKA - drzak LCD |
|
|
29 |
//-------------------------------------------------------- |
|
|
30 |
//celicko predni |
|
|
31 |
|
|
|
32 |
color(barva_celicka) |
|
|
33 |
translate([0,-(((vzdalenost_od_diry+vzdalenost_od_okraje)/2)-vzdalenost_od_diry)-((((vzdalenost_od_okraje+vzdalenost_od_diry)/2)-sirka_materialu)-(tloustka_celicka/2)),-(vyska-2*zapust-vule_vysky_celicka)/2]) |
|
|
34 |
celicko_predni (vyska,zapust,vule_vysky_celicka,pocet_der2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky); |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
//PLBASE SPODNI |
|
|
39 |
//------------------------------------------------------------- |
|
|
40 |
color(barva_plbase) |
|
|
41 |
//základní plbase bez nožiček |
|
|
42 |
/* |
|
|
43 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2,-vzdalenost_od_okraje,-(vyska/2)]) |
|
|
44 |
rotate(a=[180,0,90]) |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
plbase(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
|
|
48 |
*/ |
|
|
49 |
|
|
|
50 |
//plbase s nožičkama |
|
|
51 |
//* |
|
|
52 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2,-vzdalenost_od_okraje,-((vyska/2))]) |
|
|
53 |
rotate(a=[180,0,90]) |
|
|
54 |
plbase_s_nozickama(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy); |
|
|
55 |
//*/ |
|
|
56 |
|
|
|
57 |
//plbase se zápustnými šrouby |
|
|
58 |
/* |
|
|
59 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2,-vzdalenost_od_okraje,-(vyska/2)]) |
|
|
60 |
rotate(a=[180,0,90]) |
|
|
61 |
|
|
|
62 |
plbase_zapustene_srouby(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_hlavy,prekryti_der,prumer_hlavy); |
|
|
63 |
*/ |
|
|
64 |
|