compute-rhino3d-0.9.0
توضیحات
Python client library for compute.rhino3d web service
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | compute-rhino3d-0.9.0 |
| نام | compute-rhino3d |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert McNeel & Associates |
| ایمیل نویسنده | steve@mcneel.com |
| آدرس صفحه اصلی | https://github.com/mcneel/compute.rhino3d |
| آدرس اینترنتی | https://pypi.org/project/compute-rhino3d/ |
| مجوز | - |
# compute_rhino3d
Python package providing convenience functions to call compute.rhino3d.com
geometry web services
Project Hompage: https://github.com/mcneel/compute.rhino3d
### Supported platforms
* This is a pure python package and should work on all versions of python
## Test
* start `python`
```
>>> from rhino3dm import *
>>> import compute_rhino3d.Util
>>> import compute_rhino3d.Mesh
>>>
>>> compute_rhino3d.Util.authToken = AUTH_TOKEN_FROM (rhino3d.com/compute/login)
>>> center = Point3d(250, 250, 0)
>>> sphere = Sphere(center, 100)
>>> brep = sphere.ToBrep()
>>> meshes = compute_rhino3d.Mesh.CreateFromBrep(brep)
>>> print("Computed mesh with {} faces".format(len(meshes[0].Faces))
```
نحوه نصب
نصب پکیج whl compute-rhino3d-0.9.0:
pip install compute-rhino3d-0.9.0.whl
نصب پکیج tar.gz compute-rhino3d-0.9.0:
pip install compute-rhino3d-0.9.0.tar.gz