Jump to content

Aaltoblock

From Appropedia

This Aalto logo is in violation of the visual design guidelines (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");
 									 }
 					 }
 }
Page data
Part of L3999
SDG
Authors
License CC-BY-SA-3.0
Organizations Aalto University
Language English (en)
Related 0 subpages, 5 pages link here
Views 83 page views (analytics)
Created September 25, 2017 by Joshua M. Pearce
Last edit November 27, 2025 by Maintenance script
Cookies help us deliver our services. By using our services, you agree to our use of cookies.