4331 |
jacho |
1 |
use <configuration/sloupek.scad> |
|
|
2 |
use <configuration/plbase.scad> |
|
|
3 |
use <configuration/bocnice.scad> |
|
|
4 |
use <configuration/otvory.scad> |
|
|
5 |
use <configuration/text/Write.scad> |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
include <configuration/manufactury_conf.scad> |
|
|
9 |
include <configuration.scad> |
|
|
10 |
include <configuration/otvory_conf.scad> |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
barva_sloupku = "cyan"; |
|
|
14 |
barva_listy = "red"; |
|
|
15 |
barva_celicka = "green"; |
|
|
16 |
barva_plbase = "yellow"; |
|
|
17 |
|
4564 |
jacho |
18 |
//translate([0.5*10.16,-5.08,14]) |
|
|
19 |
// cube([10.16,10.16,10.16]); |
4331 |
jacho |
20 |
|
|
|
21 |
|
|
|
22 |
//BOCNICE |
|
|
23 |
//------------------------------------------------------------- |
|
|
24 |
bocnice(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
//PLBASE SPODNI |
|
|
28 |
//------------------------------------------------------------- |
|
|
29 |
color(barva_plbase) |
|
|
30 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,-(vyska_bocnice/2)]) |
|
|
31 |
rotate(a=[180,0,90]) |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
plbase(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,tloustka_bocnice); |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
//PLBASE HORNI |
|
|
38 |
//------------------------------------------------------------- |
|
|
39 |
|
|
|
40 |
|
4564 |
jacho |
41 |
|
|
|
42 |
translate([plbase_tolerance_horni/2,+plbase_tolerance_horni/2,vyska_bocnice/2-tloustka_plbase/2]) |
4331 |
jacho |
43 |
rotate(a=[0,0,0]) |
|
|
44 |
{ |
|
|
45 |
|
4564 |
jacho |
46 |
|
|
|
47 |
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); |
|
|
48 |
|
4331 |
jacho |
49 |
|
|
|
50 |
} |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|