在 Streamlit Web 应用程序中嵌入参数化 CAD 绘图

发布于 2025-01-13 14:02:35 字数 268 浏览 2 评论 0原文

我需要开发一个包含参数化 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文