 | This Aalto logo is in violation of the visual design guidelines.Tap for more
(however much that is checked, or anybody cares...) Find a more official looking one here instead |
// AaltoBlock.scad - Basic usage of text() and linear_extrude()
// size of the letters
s=25;
// letters you want to type in a block go in ()
LetterBlock("A!");
// Module definition.
// size=30 defines an optional parameter with a default value.
module LetterBlock(letter, size=s) {
difference() {
translate([0,0,size/8]) cube([size,size,size/4], center=true);
translate([0,0,size/8]) {
// convexity or preview to deal with concave letters
linear_extrude(height=size, convexity=4)
text(letter,
size=size*22/30,
font="Bitstream Vera Sans",
halign="center",
valign="center");
}
}
}
Part of |
L3999 |
---|
Authors |
Joshua M. Pearce |
---|
Published |
2017 |
---|
License |
CC-BY-SA-4.0 |
---|
Affiliations |
Aalto University |
---|
Impact Number of views to this page and its redirects. Updated once a month. Views by admins and bots are not counted. Multiple views during the same session are counted as one. |
67 |
---|
Issues Automatically detected page issues. Click on them to find out more. They may take some minutes to disappear after you fix them. |
No main image |
---|
Cite as |
Joshua M. Pearce (2017). "Aaltoblock". Appropedia. Retrieved August 17, 2022. |
---|
Cookies help us deliver our services. By using our services, you agree to our use of cookies.