建立方向盘项目初始版本
This commit is contained in:
10
scripts/rebuild_conversion_disk.FCMacro
Normal file
10
scripts/rebuild_conversion_disk.FCMacro
Normal file
@@ -0,0 +1,10 @@
|
||||
"""Run in FreeCAD GUI to rebuild conversion_disk_parametric.FCStd.
|
||||
|
||||
The .py file and this macro must stay together in the project's scripts folder;
|
||||
models/转换盘1.step must exist. This overwrites the generated FCStd file.
|
||||
"""
|
||||
from pathlib import Path
|
||||
|
||||
script = Path(__file__).resolve().with_name('build_conversion_disk.py')
|
||||
exec(compile(script.read_text(encoding='utf-8'), str(script), 'exec'),
|
||||
{'__name__': '__main__', '__file__': str(script)})
|
||||
Reference in New Issue
Block a user