use <configuration/celicko.scad>
use <configuration/sloupek.scad>
use <configuration/lista.scad>
include <configuration.scad>
include <configuration/manufactury_conf.scad>
//Slouzi pro vytvoreni vlastnich celicek dle potreby
//Vytvoreni predniho celicka krabicky
//--------------------------------------------------------
module celicko_predni()
{
translate([0,0,0])
difference() {
celicko (vyska,zapust,vule_vysky_celicka,pocet_der2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy);
translate([20,0,0])
cube(size = [10,10,30], center = true);
}
}
//Vytvoreni zadniho celicka krabicky
//--------------------------------------------------------
module celicko_zadni()
{
translate([0,0,0])
difference() {
celicko (vyska,zapust,vule_vysky_celicka,pocet_der2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy);
translate([20,0,0])
cube(size = [10,10,30], center = true);
}
}
//Vytvoreni leveho celicka krabicky
//--------------------------------------------------------
module celicko_leve()
{
translate([0,0,0])
difference() {
celicko (vyska,zapust,vule_vysky_celicka,pocet_der1,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy);
translate([20,0,0])
cube(size = [10,10,30], center = true);
}
}
//Vytvoreni praveho celicka krabicky
//--------------------------------------------------------
module celicko_prave()
{
translate([0,0,0])
difference() {
celicko (vyska,zapust,vule_vysky_celicka,pocet_der1,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky,vyska_listy);
translate([20,0,0])
cube(size = [10,10,30], center = true);
}
}
barva_predni = "cyan";
barva_zadni = "red";
barva_leve = "green";
barva_prave = "yellow";
//Zobrazeni vzhledu navrhovanych celicek
color(barva_predni)
translate([0,-50,0])
celicko_predni();
color(barva_zadni)
translate([0,50,0])
rotate(a=[0,0,180])
celicko_zadni();
color(barva_leve)
translate([-60,0,0])
rotate(a=[0,0,270])
celicko_leve();
color(barva_prave)
translate([60,0,0])
rotate(a=[0,0,90])
celicko_prave();