Porównaj commity

...

3 Commity

Autor SHA1 Wiadomość Data
Alain Pelletier 2cea4b694a
Merge pull request #234 from pppalain/master
dependencies fix
2023-03-24 11:28:58 -03:00
palain e389ff00fc Merge remote-tracking branch 'origin/master' 2023-03-24 11:22:10 -03:00
palain debbf31a1d Dependencies mistake 2023-03-24 11:22:01 -03:00
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,