Skip to content

Instantly share code, notes, and snippets.

@michalbe
Created December 10, 2014 00:12
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 michalbe/08392adf262463a7ed59 to your computer and use it in GitHub Desktop.
Save michalbe/08392adf262463a7ed59 to your computer and use it in GitHub Desktop.
// title: OpenJSCAD.org Logo
// author: Rene K. Mueller
// license: Creative Commons CC BY
// URL: http://openjscad.org/#examples/logo.jscad
// revision: 0.003
// tags: Logo,Intersection,Sphere,Cube
function main() {
var l = vector_text(0,0,"JELONKI");
var o = [];
l.forEach(function(pl) {
o.push(rectangular_extrude(pl, {w: 7, h: 15}));
});
var napis = union(o).translate([0, 0, 5]);
var blok = cube({size: [13, 3, 2]}).scale(10).translate([-5, -5, 0]);
return difference(blok, napis);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment