Thingiverse
Open Source Hardware logo module for OpenSCAD
3
Downloads
6
Likes
0
Makes
My first module for scad.
Usage :
* oshw_logo(h, w, res=4); // display line oshw logo
* oshw_fill_logo(h); // display fill oshw logo
* oshw_text(h); // display oshw text on 2 lines
where :
* h = object height, example 5
* w = line width, example 1.0
* res = cylinder face number object in line drawing (default 4)
Logo size is 10 by 10 centered on X and Y axis. Height start from 0 to h value along Z axis
svg icon converted to scad with inkscape plugin: http://www.thingiverse.com/thing:1065500
OSWH logo license : CC By SA Macklin Chaffee, revised by Mateo Zlatar
Creative Commons Attribution-ShareAlike 4.0 International License
On linux, copy this file in ~/.local/share/OpenSCAD/libraries
Example :
`include `
`height = 5;`
`width = 2.0;`
`//color([1,0,0]) oshw_logo(height, width);`
`color([1,0,0]) oshw_fill_logo(height);`
`color([1,0,0]) oshw_text(height);`
`translate([0,0,2]) cube([11,11,4],center=true);`
Usage :
* oshw_logo(h, w, res=4); // display line oshw logo
* oshw_fill_logo(h); // display fill oshw logo
* oshw_text(h); // display oshw text on 2 lines
where :
* h = object height, example 5
* w = line width, example 1.0
* res = cylinder face number object in line drawing (default 4)
Logo size is 10 by 10 centered on X and Y axis. Height start from 0 to h value along Z axis
svg icon converted to scad with inkscape plugin: http://www.thingiverse.com/thing:1065500
OSWH logo license : CC By SA Macklin Chaffee, revised by Mateo Zlatar
Creative Commons Attribution-ShareAlike 4.0 International License
On linux, copy this file in ~/.local/share/OpenSCAD/libraries
Example :
`include `
`height = 5;`
`width = 2.0;`
`//color([1,0,0]) oshw_logo(height, width);`
`color([1,0,0]) oshw_fill_logo(height);`
`color([1,0,0]) oshw_text(height);`
`translate([0,0,2]) cube([11,11,4],center=true);`
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!