This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/papercraft/openjscad/node_modules/@jscad/openscad-openjscad-translator/tests/examples/example003.jscad

8 lines
503 B
Plaintext
Raw Normal View History

function main(){
return CSG.cube({center: [0,0,0],radius: [15,15,15], resolution: 16}).union([CSG.cube({center: [0,0,0],radius: [20,7.5,7.5], resolution: 16}),
CSG.cube({center: [0,0,0],radius: [7.5,20,7.5], resolution: 16}),
CSG.cube({center: [0,0,0],radius: [7.5,7.5,20], resolution: 16})]).subtract([CSG.cube({center: [0,0,0],radius: [25,5,5], resolution: 16}).union([CSG.cube({center: [0,0,0],radius: [5,25,5], resolution: 16}),
CSG.cube({center: [0,0,0],radius: [5,5,25], resolution: 16})])]);
};