From 25b59077deda7e4166dc6f7125e530e475d73f7a Mon Sep 17 00:00:00 2001 From: maride Date: Mon, 27 Nov 2017 02:09:59 +0100 Subject: [PATCH] Add 'a', 'r', 'i', 'd', 'e'. --- Logo_maride.scad | 77 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 2 deletions(-) diff --git a/Logo_maride.scad b/Logo_maride.scad index 26d4f9f..4d0b29a 100644 --- a/Logo_maride.scad +++ b/Logo_maride.scad @@ -1,9 +1,15 @@ -LETTER_WIDTH=10; +LETTER_WIDTH=8; LETTER_HEIGHT=30; +LETTER_HEIGHT_12=LETTER_HEIGHT/2; LETTER_HEIGHT_13=LETTER_HEIGHT/3; LETTER_HEIGHT_23=LETTER_HEIGHT*2/3; -LETTER_HEIGHT_12=LETTER_HEIGHT/2; +LETTER_HEIGHT_14=LETTER_HEIGHT/4; +LETTER_HEIGHT_34=LETTER_HEIGHT*3/4; +LETTER_HEIGHT_15=LETTER_HEIGHT/5; +LETTER_HEIGHT_25=LETTER_HEIGHT*2/5; +LETTER_HEIGHT_35=LETTER_HEIGHT*3/5; +LETTER_HEIGHT_45=LETTER_HEIGHT*4/5; // m polygon(points=[[0,LETTER_HEIGHT_23], [0, LETTER_HEIGHT_13], [LETTER_WIDTH, LETTER_HEIGHT_23], [LETTER_WIDTH, LETTER_HEIGHT]]); @@ -18,3 +24,70 @@ translate([LETTER_WIDTH*2.5, 0]) square([LETTER_WIDTH, LETTER_HEIGHT]); translate([LETTER_WIDTH*4, 0]) square([LETTER_WIDTH, LETTER_HEIGHT]); + +// a +translate([LETTER_WIDTH*6, 0]) { + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + translate([0, LETTER_HEIGHT_25]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + translate([0, LETTER_HEIGHT_45]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + square([LETTER_WIDTH, LETTER_HEIGHT_35]); + translate([LETTER_WIDTH*2, 0]) + square([LETTER_WIDTH, LETTER_HEIGHT]); +} + +// r +translate([LETTER_WIDTH*10, 0]) { + translate([0, LETTER_HEIGHT_25]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + translate([0, LETTER_HEIGHT_45]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + square([LETTER_WIDTH, LETTER_HEIGHT]); + translate([LETTER_WIDTH*2, LETTER_HEIGHT_25]) + square([LETTER_WIDTH, LETTER_HEIGHT_35]); + + polygon(points=[ + [LETTER_WIDTH, LETTER_HEIGHT_13], + [LETTER_WIDTH, LETTER_HEIGHT_12], + [LETTER_WIDTH*1.5, LETTER_HEIGHT_12], + [LETTER_WIDTH*3, LETTER_HEIGHT_15], + [LETTER_WIDTH*3, 0], + [LETTER_WIDTH*2.5, 0] + ]); +} + +// i +translate([LETTER_WIDTH*14, 0]) { + square([LETTER_WIDTH, LETTER_HEIGHT]); +} + + +// a +translate([LETTER_WIDTH*16, 0]) { + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + translate([0, LETTER_HEIGHT_25]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + square([LETTER_WIDTH, LETTER_HEIGHT_35]); + translate([LETTER_WIDTH*2, 0]) + square([LETTER_WIDTH, LETTER_HEIGHT]); +} + +// e +translate([LETTER_WIDTH*20, 0]) { + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + translate([0, LETTER_HEIGHT_25]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + translate([0, LETTER_HEIGHT_45]) + square([LETTER_WIDTH*3, LETTER_HEIGHT_15]); + + square([LETTER_WIDTH, LETTER_HEIGHT]); + translate([LETTER_WIDTH*2, LETTER_HEIGHT_25]) + square([LETTER_WIDTH, LETTER_HEIGHT_35]); +} \ No newline at end of file