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)
  • Linux and other python versions are supported through source distributions\

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
rhino3dm-0.0.4-cp27-none-macosx_10_13_x86_64.whl (2.8 MB) Copy SHA256 hash SHA256 Wheel cp27
rhino3dm-0.0.4-cp27-none-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp27
rhino3dm-0.0.4-cp27-none-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp27
rhino3dm-0.0.4-cp37-none-macosx_10_13_x86_64.whl (2.8 MB) Copy SHA256 hash SHA256 Wheel cp37
rhino3dm-0.0.4-cp37-none-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp37
rhino3dm-0.0.4-cp37-none-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp37
rhino3dm-0.0.4.tar.gz (4.6 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page