include ; include ; //TODO: Ajout de variables supplémentaires pour éviter de devoir déplacer manuellement l'intersection //TODO: Transformer la partie block par doblo, sinon la bibliothèque ne pourra pas être paramètrique omme prévu blockWidth = 4; blockLength = 4; blockHeight = 20; nibblesWidth = 4; nibblesLength = 4; // col row up width length height difference() { block (col=0, row=0, up=0, width=blockWidth, length=blockLength, height=blockHeight, nibbles_on_off=false, diamonds_on_off=false, scale=LUGO); block (col=0.25, row=0.25, up=1.5, width=3.5, length=3.5, height=20, nibbles_on_off=false, diamonds_on_off=false, scale=LUGO); } rotate([0,-90,0]) nibbles (col=0, row=0, up=((blockWidth)*5+1)*-1, width=nibblesLength, length=nibblesWidth, scale=LUGO, extra =false, filled=false, hscale=1); intersection() { rotate([0,90,0]) nibbles_bottom (col=(blockLength+1)*-1, row=-1, up=THIRD*-1, width=nibblesLength+2, length=nibblesWidth+2, height=THIRD, scale=LUGO); rotate([0,90,0]) block (col=(blockLength)*-1, row=0, up=THIRD*-1, width=nibblesLength, length=nibblesWidth, height=THIRD, nibbles_on_off=false, scale=LUGO); }