From e62fa8869fc634fc977f593c9a573e82180f8a1a Mon Sep 17 00:00:00 2001 From: Unfunny Date: Sat, 11 Apr 2026 13:01:05 -0400 Subject: [PATCH] Add text inset for better adhesion - Increase text thickness to 2.3mm (base 2.0mm + 0.3mm inset compensation) - Adjust text Z offset to 2.7mm to inset text into background - Total height remains at 5mm - Update README to reflect new text thickness --- .gitignore | 3 ++- convert_nametags.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index def4cc9..d864857 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .venv/ - +nametags/ +stls/ \ No newline at end of file diff --git a/convert_nametags.py b/convert_nametags.py index 7e52ed5..d2f181a 100644 --- a/convert_nametags.py +++ b/convert_nametags.py @@ -205,6 +205,8 @@ def create_extrusion(paths, height, z_offset=0.0, scale=1.0): else: mesh = trimesh.util.concatenate(meshes) + + mesh.apply_translation([0, 0, z_offset]) return mesh except Exception as e: