Skip to content

Instantly share code, notes, and snippets.

@ksmithdev
Created May 29, 2023 20:16
Show Gist options
  • Save ksmithdev/cb0b5be9f90b11bc93a6a7ae86dcc8e0 to your computer and use it in GitHub Desktop.
Save ksmithdev/cb0b5be9f90b11bc93a6a7ae86dcc8e0 to your computer and use it in GitHub Desktop.
Used to generate an STL coin face
layer_height = 0.2;
model_height = 1;
union() {
for (i=[0:layer_height:model_height]) {
translate([0,0,i])
linear_extrude(layer_height)
offset(-i*0.6)
resize([10,10,layer_height])
import("Symbol.svg", center = true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment