Skip to main content

Python client library for compute.rhino3d web service

Project description

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))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compute_rhino3d-0.12.2.tar.gz (61.7 kB view details)

Uploaded Source

File details

Details for the file compute_rhino3d-0.12.2.tar.gz.

File metadata

  • Download URL: compute_rhino3d-0.12.2.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.8

File hashes

Hashes for compute_rhino3d-0.12.2.tar.gz
Algorithm Hash digest
SHA256 73cab6d5564ffc260aac27c99f6d10d1cdac99b7015022ff824b84d0eeeeb753
MD5 ac6447d9c85d58481b53a678c0bbf620
BLAKE2b-256 00df82db5c1385d46c0e066f299364462b4ef6195e225e5f9aec54487e454392

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page