4593 |
jacho |
1 |
use <src/sloupek.scad> |
|
|
2 |
use <src/plbase.scad> |
|
|
3 |
use <src/bocnice.scad> |
4726 |
jacho |
4 |
use <src/dno.scad> |
4593 |
jacho |
5 |
use <src/spodni_kryt.scad> |
|
|
6 |
use <src/otvory.scad> |
|
|
7 |
use <src/text/Write.scad> |
4590 |
jacho |
8 |
use <upravena_bocnice.scad> |
|
|
9 |
|
4593 |
jacho |
10 |
include <src/manufactury_conf.scad> |
4590 |
jacho |
11 |
include <configuration.scad> |
4593 |
jacho |
12 |
include <src/otvory_conf.scad> |
4590 |
jacho |
13 |
|
|
|
14 |
|
4593 |
jacho |
15 |
barva_dno_bocnice = "cyan"; |
|
|
16 |
barva_spodni_kryt = "green"; |
|
|
17 |
barva_plbase_horni = "yellow"; |
4590 |
jacho |
18 |
|
4726 |
jacho |
19 |
posuv_dilu=0; //pro složeni krabičky zadat 0 pro rozebrání zdat 10 |
4590 |
jacho |
20 |
|
|
|
21 |
//BOCNICE SE DNEM |
|
|
22 |
//------------------------------------------------------------- |
|
|
23 |
|
|
|
24 |
|
4593 |
jacho |
25 |
color(barva_dno_bocnice) |
|
|
26 |
upravena_bocnice(); |
4590 |
jacho |
27 |
|
|
|
28 |
//PLBASE HORNI |
|
|
29 |
//------------------------------------------------------------- |
4593 |
jacho |
30 |
translate([0,0,5*posuv_dilu]) |
|
|
31 |
color(barva_plbase_horni) |
|
|
32 |
translate([0,0,vyska_bocnice/2-tloustka_plbase/2]) |
|
|
33 |
rotate(a=[0,0,0]) |
|
|
34 |
{ |
4590 |
jacho |
35 |
|
4593 |
jacho |
36 |
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,plbase_tolerance_horni,tloustka_plbase); |
4590 |
jacho |
37 |
} |
|
|
38 |
|
4593 |
jacho |
39 |
//SPODNÍ KRYT |
|
|
40 |
//------------------------------------------------------------- |
4726 |
jacho |
41 |
/* |
4593 |
jacho |
42 |
translate([0,0,-5*posuv_dilu]) |
|
|
43 |
color(barva_spodni_kryt) |
|
|
44 |
translate([0,0,-vyska_bocnice/2-2*tloustka_plbase]) |
|
|
45 |
spodni_kryt(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
4590 |
jacho |
46 |
|
4726 |
jacho |
47 |
*/ |
4590 |
jacho |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
4726 |
jacho |
52 |
translate([0,0,-5*posuv_dilu]) |
|
|
53 |
color(barva_spodni_kryt) |
|
|
54 |
translate([0,0,-tloustka_plbase-dno_sila_materialu]) |
|
|
55 |
dno(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
4590 |
jacho |
56 |
|
|
|
57 |
|
4726 |
jacho |
58 |
|