微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

python中的几何库

如何解决python中的几何库

我正在尝试使用 python 进行一些几何修改。该脚本应部署在云端的 Linux 服务器上。

我已经在基于 Rhinocerous3D 的 Windows 机器上有了一个工作原型,我在那里使用它的 RestAPI 以及 Grasshopper 组件来计算解决方案。

有人可以推荐一个能够计算以下几何函数的python库吗:

rg.Line()-> Create a Line
GetLength()-> Line length
rg.Line.ToNurbsCurve()-> transform a line to a nurbs curve
PointAtLength()-> create a point on a cure at a defined length
rg.LineCurve()-> transform a line to a curve
rg.Curve.DivideByLength()-> divide a curve by its length

rg.Plane()-> create planes
rg.Transform.PlanetoPlane()-> transform planes
rs.SurfaceArea()-> retrieve the area of a surface
Brep.Edges-> retrieve edges of breps

rg.Intersect.Intersection.CurveBrep()-> Boolean if curve and Brep intersects 
rg.Intersect.Intersection.CurveCurve()-> Point when curve intersects
rs.PointCloudClosestPoints()->define the nearest point in a point cloud

非常感谢

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。