Update cq.py

Add the option to specify a path to the font.
This commit is contained in:
cactrot
2020-09-21 12:40:36 -04:00
committed by GitHub
parent 1e16111056
commit 7ede22146e

View File

@ -3536,6 +3536,7 @@ class Workplane(object):
combine: bool = False,
clean: bool = True,
font: str = "Arial",
fontPath: Optional[str] = None,
kind: Literal["regular", "bold", "italic"] = "regular",
halign: Literal["center", "left", "right"] = "center",
valign: Literal["center", "top", "bottom"] = "center",
@ -3571,6 +3572,7 @@ class Workplane(object):
fontsize,
distance,
font=font,
fontPath=fontPath,
kind=kind,
halign=halign,
valign=valign,