make_text: Fuse glyphs with multiple overlapping faces

This commit is contained in:
Jonathan Wagenet 2025-04-10 22:59:28 -04:00
parent f245ac5a48
commit 194fc374a9

View file

@ -379,6 +379,9 @@ class Compound(Mixin3D, Shape[TopoDS_Compound]):
)
)
# Fuse glyphs with multiple overlapping faces
text_flat = Compound(Face.fuse(*text_flat.faces()))
# Align the text from the bounding box
align_text = tuplify(align, 2)
text_flat = text_flat.translate(