Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2016 21:19
Show Gist options
  • Save anonymous/a44b56a033cb990eba4c to your computer and use it in GitHub Desktop.
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.
$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]);
}
}
}
$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]);
}
$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