This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
moestuinbordjes_garden_tags [2021/11/10 08:21] – created jolien | moestuinbordjes_garden_tags [2021/11/10 12:51] – jolien | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Garden tags===== | + | ======Garden tags====== |
My mom always keeps the plastic tags that comes with the plants and puts them in her garden. Her birthday came up, so I made here these nice wooden garden signs. | My mom always keeps the plastic tags that comes with the plants and puts them in her garden. Her birthday came up, so I made here these nice wooden garden signs. | ||
Line 5: | Line 5: | ||
They were made in openSCAD, which means if you follow the steps here, you can easily make them yourselves with custom names. | They were made in openSCAD, which means if you follow the steps here, you can easily make them yourselves with custom names. | ||
- | ====How to make garden tags==== | + | =====How to make garden tags===== |
+ | * If you don't have openSCAD yet, download it here: https:// | ||
+ | * You'll also need a library on thingyverse: | ||
+ | * Open openSCAD and copy this code: | ||
+ | < | ||
+ | use < | ||
+ | |||
+ | //Adjust text below | ||
+ | tekst = [" | ||
+ | //Adjust font below | ||
+ | font = " | ||
+ | //Adjust height with size | ||
+ | size = 15; | ||
+ | spalk=size/ | ||
+ | |||
+ | //Adjust total lenght and triangle length below | ||
+ | breedtetotaal= 210; | ||
+ | breedtedriehoek=70; | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | //The functions and modules (make a single tag) | ||
+ | function Capitalise (string) = | ||
+ | chr([for (c = string) if (ord(c)> | ||
+ | |||
+ | |||
+ | module Tagify (inputt) { | ||
+ | plantnaam= Capitalise(inputt); | ||
+ | |||
+ | w = measureText(plantnaam, | ||
+ | breedtemidstuk= breedtetotaal-breedtedriehoek-w; | ||
+ | translate([w, | ||
+ | translate([(-w/ | ||
+ | drawText(plantnaam, | ||
+ | |||
+ | |||
+ | translate([(-w*0.995), | ||
+ | square([(w*0.995)+breedtemidstuk, | ||
+ | |||
+ | |||
+ | square([breedtemidstuk, | ||
+ | polygon([[breedtemidstuk, | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | // The for loop (makes multiple tags) | ||
+ | for (i = [0: | ||
+ | | ||
+ | Tagify (tekst[i]); | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | * You can adjust the text. The code will automatically capitalise the text. | ||
+ | * You can also adjust the font, but only standard issue fonts are available. | ||
+ | * Run (F5) and render (F6) to get your vector file | ||
+ | * Export as .dxf and you're ready to load it in the laser! | ||
+ | |||