Skip to content

Instantly share code, notes, and snippets.

@hugs
Last active June 27, 2017 02:42
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/ffa3e5259031f6eb551c02530b36fedf to your computer and use it in GitHub Desktop.
Save hugs/ffa3e5259031f6eb551c02530b36fedf to your computer and use it in GitHub Desktop.
Parametric Clown Shoe! Why? Because Clown Shoe!
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
module clown_shoe(ankle_height = 50,
heel_height = 10,
heel_width = 30,
toe_width = 80,
toe_distance = 100) {
// Upper
cylinder(d=heel_width,h=ankle_height);
hull() {
// Heel
cylinder(d=heel_width,h=heel_height);
// Toe
translate([toe_distance,0,0])
cylinder(d=toe_width,h=heel_height);
// Toe Box
// (Hard-coded values. Sorry?)
translate([toe_distance,0,-15])
difference() {
sphere(d = 100);
translate([-50,-50,-70])
cube([100,100,100]);
}
}
}
clown_shoe();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment