Update utils.py (intarsion not working)

Added default values to "style" and "mitrelimit" in "silhoueteoffset" (as it was already stated in the description). With the default values missing, Intarsion was not working anymore
pull/276/head
OpenSource CNC 2024-12-13 09:43:59 +02:00 zatwierdzone przez GitHub
rodzic b79e000a46
commit 07154abc9f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1165,7 +1165,7 @@ def curveToShapely(cob, use_modifiers=False):
# FIXME: same algorithms as the cutout strategy, because that is hierarchy-respecting.
def silhoueteOffset(context, offset, style, mitrelimit):
def silhoueteOffset(context, offset, style = 1, mitrelimit = 1.0):
"""Offset the silhouette of a curve or font object in Blender.
This function takes an active curve or font object in Blender and