/Modules/Mechanical/Boxes/AWSBOX01A/CAD/SRC/AWSBOX01A_D01.scad |
---|
0,0 → 1,47 |
$fn=40; // model faces resolution. |
pocet_der1=5; |
pocet_der2=6; |
radidus_hrany=5; |
vzdalenost_der=10.16; |
vzdalenost_od_okraje=vzdalenost_der/2; |
prumer_sroubu=3.4; |
tloustka_plbase=2; |
prekryti_der=-2; |
plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der); |
module plbase(pocet_der1,pocet_der2,radidus_hrany,vzdalenost_der,vzdalenost_od_okraje,prumer_sroubu,tloustka_plbase,prekryti_der){ |
difference () { |
//union () { |
translate([radidus_hrany,radidus_hrany,0]) |
minkowski() |
{ |
cube([(pocet_der1-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,(pocet_der2-1)*vzdalenost_der+2*vzdalenost_od_okraje-2*radidus_hrany,tloustka_plbase]); // base plastics brick |
cylinder(r=radidus_hrany,h=0.1); |
} |
for (i = [0:1:pocet_der1-1]) { |
for (a = [0:1:pocet_der2-1]) { |
translate([vzdalenost_od_okraje+vzdalenost_der*i,vzdalenost_od_okraje+vzdalenost_der*a, (tloustka_plbase-prekryti_der)/2]) // center top screw |
cylinder(((tloustka_plbase-prekryti_der)), d=prumer_sroubu, center=true); |
} |
} |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje, (tloustka_plbase/2)]) // center top screw |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje, (tloustka_plbase/2)]) // center top screw |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
translate([vzdalenost_od_okraje+(pocet_der1-1)*vzdalenost_der,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase/2)]) // center top screw |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
translate([vzdalenost_od_okraje,vzdalenost_od_okraje+(pocet_der2-1)*vzdalenost_der, (tloustka_plbase/2)]) // center top screw |
cylinder(((tloustka_plbase+0.3)), d=prumer_sroubu, center=true); |
} |
} |
/Modules/Mechanical/Boxes/AWSBOX01A/CAD/assembly.scad |
---|
0,0 → 1,77 |
use <SRC/AWSCREEN01A_D01.scad> |
use <SRC/AWSCREEN01A_D02.scad> |
use <SRC/AWSCREEN01A_D03.scad> |
use <SRC/AWSCREEN01A_D04.scad> |
use <SRC/AWSCREEN01A_D05.scad> |
use <SRC/AWSCREEN01A_D06.scad> |
include <configuration.scad> |
barva_D02 = "cyan"; |
barva_D03 = "yellow"; |
barva_D04 = "green"; |
barva_D05 = "yellow"; |
barva_D06 = "cyan"; |
posunuti_dilu=0; //posunuti dilu od sebe |
difference() |
{ |
union() |
{ |
//AWSCREEN01A_D05 DRŽÁK |
//------------------------------------------------------------- |
//------------------------------------------------------------- |
color(barva_D05) |
translate([0,0,0]) |
AWSCREEN01A_D05(S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,D01_material_pod_zavitem,D01_material_za_zavitem,D01_material_pred_zavitem,D01_delka_tyce,D01_sirka_tyce,D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu,D03_tolerance_zavitu); |
//AWSCREEN01A_D06 DRŽÁK druhy dil |
//------------------------------------------------------------- |
//------------------------------------------------------------- |
color(barva_D06) |
translate([0,S01_prumer_zavitu/2+D01_material_pred_zavitem+D01_delka_tyce+D02_prumer_obruby/2+D02_sila_materialu+10,D02_vyska_uchytky/2]) |
rotate(a=[0,0,90]) |
AWSCREEN01A_D06(D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu); |
//AWSCREEN01A_D04 uchyt na senzor |
//------------------------------------------------------------- |
//------------------------------------------------------------- |
color(barva_D04) |
translate([0,0,-D04_sila_materialu_na_konektor-2*posunuti_dilu]) |
AWSCREEN01A_D04(); |
//AWSCREEN01A_D03 klasicky dil |
//------------------------------------------------------------- |
//------------------------------------------------------------- |
color(barva_D03) |
translate([0,0,D01_material_pod_zavitem+4*posunuti_dilu]) |
AWSCREEN01A_D03(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel); |
color(barva_D03) |
translate([0,0,D01_material_pod_zavitem+D03_vyska_stitu+5*posunuti_dilu]) |
AWSCREEN01A_D03(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel); |
//AWSCREEN01A_D02 zakoncovaci dil |
//------------------------------------------------------------- |
//------------------------------------------------------------- |
color(barva_D02) |
translate([0,0,D01_material_pod_zavitem+2*D03_vyska_stitu+6*posunuti_dilu]) |
AWSCREEN01A_D02(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel); |
} |
//prurez |
translate([-D03_polomer_stitu,-D03_polomer_stitu,0]) |
cube([D03_polomer_stitu*2,D03_polomer_stitu,3*D03_polomer_stitu],false); |
} |
/Modules/Mechanical/Boxes/AWSBOX01A/CAD/configuration.scad |
---|
0,0 → 1,54 |
$fn=40; // model faces resolution. |
//OBECNE PARAMETRY |
//---------------------------------------------------------------- |
//---------------------------------------------------------------- |
//AWSCREEN01A_D03 -stredni díl |
D03_vyska_zavitu=5; |
D03_tolerance_zavitu=0.75; //tolerance s poloměru |
D03_material_za_zavitem=2; |
D03_polomer_zavitu=22.5; |
D03_polomer_stitu=37.5; |
D03_tloustka_materialu=1.1; |
D03_vyska_stitu=15; |
D03_pocet_vyztuh=3; |
screen_bevel = 20; |
PI=3.141592; |
//AWSCREEN01A_D04 |
D04_sila_materialu_na_konektor=3; |
D04_konenektor_x=12.3; |
D04_konenektor_y=19; |
D04_konenektor_z=5; //vyska krytu |
D04_vyska_drzaku_senzoru=28; |
//AWSCREEN01A_D05 //uchyt velky |
D01_material_pod_zavitem=5; |
D01_material_za_zavitem=3; |
D01_material_pred_zavitem=2; |
D01_delka_tyce=40; |
D01_sirka_tyce=10; |
S01_vyska_komponentu_na_lozisko=D03_vyska_zavitu; |
S01_prumer_zavitu=2*D03_polomer_zavitu; |
//AWSCREEN01A_D06 //uchyt na sloup |
D02_sila_materialu=4; |
D02_vyska_uchytky=40; |
D02_prumer_obruby=27; //3/4 trubka |
D02_delka_celeho_uchytu=70; |
D02_dotahova_vzdalenost=1.5; |
D02_prumer_uchytneho_sroubu=6.2; |
D02_sirka_matky=9.2; //pro M4 |
D02_vyska_matky=3; |