4357 |
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 |
|
|
|
18 |
|
|
|
19 |
|
|
|
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 |
//základní plbase bez nožiček s nadpisem |
|
|
41 |
|
|
|
42 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,10*vyska_bocnice/2]) |
|
|
43 |
rotate(a=[0,0,0]) |
|
|
44 |
{ |
|
|
45 |
|
|
|
46 |
plbase_bez_der_napis(pocet_der2+3,pocet_der1+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,box_jmeno,tloustka_bocnice); |
|
|
47 |
|
|
|
48 |
} |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|