Skip to content

Instantly share code, notes, and snippets.

@sej7278
Created October 12, 2017 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sej7278/40ca7b6e94de7842458f544aeadc6ad4 to your computer and use it in GitHub Desktop.
Save sej7278/40ca7b6e94de7842458f544aeadc6ad4 to your computer and use it in GitHub Desktop.
diff
4a5,8
> text5 = "IN";
> text6 = "A";
> text7 = "MEETING";
> text8 = "";
8a13,17
> font_size5 = 5; // [1:6]
> font_size6 = 5; // [1:6]
> font_size7 = 5; // [1:6]
> font_size8 = 5; // [1:6]
>
17a27,30
> font_style5 = "Liberation Sans:style=Bold";
> font_style6 = "Liberation Sans:style=Bold";
> font_style7 = "Liberation Sans:style=Bold";
> font_style8 = "Liberation Sans:style=Bold";
32c45
< translate([16,20,5]) raisedText();
---
> translate([16,20,5]) raisedTextMale();
42c55
< translate([16,20,5]) raisedText();
---
> translate([16,20,5]) raisedTextFemale();
66c79
< module raisedText()
---
> module raisedTextMale()
75a89,100
>
> module raisedTextFemale()
> {
> rotate([0,0,90]) linear_extrude(height=2)
> {
> text(text=text5, font=font_style5, halign="center", valign="center", size=font_size5);
> translate([0,-12,0]) text(text=text6, font=font_style6, halign="center", valign="center", size=font_size6);
> translate([0,-24,0]) text(text=text7, font=font_style7, halign="center", valign="center", size=font_size7);
> translate([0,-36,0]) text(text=text8, font=font_style8, halign="center", valign="center", size=font_size8);
> }
> }
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment