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