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
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
.venv/
|
||||
|
||||
nametags/
|
||||
stls/
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user