Před odevzdáním úlohy přes GitHub je třeba projevit souhlas se zpracováním osobních údajů.
- Vaším úkolem je přihlásit se k úkolu pomocí tohoto linku: https://classroom.github.com/a/R3BhTLwg
- Kompletní řešení 1 úlohy (1 bod)
- Úloha nesplňuje zadání (0 bodů)
- Úloha nesplňuje dodaný interface (0 bodů)
- Maximální bodový zisk je 3 body, čili když uděláte více jak 3 úlohy spravně děláte to pouze pro váš dobrý pocit.
Nepoužívejte operátor ^
. Kontrola probíhá starší verzí OpenSCADu. Můžete použít funkci pow
.
- Úloha musí být napsána jako modul (jinak 0 bodů)
- Úloha nereaguje vůbec nebo reaguje nesprávně na parametr (-1/(počet parametrů úlohy) bodu)
- Tentokrát se ujistěte, že máte modely orientované a napozicované stejně, jako testy, aby mohla být vizuální kontrola přesnější. Můžete si na pomoc vzít STL soubory.
STL soubor | Obrázek |
---|---|
Arm | ![]() |
Batman | ![]() |
Disc | ![]() |
Helix | ![]() |
Mask | ![]() |
Snowman | ![]() |
Whistle | ![]() |
distance() arm();
Student | Reference |
---|---|
Similarity score: 0.9600207100235263
distance() arm(height=20, offset=10, number_holes=4, hole_radius=2, thick=2);
Student | Reference |
---|---|
Similarity score: 0.9509241468815477
distance(0.4) translate([50, -50, 50]) wheel();
$fn=20;
Student | Reference |
---|---|
Similarity score: 0.8879827001780332
distance(0.8) translate([15, -15, 15]) wheel(radius=25,height=5,r_hole=1,reduce_offset=1.75,reduce_num=6);
$fn=20;
Student | Reference |
---|---|
Similarity score: 0.8961577895354784
distance(0.8) translate([30, -30, 30]) wheel(radius=10,height=10,r_hole=0,reduce_offset=5,reduce_num=3);
$fn=20;
Student | Reference |
---|---|
Similarity score: 0.9639876472323983
distance(0.5) translate([-30, 0, 0]) batman();
Student | Reference |
---|---|
Similarity score: 0.879238323652946
distance(0.5) batman(
x=70,
y=100,
z=5,
thick=7
);
Student | Reference |
---|---|
Similarity score: 0.9277314097333825
distance(0.1) sideView() for(b=[0:4])
translate([b*100-100,0,0]) snowman(balls=b);
Student | Reference |
---|---|
Similarity score: 0.9226590154252609
distance(0.2) sideView() snowman(r=25, factor=1, overlap=0);
Student | Reference |
---|---|
Similarity score: 0.9608065674829648
distance(0.2) sideView() snowman(r=25, factor=0.5, overlap=0.5);
Student | Reference |
---|---|
Similarity score: 0.9862668145308523
distance() whistle();
Student | Reference |
---|---|
Similarity score: 0.9144380787551549
topView() {
difference() {
whistle();
translate([-50, -25, 10]) cube([100, 50, 20]);
}
}
Student | Reference |
---|---|
Similarity score: 0.9018984182790376
translate([20, 0, 0]) distance(0.5) rotate([0, 0, 180]) whistle(radius=20,height=10,r_handle=2,thickness=2,beak_length=60,beak_thick=4,hole_width=1);
Student | Reference |
---|---|
Similarity score: 0.9591173539601038
distance(0.5) helix();
$fn=20;
Student | Reference |
---|---|
Similarity score: 0.972888482607625
distance() helix(d=10,o=0.5,h=25,s=72,db=11,hb=0.25);
$fn=20;
Student | Reference |
---|---|
Similarity score: 0.9526434576915117
distance() helix(d=10,o=4,h=25,s=4,db=18,hb=2);
$fn=20;
Student | Reference |
---|---|
Similarity score: 0.9355733284267496
distance(0.4) translate([20, 0, 0]) mask();
Student | Reference |
---|---|
Similarity score: 0.9332758382627029
distance(0.25) translate([40, 0, 0]) mask(
eye_offset=80,
wall=5,
eye_radius=20,
outer_radius=40,
nose1=40,
nose2=20,
nose_length=100
);
Student | Reference |
---|---|
Similarity score: 0.9125760752533941