Uit Hack42
Ga naar: navigatie, zoeken
Regel 10: Regel 10:
 
== Plan ==
 
== Plan ==
 
[[Image:AfdakBouwen.png]]
 
[[Image:AfdakBouwen.png]]
 +
 +
== Openscad code ==
 +
 +
<pre>
 +
module schoor() {
 +
 +
    difference() {
 +
        color("orange") cube([50,5,7.5]);
 +
        rotate([0,-45,0]) cube([10,10,10]);
 +
        translate([50-7.7,0,7.7]) rotate([0,45,0]) cube([10,10,10]);
 +
    }
 +
};
 +
module dak() {
 +
    translate([0,11,0])color("red") cube([10,298,10]);
 +
    translate([295,11,0]) color("red") cube([10,298,10]);
 +
    translate([590,11,0]) color("red") cube([10,298,10]);
 +
    translate([1,0,0]) color("blue") cube([298,10,10]);
 +
    translate([301,0,0]) color("blue") cube([298,10,10]);
 +
    translate([1,310,0]) color("blue") cube([298,10,10]);
 +
    translate([301,310,0]) color("blue") cube([298,10,10]);
 +
    translate([11,160,2.5]) cube([283,5,7.5]);
 +
    translate([306,160,2.5]) cube([283,5,7.5]);
 +
    translate([11,47,0]) rotate([90,0,-45]) schoor();
 +
    translate([306,47,0]) rotate([90,0,-45]) schoor();
 +
    translate([300-42,11,0]) rotate([90,0,45]) schoor();
 +
    translate([600-42,11,0]) rotate([90,0,45]) schoor();
 +
    translate([11,300-26,5]) rotate([-90,0,45]) schoor();
 +
    translate([306,300-26,5]) rotate([-90,0,45]) schoor();
 +
    translate([300-43,300+8,5]) rotate([-90,0,-45]) schoor();
 +
    translate([600-43,300+8,5]) rotate([-90,0,-45]) schoor();
 +
 +
}
 +
 +
 +
 +
 +
translate([0,0,250]) rotate([11,0,0]) dak();
 +
 +
difference() {
 +
    cube([12,12,256]);
 +
    translate([0,0,249]) rotate([11,0,0]) cube([15,15,12]);
 +
}
 +
 +
translate([295,0,0]) {
 +
    difference() {
 +
        cube([12,12,256]);
 +
        translate([0,0,249]) rotate([11,0,0]) cube([15,15,12]);
 +
    }
 +
}
 +
 +
translate([590,0,0]) {
 +
    difference() {
 +
        cube([12,12,256]);
 +
        translate([0,0,249]) rotate([11,0,0]) cube([15,15,12]);
 +
    }
 +
}
 +
 +
translate([0,302.34,0]) {
 +
    difference() {
 +
        cube([12,12,256+58.77]);
 +
        translate([0,0,249+58.77]) rotate([11,0,0]) cube([15,15,12]);
 +
    }
 +
}
 +
 +
translate([295,302.34,0]) {
 +
    difference() {
 +
        cube([12,12,256+58.77]);
 +
        translate([0,0,249+58.77]) rotate([11,0,0]) cube([15,15,12]);
 +
    }
 +
}
 +
 +
translate([590,302.34,0]) {
 +
    difference() {
 +
        cube([12,12,256+58.77]);
 +
        translate([0,0,249+58.77]) rotate([11,0,0]) cube([15,15,12]);
 +
    }
 +
}
 +
 +
 +
translate([14,0,250-36]) rotate([0,-45,0]) schoor();
 +
translate([295+14,0,250-36]) rotate([0,-45,0]) schoor();
 +
 +
translate([295-37,0,250-1]) rotate([0,45,0]) schoor();
 +
translate([590-37,0,250-1]) rotate([0,45,0]) schoor();
 +
 +
translate([14,302.34,250-36+58.77]) rotate([0,-45,0]) schoor();
 +
translate([295+14,302.34,250-36+58.77]) rotate([0,-45,0]) schoor();
 +
 +
translate([295-37,302.34,250-1+58.77]) rotate([0,45,0]) schoor();
 +
translate([590-37,302.34,250-1+58.77]) rotate([0,45,0]) schoor();
 +
 +
 +
translate([7.5,14,250-28]) rotate([0,-45,90]) schoor();
 +
translate([7.5,302.34-37,250+58.77-8]) rotate([0,45,90]) schoor();
 +
 +
translate([302.5,14,250-28]) rotate([0,-45,90]) schoor();
 +
translate([302.5,302.34-37,250+58.77-8]) rotate([0,45,90]) schoor();
 +
 +
translate([597.5,14,250-28]) rotate([0,-45,90]) schoor();
 +
translate([597.5,302.34-37,250+58.77-8]) rotate([0,45,90]) schoor();
 +
 +
</pre>

Versie van 30 jul 2024 08:57

Project: AfdakBouwen
Schroefje24.png
Schroefje24.png
Schroefje24.png
Schroefje24.png
NoProjectPicture.jpg

AfdakBouwen

Naam AfdakBouwen
Door BugBlue
Status Uitvoer
Madskillz Hout zagen, hameren, schroeven, duvelen
Doel / Omschrijving
Afdak bouwen
Alle Projecten - Project Toevoegen

Add your picture plz.

Er is hout voor een afdak. Er is een plan.

Plan

AfdakBouwen.png

Openscad code

 module schoor() {

    difference() {
        color("orange") cube([50,5,7.5]);
        rotate([0,-45,0]) cube([10,10,10]);
        translate([50-7.7,0,7.7]) rotate([0,45,0]) cube([10,10,10]);
    }
};
module dak() {
    translate([0,11,0])color("red") cube([10,298,10]);
    translate([295,11,0]) color("red") cube([10,298,10]);
    translate([590,11,0]) color("red") cube([10,298,10]);
    translate([1,0,0]) color("blue") cube([298,10,10]);
    translate([301,0,0]) color("blue") cube([298,10,10]);
    translate([1,310,0]) color("blue") cube([298,10,10]);
    translate([301,310,0]) color("blue") cube([298,10,10]);
    translate([11,160,2.5]) cube([283,5,7.5]);
    translate([306,160,2.5]) cube([283,5,7.5]);
    translate([11,47,0]) rotate([90,0,-45]) schoor();
    translate([306,47,0]) rotate([90,0,-45]) schoor();
    translate([300-42,11,0]) rotate([90,0,45]) schoor();
    translate([600-42,11,0]) rotate([90,0,45]) schoor();
    translate([11,300-26,5]) rotate([-90,0,45]) schoor();
    translate([306,300-26,5]) rotate([-90,0,45]) schoor();
    translate([300-43,300+8,5]) rotate([-90,0,-45]) schoor();
    translate([600-43,300+8,5]) rotate([-90,0,-45]) schoor();

}
 



translate([0,0,250]) rotate([11,0,0]) dak();

difference() {
    cube([12,12,256]);
    translate([0,0,249]) rotate([11,0,0]) cube([15,15,12]);
}

translate([295,0,0]) {
    difference() {
        cube([12,12,256]);
        translate([0,0,249]) rotate([11,0,0]) cube([15,15,12]);
    }
}

translate([590,0,0]) {
    difference() {
        cube([12,12,256]);
        translate([0,0,249]) rotate([11,0,0]) cube([15,15,12]);
    }
}

translate([0,302.34,0]) {
    difference() {
        cube([12,12,256+58.77]);
        translate([0,0,249+58.77]) rotate([11,0,0]) cube([15,15,12]);
    }
}

translate([295,302.34,0]) {
    difference() {
        cube([12,12,256+58.77]);
        translate([0,0,249+58.77]) rotate([11,0,0]) cube([15,15,12]);
    }
}

translate([590,302.34,0]) {
    difference() {
        cube([12,12,256+58.77]);
        translate([0,0,249+58.77]) rotate([11,0,0]) cube([15,15,12]);
    }
} 


translate([14,0,250-36]) rotate([0,-45,0]) schoor();
translate([295+14,0,250-36]) rotate([0,-45,0]) schoor();

translate([295-37,0,250-1]) rotate([0,45,0]) schoor();
translate([590-37,0,250-1]) rotate([0,45,0]) schoor();

translate([14,302.34,250-36+58.77]) rotate([0,-45,0]) schoor();
translate([295+14,302.34,250-36+58.77]) rotate([0,-45,0]) schoor();

translate([295-37,302.34,250-1+58.77]) rotate([0,45,0]) schoor();
translate([590-37,302.34,250-1+58.77]) rotate([0,45,0]) schoor();


translate([7.5,14,250-28]) rotate([0,-45,90]) schoor();
translate([7.5,302.34-37,250+58.77-8]) rotate([0,45,90]) schoor();

translate([302.5,14,250-28]) rotate([0,-45,90]) schoor();
translate([302.5,302.34-37,250+58.77-8]) rotate([0,45,90]) schoor();

translate([597.5,14,250-28]) rotate([0,-45,90]) schoor();
translate([597.5,302.34-37,250+58.77-8]) rotate([0,45,90]) schoor();