Skip to main content

OpenNURBS based package with a RhinoCommon style

Project description

rhino3dm.py

CPython package based on OpenNURBS with a RhinoCommon style

Project Hompage at: https://github.com/mcneel/rhino3dm

Supported platforms

  • Python27 - Windows (32 and 64 bit)
  • Python37 - Windows (32 and 64 bit)
  • Python27 - OSX (installed through homebrew)
  • Python37 - OSX (installed through homebrew)
  • Other distributions are possible, just let us know where you need this package to run

Test

  • start python
>>> from rhino3dm import *
>>> import requests
>>> req = requests.get("https://files.mcneel.com/TEST/Rhino Logo.3dm")
>>> model = File3dm.FromByteArray(req.content)
>>> for i in range(len(model.Objects)):
>>>     geometry = model.Objects[i].Geometry
>>>     bbox = geometry.GetBoundingBox()
>>>     print("{}, {}".format(bbox.Min, bbox.Max))

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

rhino3dm-0.0.3-cp37-none-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.7 Windows x86-64

rhino3dm-0.0.3-cp37-none-win32.whl (1.0 MB view hashes)

Uploaded CPython 3.7 Windows x86

rhino3dm-0.0.3-cp37-none-macosx_10_13_x86_64.whl (2.8 MB view hashes)

Uploaded CPython 3.7 macOS 10.13+ x86-64

rhino3dm-0.0.3-cp27-none-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 2.7 Windows x86-64

rhino3dm-0.0.3-cp27-none-win32.whl (1.0 MB view hashes)

Uploaded CPython 2.7 Windows x86

rhino3dm-0.0.3-cp27-none-macosx_10_13_x86_64.whl (2.8 MB view hashes)

Uploaded CPython 2.7 macOS 10.13+ x86-64

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