Parametrická klíčenka / přívěsek v OpenSCADu se dvěma řádky textu, ouškem s dírkou a vystouplým vnitřním rámečkem.
Součástí je i zdrojový .scad soubor – stačí upravit pár proměnných vyrenderovat a exportovat STL.
Jak upravit text
-
txt_line1 – 1. řádek
-
txt_line2 – 2. řádek
-
font_name, font_size – font a velikost (font musí být nainstalovaný v systému)
-
line_spacing – rozestup řádků
-
text_shift_x_2 – posun 2. řádku vlevo/vpravo (snadné „vycentrování“ podle délky textu)
Rozměry a vzhled
-
offset_size – síla obrysu/okraje kolem textu (velikost těla klíčenky)
-
body_thick – tloušťka základny
-
text_height – výška vystouplého textu + rámečku
-
border_width – šířka vnitřního rámečku (jde dovnitř)
Dírka a ouško
-
hole_radius – poloměr dírky
-
ear_offset_x, ear_offset_y – poloha ouška
Tisk (doporučení)
-
PLA/PETG, běžné nastavení (např. 0,2 mm)
-
Chceš “dvoubarevný” efekt? Vyměň filament ve výšce body_thick (tam začíná text a rámeček).
-
Zapnutý Ironing nejvrchnější vrstvy
Export STL
OpenSCAD: F6 (Render) → File → Export → Export as STL
EN
Parametric OpenSCAD keychain / tag with 2-line text, a hole tab, and a raised inner frame.
The original .scad source is included – edit a few variables and export STL.
Edit the text
-
txt_line1 – line 1
-
txt_line2 – line 2
-
font_name, font_size – font & size (font must be installed)
-
line_spacing – line spacing
-
text_shift_x_2 – horizontal shift of line 2 (easy visual centering)
Size & look
-
offset_size – outline thickness around the shape (overall body size)
-
body_thick – base thickness
-
text_height – height of raised text + frame
-
border_width – inner frame thickness (inwards)
Hole tab
-
hole_radius – hole radius
-
ear_offset_x, ear_offset_y – tab position
Printing tips
-
PLA/PETG, standard profile (e.g. 0.2 mm)
-
Simple 2-color trick: swap filament at body_thick (that’s where raised parts start).
-
Top layer ironing on
STL export
OpenSCAD: F6 (Render) → File → Export → Export as STL
Etiquetas
Fuente del modelo
