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

  • Python 2.7, 3.7, 3.8, 3.9, 3.10 - Windows (32 and 64 bit)
  • Python 2.7, 3.7, 3.8, 3.9, 3.10 - 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.

Built Distributions

rhino3dm-7.15.0-cp310-cp310-win_amd64.whl (2.0 MB view hashes)

Uploaded cp310

rhino3dm-7.15.0-cp39-cp39-win_amd64.whl (2.1 MB view hashes)

Uploaded cp39

rhino3dm-7.15.0-cp38-cp38-win_amd64.whl (2.0 MB view hashes)

Uploaded cp38

rhino3dm-7.15.0-cp37-cp37m-win_amd64.whl (2.0 MB view hashes)

Uploaded cp37

rhino3dm-7.15.0-cp27-cp27m-win_amd64.whl (2.0 MB view hashes)

Uploaded cp27

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page