Skip to content

Instantly share code, notes, and snippets.

@figital
Created April 1, 2015 17:41
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 figital/b3e8ebcdabb6f2750221 to your computer and use it in GitHub Desktop.
Save figital/b3e8ebcdabb6f2750221 to your computer and use it in GitHub Desktop.
OpenSCAD Spur Module
// spur(number, radius, length, width, height);
module spur(n,r,l,w,h) {
for(i=[0:n])
rotate([0,0,i*360/n])
translate([r,0,0])
cube([l,w,h]);
}
// spur(12,50,20,3,5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment