/Modules/Mechanical/Boxes/BASEBOX02A/CAD/assembly.scad |
---|
1,6 → 1,7 |
use <configuration/sloupek.scad> |
use <configuration/plbase.scad> |
use <configuration/bocnice.scad> |
use <uravena_celicka.scad> |
use <configuration/otvory.scad> |
use <configuration/text/Write.scad> |
39,11 → 40,11 |
//základní plbase bez nožiček s nadpisem |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,10*vyska_bocnice/2]) |
translate([-((pocet_der2+2)*vzdalenost_der+2*vzdalenost_od_okraje)/2-tloustka_bocnice,-vzdalenost_od_okraje-tloustka_bocnice,vyska_bocnice/2]) |
rotate(a=[0,0,0]) |
{ |
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); |
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); |
} |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/configuration/plbase.scad |
---|
159,7 → 159,7 |
} |
//PLBASE ZAKLADNI - bez der s napisem produktu |
//------------------------------------------------------------ |
module plbase_bez_der_napis(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,box_jmeno,tloustka_bocnice){ |
module plbase_bez_der_napis(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,box_jmeno){ |
172,7 → 172,7 |
cylinder(r=radidus_hrany,h=0.1); |
} |
translate([radidus_hrany,radidus_hrany,0]) |
translate([ ((pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2+tloustka_bocnice, ((pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2+tloustka_bocnice, tloustka_plbase/2+1]) |
translate([ ((pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, ((pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, tloustka_plbase/2+1]) |
rotate([0,0,0]) |
write(box_jmeno,h=10,t=tloustka_plbase-1, space= 1.1, font = "Letters.dxf",center=true); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/configuration/bocnice.scad |
---|
81,8 → 81,8 |
} |
} |
bocnice(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,vyska_bocnice,prekryti_der,tloustka_bocnice); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/configuration/manufactury_conf.scad |
---|
1,7 → 1,7 |
$fn=20; // model faces resolution. |
//Sroub - podpěra pro tisk sloupku |
vyska_podpery=12; |
vyska_podpery=8; |
vyska_mat_pod_matici=3; |
//Sroub - parametry |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/configuration/sloupek.scad |
---|
100,13 → 100,13 |
translate([-tloustka_bocnice,-tloustka_bocnice,0]) |
difference () { |
translate([-2*vzdalenost_od_okraje,-2*vzdalenost_od_okraje,-vyska_bocnice/2]) |
translate([-2*vzdalenost_od_okraje,-2*vzdalenost_od_okraje,0]) |
minkowski() |
{ |
cube([(pocet_der1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice+4*vzdalenost_od_okraje,(pocet_der2)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany+2*tloustka_bocnice+4*vzdalenost_od_okraje,vyska_bocnice]); // base plastics brick |
cylinder(r=radidus_hrany,h=0.1); |
} |
translate([tloustka_bocnice,tloustka_bocnice,-vyska_bocnice/2-0.025]) |
translate([tloustka_bocnice,tloustka_bocnice,-0.025]) |
minkowski() |
{ |
cube([(pocet_der1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,(pocet_der2)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,vyska_bocnice+0.05]); // base plastics brick |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/configuration.scad |
---|
11,10 → 11,10 |
vzdalenost_od_okraje = 8.88; //vzdalenost stredu upevnovaci diry od kraje desky |
//mala hrana |
pocet_der1 = 0; //pocet der desky, ponížené o 3 |
pocet_der1 = 2; //pocet der desky, ponížené o 3 |
//velka hrana |
pocet_der2 = 4; //pocet der desky, ponížené o 3 |
pocet_der2 = 20; //pocet der desky, ponížené o 3 |
//*/ |
21,7 → 21,7 |
//OBECNE PARAMETRY KRABICKY |
//------------------------------------------------------------ |
//BOCNICE |
vyska_bocnice=30; |
vyska_bocnice=40; |
tloustka_bocnice=2; |
//PLBASE PARAMETRY |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX02A_PLBASE_top.scad |
---|
File deleted |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX02A.scad |
---|
File deleted |
\ No newline at end of file |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_PLBASE_bottom.scad |
---|
0,0 → 1,29 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../configuration/plbase.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
//plbase s nožičkama |
// plbase_s_nozickama(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy); |
//plbase s nožičkama - polovicni |
translate([-((pocet_der1+3-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,-vzdalenost_der/2-3/2*((pocet_der2+3-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, -1]) |
plbase_s_nozickama_polovicni(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy); |
/* |
//plbase - polovicni |
translate([-((pocet_der1+3-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,-vzdalenost_der/2-3/2*((pocet_der2+3-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, -1]) |
plbase_polovicni(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_PLBASE_top.scad |
---|
0,0 → 1,21 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../configuration/plbase.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
//klasicka |
//plbase(pocet_der2+3,pocet_der1+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
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); |
/* |
//polovicni pro tisk v malých tiskárnách |
translate([-((pocet_der1+3-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2,-vzdalenost_der/2-3/2*((pocet_der2+3-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany)/2, -1]) |
plbase_polovicni(pocet_der1+3,pocet_der2+3,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der,vyska_nozicky,vyska_hlavy,prumer_hlavy); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_plate1.scad |
---|
0,0 → 1,42 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
banister_color = "cyan"; |
slat_color = "red"; |
/* |
// box banisters |
color(banister_color) |
translate([(-(pocet_der2+2)*vzdalenost_der)/2,0,0]) |
rotate(a=[90,0,0]) |
sloupek (vyska,zapust1,vzdalenost_der,vzdalenost_od_okraje,vzdalenost_od_diry,radidus_hrany,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
*/ |
// box slats |
color(slat_color) |
translate([0,0,0]) |
rotate(a=[0,0,0]) |
lista (vzdalenost_der,pocet_der2,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
color(slat_color) |
translate([0,20,0]) |
rotate(a=[0,0,0]) |
lista (vzdalenost_der,pocet_der2,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
color(slat_color) |
translate([0,-20,0]) |
rotate(a=[0,0,0]) |
lista (vzdalenost_der,pocet_der2,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
color(slat_color) |
translate([0,-40,0]) |
rotate(a=[0,0,0]) |
lista (vzdalenost_der,pocet_der2,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_plate2.scad |
---|
0,0 → 1,38 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
banister_color = "cyan"; |
slat_color = "red"; |
/* |
// box banisters |
color(banister_color) |
translate([(-(pocet_der2+2)*vzdalenost_der)/2,0,0]) |
rotate(a=[90,0,0]) |
sloupek (vyska,zapust1,vzdalenost_der,vzdalenost_od_okraje,vzdalenost_od_diry,radidus_hrany,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
*/ |
// box slats |
color(slat_color) |
translate([0,0,0]) |
lista (vzdalenost_der,pocet_der1,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
color(slat_color) |
translate([0,20,0]) |
lista (vzdalenost_der,pocet_der1,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
color(slat_color) |
translate([0,-20,0]) |
lista (vzdalenost_der,pocet_der1,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
color(slat_color) |
translate([0,-40,0]) |
lista (vzdalenost_der,pocet_der1,vzdalenost_od_okraje,vzdalenost_od_diry,vzdalenost_1,vzdalenost_2, zapust,vyska_listy,tloustka_celicka,sirka_materialu,vyska_hlavy,prumer_hlavy,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_plate3.scad |
---|
0,0 → 1,29 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../configuration/plbase.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
barva_predni = "cyan"; |
barva_zadni = "red"; |
//celicko predni |
//-------------------------------------------------------------- |
translate([0,-(10+vyska),0]) |
color(barva_predni) |
rotate(a=[-90,0,0]) |
celicko_predni (vyska,zapust,vule_vysky_celicka,pocet_der2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky); |
//celicko zadni |
//-------------------------------------------------------------- |
translate([0,(10+vyska),0]) |
color(barva_zadni) |
rotate(a=[-90,0,180]) |
celicko_zadni (vyska,zapust,vule_vysky_celicka,pocet_der2,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_plate4.scad |
---|
0,0 → 1,31 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../configuration/plbase.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
barva_leve = "green"; |
barva_prave = "yellow"; |
//celicko prave |
//----------------------------------------------------------- |
color(barva_prave) |
translate([vyska+10,0,0]) |
rotate(a=[-90,0,90]) |
celicko_prave (vyska,zapust,vule_vysky_celicka,pocet_der1,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky); |
//*/ |
//celicko leve |
//----------------------------------------------------------- |
color(barva_leve) |
translate([-(vyska+10),0,0]) |
rotate(a=[-90,0,270]) |
celicko_leve (vyska,zapust,vule_vysky_celicka,pocet_der1,vzdalenost_der,vule_delky_celicka,tloustka_celicka,vule_tlousky); |
/Modules/Mechanical/Boxes/BASEBOX02A/CAD/print_data/BASEBOX01A_upright.scad |
---|
0,0 → 1,43 |
use <../configuration/celicko.scad> |
use <../configuration/sloupek.scad> |
use <../configuration/lista.scad> |
use <../configuration/plbase.scad> |
use <../uravena_celicka.scad> |
include <../configuration/manufactury_conf.scad> |
include <../configuration.scad> |
barva_sloupku = "green"; |
vzdalenost_mezi_sloupky=5; |
//SLOUPKY |
//------------------------------------------------------------ |
//sloupek 1 |
color(barva_sloupku) |
rotate(a=[90,0,0]) |
translate([-(2*(3/2*vzdalenost_der)+vzdalenost_od_okraje)-3/2*vzdalenost_mezi_sloupky,0,0]) |
translate([0,vzdalenost_od_okraje,0]) |
sloupek (vyska,zapust1,vzdalenost_der,vzdalenost_od_okraje,vzdalenost_od_diry,radidus_hrany,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu,logo_vyska,logo_sirka); |
//sloupek 2 |
color(barva_sloupku) |
rotate(a=[90,0,0]) |
translate([-3/2*vzdalenost_der-vzdalenost_mezi_sloupky/2,0,0]) |
translate([0,vzdalenost_od_okraje,0]) |
sloupek (vyska,zapust1,vzdalenost_der,vzdalenost_od_okraje,vzdalenost_od_diry,radidus_hrany,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu,logo_vyska,logo_sirka); |
//sloupek 3 |
color(barva_sloupku) |
rotate(a=[90,0,0]) |
translate([vzdalenost_od_okraje+vzdalenost_mezi_sloupky/2,0,0]) |
translate([0,vzdalenost_od_okraje,0]) |
sloupek (vyska,zapust1,vzdalenost_der,vzdalenost_od_okraje,vzdalenost_od_diry,radidus_hrany,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu,logo_vyska,logo_sirka); |
//sloupek 4 |
color(barva_sloupku) |
rotate(a=[90,0,0]) |
translate([2*vzdalenost_od_okraje+3/2*vzdalenost_mezi_sloupky+3/2*vzdalenost_der,0,0]) |
translate([0,vzdalenost_od_okraje,0]) |
sloupek (vyska,zapust1,vzdalenost_der,vzdalenost_od_okraje,vzdalenost_od_diry,radidus_hrany,prumer_sroubu,prumer_matice,vyska_matice,posuv_dorazu,matice_sila_materialu,logo_vyska,logo_sirka); |