Line 9... |
Line 9... |
9 |
include <configuration/manufactury_conf.scad> |
9 |
include <configuration/manufactury_conf.scad> |
10 |
include <configuration.scad> |
10 |
include <configuration.scad> |
11 |
include <configuration/otvory_conf.scad> |
11 |
include <configuration/otvory_conf.scad> |
12 |
|
12 |
|
13 |
|
13 |
|
14 |
barva_sloupku = "cyan"; |
14 |
barva_dno_bocnice = "cyan"; |
15 |
barva_listy = "red"; |
- |
|
16 |
barva_celicka = "green"; |
15 |
barva_spodni_kryt = "green"; |
17 |
barva_plbase = "yellow"; |
16 |
barva_plbase_horni = "yellow"; |
18 |
|
- |
|
19 |
//translate([0.5*10.16,-5.08,14]) |
- |
|
20 |
// cube([10.16,10.16,10.16]); |
- |
|
21 |
|
17 |
|
- |
|
18 |
posuv_dilu=10; //pro složeni krabičky zadat 0 pro rozebrání zdat 10 |
22 |
|
19 |
|
23 |
//BOCNICE SE DNEM |
20 |
//BOCNICE SE DNEM |
24 |
//------------------------------------------------------------- |
21 |
//------------------------------------------------------------- |
25 |
upravena_bocnice(); |
- |
|
26 |
|
- |
|
27 |
|
- |
|
28 |
|
22 |
|
29 |
|
23 |
|
- |
|
24 |
color(barva_dno_bocnice) |
- |
|
25 |
upravena_bocnice(); |
30 |
|
26 |
|
31 |
//PLBASE HORNI |
27 |
//PLBASE HORNI |
32 |
//------------------------------------------------------------- |
28 |
//------------------------------------------------------------- |
33 |
|
- |
|
34 |
|
- |
|
35 |
|
- |
|
- |
|
29 |
translate([0,0,5*posuv_dilu]) |
- |
|
30 |
color(barva_plbase_horni) |
36 |
translate([plbase_tolerance_horni-0.2,+plbase_tolerance_horni-0.2,vyska_bocnice/2-tloustka_plbase/2]) |
31 |
translate([plbase_tolerance_horni-0.2,+plbase_tolerance_horni-0.2,vyska_bocnice/2-tloustka_plbase/2]) |
37 |
rotate(a=[0,0,0]) |
32 |
rotate(a=[0,0,0]) |
38 |
{ |
- |
|
39 |
|
33 |
{ |
40 |
|
- |
|
41 |
//plbase_vrchni_kryt(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,plbase_tolerance_horni); |
- |
|
42 |
|
34 |
|
43 |
plbase_vrchni_kryt_pro_odecet(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,-0.2,tloustka_plbase); |
35 |
plbase_vrchni_kryt_pro_odecet(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,-0.2,tloustka_plbase); |
44 |
} |
36 |
} |
45 |
|
37 |
|
- |
|
38 |
//SPODNÍ KRYT |
- |
|
39 |
//------------------------------------------------------------- |
- |
|
40 |
translate([0,0,-5*posuv_dilu]) |
- |
|
41 |
color(barva_spodni_kryt) |
46 |
translate([0,0,-vyska_bocnice/2-2*tloustka_plbase]) |
42 |
translate([0,0,-vyska_bocnice/2-2*tloustka_plbase]) |
47 |
spodni_kryt(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
43 |
spodni_kryt(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
48 |
|
44 |
|
49 |
|
45 |
|
50 |
|
46 |
|
51 |
|
47 |
|
52 |
|
48 |
|