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 (将#修改为@)