// // Created by Patrick Bailey iQless.com // //////////////////////////////////////// base_thickness = 1; base_width = 215; base_height = 210; frame_window_width = 160; frame_window_height = 110; frame_window_offset = [base_width/2 - frame_window_width/2, base_height/2 - frame_window_height/2 + 30]; picture_Font="Revamped:style=Regular"; difference(){ back_matt(base_thickness, base_width, base_height); translate([0,0, -base_thickness]){ linear_extrude(3*base_thickness){ window_frame(base_thickness, frame_window_width, frame_window_height, frame_window_offset); words("Christmas",picture_Font, 18, [base_width/2,60]); words("2022",picture_Font, 18, [base_width/2,30]); } } } module words(word,sign_font, font_size, position){ translate([position[0], position[1]]){ text(word, size=font_size, valign= "center", halign="center", font=sign_font); } } module window_frame(base_thickness, frame_window_width, frame_window_height, frame_window_offset){ color("blue"){ translate([0,0,-base_thickness]){ translate(frame_window_offset){ square([frame_window_width, frame_window_height]); } } } } module back_matt(base_thickness, base_width, base_height){ color("red"){ linear_extrude(base_thickness){ square([base_width, base_height]); } } }