4331 |
jacho |
1 |
use <configuration/celicko.scad> |
|
|
2 |
use <configuration/sloupek.scad> |
|
|
3 |
use <configuration/lista.scad> |
|
|
4 |
use <configuration/plbase.scad> |
|
|
5 |
use <configuration/bocnice.scad> |
|
|
6 |
use <uravena_celicka.scad> |
|
|
7 |
use <configuration/otvory.scad> |
|
|
8 |
use <configuration/text/Write.scad> |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
include <configuration/manufactury_conf.scad> |
|
|
12 |
include <configuration.scad> |
|
|
13 |
include <configuration/otvory_conf.scad> |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
barva_sloupku = "cyan"; |
|
|
17 |
barva_listy = "red"; |
|
|
18 |
barva_celicka = "green"; |
|
|
19 |
barva_plbase = "yellow"; |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
//BOCNICE |
|
|
26 |
//------------------------------------------------------------- |
|
|
27 |
bocnice(pocet_der1+2,pocet_der2+2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
//PLBASE SPODNI |
|
|
31 |
//------------------------------------------------------------- |
|
|
32 |
color(barva_plbase) |
|
|
33 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,-(vyska_bocnice/2)]) |
|
|
34 |
rotate(a=[180,0,90]) |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
plbase(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,tloustka_bocnice); |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
//PLBASE HORNI |
|
|
41 |
//------------------------------------------------------------- |
|
|
42 |
|
|
|
43 |
//základní plbase bez nožiček s nadpisem |
|
|
44 |
|
|
|
45 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,5*vyska_bocnice/2]) |
|
|
46 |
rotate(a=[0,0,0]) |
|
|
47 |
{ |
|
|
48 |
|
|
|
49 |
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); |
|
|
50 |
|
|
|
51 |
} |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
/* |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
//základní plbase bez nožiček |
|
|
66 |
|
|
|
67 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2,-vzdalenost_od_okraje,2* vyska]) |
|
|
68 |
rotate(a=[0,0,0]) |
|
|
69 |
{ |
|
|
70 |
|
|
|
71 |
plbase(pocet_der2+3,pocet_der1+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
|
|
72 |
translate([ 0, 0, 0]) |
|
|
73 |
rotate([0,0,0]) |
|
|
74 |
write(box_jmeno,h=5,t=2, space= 1.1, font = "Letters.dxf",center=true); |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
} |
|
|
78 |
//*/ |
|
|
79 |
//plbase se zapuštěním šroubů |
|
|
80 |
/* |
|
|
81 |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2,-vzdalenost_od_okraje,(vyska/2)]) |
|
|
82 |
rotate(a=[0,0,0]) |
|
|
83 |
|
|
|
84 |
plbase_zapustene_srouby(pocet_der2+3,pocet_der1+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_hlavy,prekryti_der,prumer_hlavy); |
|
|
85 |
*/ |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|