mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 15:20:37 -08:00
make_text: Fuse glyphs with multiple overlapping faces
This commit is contained in:
parent
f245ac5a48
commit
194fc374a9
1 changed files with 3 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue