在 Streamlit Web 应用程序中嵌入参数化 CAD 绘图
我需要开发一个包含参数化 CAD 绘图的 Web 应用程序。用户应该能够更改随后在绘图中更新的对象的尺寸。然后,应用程序应该计算更新对象的体积以进行其他计算,基本上是计算给定密度值的质量。
Streamlit 是 Web 应用程序的一个有前途的选择,我使用 FreeCAD 构建了我的对象。 应该可以将 FreeCAD 嵌入到独立的 python 应用程序中,但显然不可能将其嵌入到 Web 应用程序中。
你知道我可以使用任何 python 模块来在用户、对象和算法的其余部分之间进行交互吗?
I need to develop a web-app which contains parametric CAD drawings. The user should be able to change the dimensions of the object that is then updated in the drawing. The app should then calculate the volume of the updated object for other calculations, basically to calculate the mass given a density value.
A promising option for the web-app would be Streamlit and I built my objects using FreeCAD.
It should be possible to embed FreeCAD in a stand-alone python app, but apparently it is not possible to have it in a web-app.
Do you know any python module I could use to have this interaction between the user, the object and the remaining part of the algorithm?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论