Skip to content

Instantly share code, notes, and snippets.

@hugs
Last active May 9, 2017 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugs/225125a3e68c56bfc6441b1b23d89af1 to your computer and use it in GitHub Desktop.
Save hugs/225125a3e68c56bfc6441b1b23d89af1 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Copyright 2017 Jason R. Huggins
// License: MIT
BEARING_DIAMETER = 16.15;
MARGIN = 6;
ARM_LENGTH = 30;
module arm() {
difference() {
union() {
cylinder(h=5, d=BEARING_DIAMETER + MARGIN, $fn=30);
translate([0, -(BEARING_DIAMETER + MARGIN)/2, 0])
cube([ARM_LENGTH, BEARING_DIAMETER + MARGIN, 5]);
translate([ARM_LENGTH, 0, 0])
cylinder(h=5, d=BEARING_DIAMETER + MARGIN, $fn=30);
}
translate([0,0,-5])
cylinder(h=15, d=BEARING_DIAMETER, $fn=30);
translate([ARM_LENGTH,0,-5])
cylinder(h=15, d=BEARING_DIAMETER, $fn=30);
}
}
union() {
arm();
rotate(120)
arm();
rotate(240)
arm();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment