Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前有一个使用freecad API 的python 脚本来读取一个步骤文件并将一些数据发送到一个带有xlwings 的excel 文件(体积、尺寸等)。我还想添加 STEP 文件的视图。有没有办法使用 python 从步骤文件中获取图像?
我在 freeCAD 文档中看到你可以使用这样的东西:
FreeCADGui.ActiveDocument.ActiveView.saveImage(filePath)
但我没有运行 GUI,所以这个选项目前对我不起作用。