Skip to content

Instantly share code, notes, and snippets.

@lorf
Last active August 27, 2017 02:07
Show Gist options
  • Save lorf/0d04f0c3cae0158dcb140b2e69083c76 to your computer and use it in GitHub Desktop.
Save lorf/0d04f0c3cae0158dcb140b2e69083c76 to your computer and use it in GitHub Desktop.
Crown In ImplicitCAD
// Resolution
$res=0.5;
linear_extrude(height(xx,yy) = 10+cos(atan(yy/(xx+0.000001))*4)*(sqrt(xx*xx+yy*yy))/2, scale(h) = 1-h/100) {
difference() {
circle(10);
circle(7);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment