Skip to main content

Python library based on OpenNURBS with a RhinoCommon style

Project description

rhino3dm.py

CPython package based on OpenNURBS with a RhinoCommon style

Project Homepage 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  # pip install requests

req = requests.get("https://files.mcneel.com/TEST/Rhino Logo.3dm")
model = File3dm.FromByteArray(req.content)
for obj in model.Objects:
    geometry = obj.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.

Files for rhino3dm, version 0.11.0
Filename, size File type Python version Upload date Hashes
Filename, size rhino3dm-0.11.0-cp27-cp27m-macosx_10_15_x86_64.whl (3.5 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp27-cp27m-win32.whl (1.6 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp27-cp27m-win_amd64.whl (1.9 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp37-cp37m-macosx_10_14_x86_64.whl (3.4 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp37-cp37m-win32.whl (1.6 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp37-cp37m-win_amd64.whl (1.9 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp38-cp38-win32.whl (1.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size rhino3dm-0.11.0-cp38-cp38-win_amd64.whl (1.9 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size rhino3dm-0.11.0.tar.gz (5.1 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page