"""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)})