Dependencies mistake

pull/234/head
palain 2023-03-24 11:22:01 -03:00
rodzic bbf77969d7
commit debbf31a1d
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -37,7 +37,7 @@ try:
except ImportError:
# pip install required python stuff
subprocess.check_call([sys.executable, "-m", "ensurepip"])
subprocess.check_call([sys.executable, "-m", "pip", "install", "shapely","equation","opencamlib"])
subprocess.check_call([sys.executable, "-m", "pip", "install", "shapely","Equation","opencamlib"])
from bpy.app.handlers import persistent

Wyświetl plik

@ -242,7 +242,8 @@ def arc(radius, thick, angle, diameter, tolerance, amount=0, stem=1, twist=False
fingers(diameter, tolerance, amount, stem=stem)
twistf('receptacle', thick, diameter, tolerance, twist, tneck, tthick, twist_keep=twist_keep)
twistf('testing', thick, diameter, tolerance, twist, tneck, tthick, twist_keep=twist_keep)
print("generating arc")
# generate arc
bpy.ops.curve.simple(align='WORLD', location=(0, 0, 0), rotation=(0, 0, 0), Simple_Type='Segment',
Simple_a=radius - thick / 2,