Socket
Socket
Sign inDemoInstall

rhino3dm

Package Overview
Dependencies
0
Maintainers
6
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rhino3dm

Python library based on OpenNURBS with a RhinoCommon style


Maintainers
6

Readme

rhino3dm.py

CPython package based on OpenNURBS with a RhinoCommon style

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

Supported platforms

  • Python 3.7, 3.8, 3.9, 3.10, 3.11 - Windows (32 and 64 bit)
  • Python 3.7, 3.8, 3.9, 3.10, 3.11 - OSX (installed through homebrew)
  • Python 3.8, 3.9, 3.10, 3.11 - Linux via manylinux
  • 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))

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc