Created
March 27, 2016 21:19
-
-
Save anonymous/a44b56a033cb990eba4c to your computer and use it in GitHub Desktop.
These are the OpenSCAD files used to create a ZMR250 quadcopter battery cage.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=100; | |
module pole() { | |
difference() { | |
cylinder(r=4.7, h=17.4); | |
translate([0,0,-1]) { | |
cylinder(r=2.7, h=19.4); | |
} | |
} | |
} | |
difference() { | |
pole(); | |
translate([17,0,0]){ | |
difference() { | |
translate([0,0,-1]){ | |
cylinder(r=19.75, h=19.4); | |
} | |
translate([-23,0,-2]){ | |
cube([60,60,60]); | |
} | |
} | |
} | |
} | |
translate([34,0,0]){ | |
pole(); | |
}; | |
translate([17,0,0]){ | |
difference() { | |
cylinder(r=21.65, h=17.4); | |
translate([0,0,-1]){ | |
cylinder(r=19.75, h=19.4); | |
} | |
translate([-23,0,-2]){ | |
cube([60,60,60]); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=100; | |
module pole() { | |
difference() { | |
cylinder(r=4.7, h=17.4); | |
translate([0,0,-1]) { | |
cylinder(r=2.7, h=19.4); | |
} | |
} | |
} | |
pole(); | |
translate([34,0,0]){ | |
pole(); | |
}; | |
translate([0,-4.7,0]) { | |
cube([34,2,17.4]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=100; | |
module pole() { | |
difference() { | |
cylinder(r=4.7, h=17.4); | |
translate([0,0,-1]) { | |
cylinder(r=2.7, h=19.4); | |
} | |
} | |
} | |
pole(); | |
translate([60,0,0]){ | |
pole(); | |
}; | |
translate([0,-4.7,0]) { | |
cube([60,2,17.4]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment