/Modules/Mechanical/WINDGAUGE01A/CAD/assembly.scad
4,6 → 4,9
use <configuration/stator1.scad>
use <configuration/stator2.scad>
use <configuration/stator3.scad>
use <configuration/stator4.scad>
use <configuration/lopatky.scad>
use <configuration/kryt_rotoru.scad>
 
include <configuration.scad>
 
14,12 → 17,17
barva_rotor3 = "green";
barva_rotor4 = "yellow";
 
posunuti_dilu=10; //posunuti dilu od sebe
posunuti_dilu=0; //posunuti dilu od sebe
 
 
translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2])
kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu);
 
 
 
color(barva_rotor1)
 
translate([0,0,posunuti_dilu+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2])
translate([0,0,posunuti_dilu*3+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2])
rotor1(prumer_rotoru1,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,sila_materialu,sila_materialu_vule,hloubka_prekryti,hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu);
 
 
66,6 → 74,37
stator3(stator3_vyska,prumer_rotoru1,lozisko_vyska,sila_pod_loziskem,sila_materialu,vule1,stator3_sila_steny,stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu);
 
 
//stator4
 
translate([0,0,-posunuti_dilu*7-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska+vyska_stator4/2)])
rotate(a = [180, 0, 0])
stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer);
 
 
//lopatky
 
//lopatka 1
rotate(a = [0, 0, 90])
translate([sila_uchytu/2,-prumer_lopatky/2-delka_uchytu_lopatky-hloubka_uchytu-prumer_rotoru1/2+hloubka_uchytu,posunuti_dilu+vyska_rotoru2/2+vyska_uchytu/2])
 
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
//lopatka 2
rotate(a = [0, 0, 210])
translate([sila_uchytu/2,-prumer_lopatky/2-delka_uchytu_lopatky-hloubka_uchytu-prumer_rotoru1/2+hloubka_uchytu,posunuti_dilu+vyska_rotoru2/2+vyska_uchytu/2])
 
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
//lopatka 3
rotate(a = [0, 0, 330])
translate([sila_uchytu/2,-prumer_lopatky/2-delka_uchytu_lopatky-hloubka_uchytu-prumer_rotoru1/2+hloubka_uchytu,posunuti_dilu+vyska_rotoru2/2+vyska_uchytu/2])
 
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
 
 
 
 
//SLOUPKY
//------------------------------------------------------------
//sloupek 1
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/kryt_rotoru.scad
0,0 → 1,37
$fn=40; // model faces resolution.
//include <../configuration.scad>
 
 
module kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu)
{
//kopule
difference()
{
sphere(d = prumer_rotoru1, $fn=100);
sphere(d = prumer_rotoru1-2*sila_materialu, $fn=100);
translate([0,0,-prumer_rotoru1/2])
cube(size = [prumer_rotoru1, prumer_rotoru1, prumer_rotoru1], center = true);
}
//dno krytu
difference()
{
//zakladni valec
translate([0,0,sila_materialu/2])
cylinder (h = sila_materialu, r=prumer_rotoru1/2, center = true, $fn=100);
//odstraněni casti valce
translate([prumer_rotoru1/2+prumer_sroubu*2,0,sila_materialu/2])
cube(size = [prumer_rotoru1, prumer_rotoru1, sila_materialu+1], center = true);
//otvor na sroub
translate([0,0,sila_materialu/2])
cylinder (h = sila_materialu+0.1, r=prumer_sroubu/2, center = true, $fn=100);
}
}
 
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/lopatky.scad
0,0 → 1,84
$fn=40; // model faces resolution.
//include <../configuration.scad>
 
 
 
 
module lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu)
{
union()
{
//prechod lopatka drzak
difference()
{
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/4,0])
cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true);
sphere(d = prumer_lopatky, $fn=100);
}
difference()
{
//lopatka
sphere(d = prumer_lopatky, $fn=100);
sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100);
translate([0,-prumer_lopatky/2,-prumer_lopatky/2])
cube(size = prumer_lopatky);
}
//uchyt_lopatky - tycka
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/2+delka_uchytu_lopatky/2,0])
cube([hrana_uchytu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky],center=true);
//uchyt lopatky cast v rotoru
translate([-sila_uchytu/2,prumer_lopatky/2+delka_uchytu_lopatky+hloubka_uchytu/2,0])
difference()
{
cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true);
//otvor pro sroub
translate([0,0,0])
cylinder(h=vyska_uchytu+1, r=prumer_sroubu, center=true, $fn=100);
//zaobleni
translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0])
difference()
{
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100);
cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100);
}
}
//vyrovnávací úsek mezi úchytem v rotoru a úchytem loplatky (tyčkou)
translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0])
difference()
{
translate([-hrana_uchytu_lopatky/2,0,0])
cube([hrana_uchytu_lopatky,10,hrana_uchytu_lopatky],center=true);
translate([-sila_uchytu,+prumer_rotoru1/2-5/2,0])
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2, center=true, $fn=100);
}
}
}
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/stator4.scad
0,0 → 1,50
$fn=40; // model faces resolution.
//include <../configuration.scad>
 
 
 
//stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer);
 
module stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer)
{
difference()
{
//translate([90,0,0])
cube(size = [roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu,roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu, vyska_stator4], center = true);
//díry pro uchycení anemometru
translate([roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
//dira na kabel
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
//díry pro matky
translate([roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
}
}
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration.scad
53,6 → 53,10
sila_uchytu=12;
vyska_uchytu=10;
tolerance_uchytu=0.1;
delka_uchytu_lopatky=20;
hrana_uchytu_lopatky=4;
prumer_lopatky=40;
sila_materialu_lopatky=2;
 
//parametry uchytu senzoru
roztec_der=10.16;
90,4 → 94,12
 
//uchyt pro anemometr
uchyt_prumer_sroubu=3.2;
roztec_sroubu=10.16;
roztec_sroubu=20;
 
//stator 4
vyska_stator4=5;
uchyt_vyska_matky=3;
uchyt_prumer_orechu=10;
 
//parametr kabelu
kabel_prumer=10;
/Modules/Mechanical/WINDGAUGE01A/CAD/stator4.scad
0,0 → 1,50
$fn=40; // model faces resolution.
//include <../configuration.scad>
 
 
 
//stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu);
 
module stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer)
{
difference()
{
//translate([90,0,0])
cube(size = [roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu,roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu, vyska_stator4], center = true);
//díry pro uchycení anemometru
translate([roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
//dira na kabel
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
//díry pro matky
translate([roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
}
}