Skip to content

Instantly share code, notes, and snippets.

@iamwilhelm
Created February 7, 2012 22:19
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 iamwilhelm/1762530 to your computer and use it in GitHub Desktop.
Save iamwilhelm/1762530 to your computer and use it in GitHub Desktop.
module bishop_head(head_ratio, neck_radius) {
translate([0, 0, neck_radius])
difference() {
// the bishop head with a dollop on top
union() {
teardrop(head_ratio, neck_radius)
translate([0, 0, -neck_radius / 3]) sphere(neck_radius / 3);
}
// the bishop slot
rotate(a = -45, v=[0, 1, 0])
translate([neck_radius / 4, -neck_radius, 0])
cube([neck_radius * 2, neck_radius * 2, neck_radius / 4]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment