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