use <../src/plbase.scad>
include <../src/manufactury_conf.scad>
include <../configuration.scad>
include <../src/otvory_conf.scad>
use <../src/otvory.scad>
difference()  {
 translate([0,0,tloustka_plbase/2])
rotate(a=[0,0,0])
    {
        plbase_vrchni_kryt_pro_odecet(pocet_der1-1,pocet_der2-1,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje1,vzdalenost_od_okraje2,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice,plbase_tolerance_horni,tloustka_plbase);
     }
translate([-3.5,50,1])    
   rotate(a=[-90,0,0])     
   IR(tloustka_plbase,vyska_bocnice);      
}