Last active
February 25, 2020 17:47
-
-
Save madhephaestus/2374524a0882601de95fc16e47dfd9e9 to your computer and use it in GitHub Desktop.
Slice a csg and fillet around the slice
This file contains hidden or 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
double rad =2 | |
def base = new Cube(20).toCSG() | |
.difference(new Cube(5,10,20).toCSG()) | |
.difference(new Cube(10,5,20).toCSG()) | |
.rotz(5) | |
.toZMin() | |
List<Polygon> polys = Slice.slice(base) | |
return [Fillet.outerFillet( base,(double)rad),polys] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment