1 |
use <src/UNIBOX03A_D01.scad> |
1 |
use <src/UNIBOX03A_D01.scad> |
2 |
use <src/otvory.scad> |
2 |
use <src/otvory.scad> |
3 |
|
3 |
|
4 |
include <configuration.scad> |
4 |
include <configuration.scad> |
5 |
include <src/otvory_conf.scad> |
5 |
include <src/otvory_conf.scad> |
6 |
|
6 |
|
7 |
|
7 |
|
8 |
barva_sloupku = "cyan"; |
8 |
barva_sloupku = "cyan"; |
9 |
barva_listy = "red"; |
9 |
barva_listy = "red"; |
10 |
barva_celicka = "green"; |
10 |
barva_celicka = "green"; |
11 |
barva_plbase = "yellow"; |
11 |
barva_plbase = "yellow"; |
12 |
|
12 |
|
13 |
//Předni čeličko |
13 |
//Předni čeličko |
14 |
//------------------------------------------------------------ |
14 |
//------------------------------------------------------------ |
15 |
|
15 |
|
16 |
vzdalenost_AL=4; //vzdalenost od hrany čelíčka k vrchní hraně ALbase |
16 |
vzdalenost_AL=9; //vzdalenost od hrany čelíčka k vrchní hraně ALbase |
17 |
|
17 |
|
18 |
difference() { |
18 |
difference() { |
19 |
color(barva_sloupku) |
19 |
color(barva_sloupku) |
20 |
translate([0,0,0]) |
20 |
translate([0,0,0]) |
21 |
UNIBOX03A_D01(); |
21 |
UNIBOX03A_D01(); |
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
posun_modulu_der_x=10; |
25 |
posun_modulu_der_x=10; |
26 |
rotate(a=[-90,0,0]) |
26 |
rotate(a=[-90,0,0]) |
27 |
translate([posun_modulu_der_x*roztec_der-roztec_der*(pocet_der_osa_x-1)/2,0,-rozmer_y/2+vzdalenost_AL]) |
27 |
translate([posun_modulu_der_x*roztec_der-roztec_der*(pocet_der_osa_x-1)/2,0,-rozmer_y/2+vzdalenost_AL]) |
28 |
VLFANT01B(2*sila,roztec_der); |
28 |
VLFANT01B(2*sila,roztec_der); |
29 |
|
29 |
|
30 |
posun_modulu_der_x1=0; |
30 |
posun_modulu_der_x1=0; |
31 |
rotate(a=[-90,0,0]) |
31 |
rotate(a=[-90,0,0]) |
32 |
translate([posun_modulu_der_x1*roztec_der-roztec_der*(pocet_der_osa_x-1)/2,0,-rozmer_y/2+vzdalenost_AL]) |
32 |
translate([posun_modulu_der_x1*roztec_der-roztec_der*(pocet_der_osa_x-1)/2,0,-rozmer_y/2+vzdalenost_AL]) |
33 |
|
33 |
|
34 |
UNIPOWER02A(2*sila,roztec_der); |
34 |
UNIPOWER02A(2*sila,roztec_der); |
35 |
|
35 |
|
36 |
|
36 |
|
37 |
posun_modulu_der_x2=4; |
37 |
posun_modulu_der_x2=4; |
38 |
rotate(a=[-90,0,0]) |
38 |
rotate(a=[-90,0,0]) |
39 |
translate([posun_modulu_der_x2*roztec_der-roztec_der*(pocet_der_osa_x-1)/2,0,-rozmer_y/2+vzdalenost_AL]) |
39 |
translate([posun_modulu_der_x2*roztec_der-roztec_der*(pocet_der_osa_x-1)/2,0,-rozmer_y/2+vzdalenost_AL]) |
40 |
C1(2*sila,roztec_der); |
40 |
C1(2*sila,roztec_der); |
41 |
|
41 |
|
42 |
} |
42 |
} |