include ; include ; include ; /* The DD play: Tel-fix top piece @author Perrier Stéphanie, Le Coultre Régis, Borgognon Nathalie @date 15 dec. 2015 @licence CC BY-NC-SA 4.0 */ // base and dots faces difference() { doblo (col=$TV_DOBLO_WIDTH, row=0, up=$BASE_DOBLO_HEIGHT, width=$TELFIX_DOBLO_DIMENSION, length=$TELFIX_DOBLO_DIMENSION, height=$TELFIX_DOBLO_HEIGHT, nibbles_on_off=false, diamonds_on_off=false, scale=LUGO); // 6 dots dice face rotate([-90,0,0]) { dotsFactory(topLeftDot=true, topRightDot=true, middleLeftDot=true, middleCenterDot=false, middleRightDot=true, bottomLeftDot=true, bottomRightDot=true); } // 5 dots dice face translate([$BASE_DIMENSION, 0, 0]) { rotate([-90,0,-90]) { dotsFactory(topLeftDot=true, topRightDot=true, middleLeftDot=false, middleCenterDot=true, middleRightDot=false, bottomLeftDot=true, bottomRightDot=true); } } // 4 dots dice face translate([0, 0, 1.6* ($BASE_DOBLO_HEIGHT + $TV_DOBLO_HEIGHT)]) { dotsFactory(topLeftDot=true, topRightDot=true, middleLeftDot=false, middleCenterDot=false, middleRightDot=false, bottomLeftDot=true, bottomRightDot=true); } }