Created
February 15, 2019 19:44
-
-
Save thehans/22a86bc85a83e23200d1baab90326804 to your computer and use it in GitHub Desktop.
remove z=0 from surface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#surface.dat | |
10 9 8 7 6 5 5 5 5 5 | |
9 8 7 6 6 4 3 2 1 0 | |
8 7 6 6 4 3 2 1 0 0 | |
7 6 6 4 3 2 1 0 0 0 | |
6 6 4 3 2 1 1 0 0 0 | |
6 6 3 2 1 1 1 0 0 0 | |
6 6 2 1 1 1 1 0 0 0 | |
6 6 1 0 0 0 0 0 0 0 | |
3 1 0 0 0 0 0 0 0 0 | |
3 0 0 0 0 0 0 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//surface.scad | |
difference() { | |
surface(file = "surface.dat", center = true, convexity = 5); | |
translate([0,0,-5])cube([10,10,10], center =true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment