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/conditional_and_iterator_functions/intersectionForLoopEx1.jscad

1 line
761 B
JavaScript

function main(){return CSG.sphere({center: [0,0,0], radius: 12, resolution: 30}).translate([5,0,0]).rotateX(0).rotateY(0).rotateZ(60).intersect([CSG.sphere({center: [0,0,0], radius: 12, resolution: 30}).translate([5,0,0]).rotateX(0).rotateY(0).rotateZ(120)]).intersect([CSG.sphere({center: [0,0,0], radius: 12, resolution: 30}).translate([5,0,0]).rotateX(0).rotateY(0).rotateZ(180)]).intersect([CSG.sphere({center: [0,0,0], radius: 12, resolution: 30}).translate([5,0,0]).rotateX(0).rotateY(0).rotateZ(240)]).intersect([CSG.sphere({center: [0,0,0], radius: 12, resolution: 30}).translate([5,0,0]).rotateX(0).rotateY(0).rotateZ(300)]).intersect([CSG.sphere({center: [0,0,0], radius: 12, resolution: 30}).translate([5,0,0]).rotateX(0).rotateY(0).rotateZ(360)]);};