4246 |
jacho |
1 |
use <configuration/celicko.scad> |
|
|
2 |
use <configuration/sloupek.scad> |
|
|
3 |
use <configuration/lista.scad> |
|
|
4 |
use <configuration/otvory.scad> |
|
|
5 |
|
|
|
6 |
include <configuration.scad> |
|
|
7 |
include <configuration/manufactury_conf.scad> |
|
|
8 |
include <configuration/otvory_conf.scad> |
|
|
9 |
|
|
|
10 |
//Slouzi pro vytvoreni vlastnich celicek dle potreby |
|
|
11 |
|
|
|
12 |
//Vytvoreni predniho celicka krabicky |
|
|
13 |
//-------------------------------------------------------- |
|
|
14 |
module celicko_predni() |
|
|
15 |
{ |
|
|
16 |
translate([0,0,0]) |
|
|
17 |
difference() { |
|
|
18 |
union() { |
|
|
19 |
|
|
|
20 |
celicko (vyska,zapust,vule_vysky_celicka,pocet_der2+2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy,vzdalenost_der_x,vzdalenost_der_y,prumer_otvoru,prumer_sloupku,ramecek_x,ramecek_y,ramecek_vyska); |
|
|
21 |
|
|
|
22 |
otvor_LCD2_16_sloupky(vyska,zapust,vule_vysky_celicka,pocet_der2+2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy,vzdalenost_der_x,vzdalenost_der_y,prumer_otvoru,prumer_sloupku,ramecek_x,ramecek_y,ramecek_vyska); |
|
|
23 |
} |
|
|
24 |
|
|
|
25 |
otvor_LCD2_16_diry(vyska,zapust,vule_vysky_celicka,pocet_der2+2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy,vzdalenost_der_x,vzdalenost_der_y,prumer_otvoru,prumer_sloupku,ramecek_x,ramecek_y,ramecek_vyska); |
|
|
26 |
|
|
|
27 |
} |
|
|
28 |
|
|
|
29 |
} |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
barva_predni = "cyan"; |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
//Zobrazeni vzhledu navrhovanych celicek |
|
|
36 |
color(barva_predni) |
|
|
37 |
translate([0,-50,0]) |
|
|
38 |
celicko_predni(); |
|
|
39 |
|