function main(){ return tout().scale(3,3,3).rotateX(90); } function tout() { return cube({size: [1.3,3,1.8]}). union (cube({size: [1.3,3,1.8]}).translate([2,0,0])). union (cube({size: [1.3,3,4]}).translate([1,0,1.8])). union (cube({size: [2.6,3,2.6]}).translate([0.4,0,5.8])). subtract (cube({size: [0.5,0.5,0.5]}).translate([0.2,0.5,7.2])). subtract (cube({size: [0.5,0.5,0.5]}).translate([0.2,2,7.2])). subtract (cube({size: [0.5,2,0.5]}).translate([0.2,0.5,6.2])); }