Registry / devops / rhino3dm

rhino3dm

JSON →
library8.17.0pypypi✓ verified 82d ago

rhino3dm is a Python library based on OpenNURBS with a RhinoCommon style, providing 3D geometry operations and I/O for Rhino 3DM files. The current version is 8.17.0, released with active development. Release cadence is irregular, often aligned with Rhino updates.

pip install rhino3dm
INSTALL
IMPORT
SIG · RHINO3DM
R
rhino3dm
devopspythonv8.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

File3dm
from rhino3dm import File3dm
import rhino3dm model = rhino3dm.File3dm.read('model.3dm')

Read a 3DM file and print layer/object counts, then create a 3D point.

import rhino3dm model = rhino3dm.File3dm.read('model.3dm') print('Layers:', len(model.Layers)) print('Objects:', len(model.Objects)) # Create a point point = rhino3dm.Point3d(0, 0, 0) print('Point:', point)
Debug
Known issues
breakingIn version 8, many API names changed to align with RhinoCommon naming conventions. For example, `File3dm.Objects` now returns a list of `ModelComponent` objects, not direct geometry. Old code using `model.Objects[0].Geometry` may need updating.
fix
Access geometry via `model.Objects[0].Geometry`, which works for 3DM file objects.
affects: >=8.0
deprecated`File3dm.Read()` is deprecated in favor of `File3dm.read()`. The old method may still work but logs a deprecation warning.
fix
Use lowercase `read()` method.
affects: >=7.0
gotchaThe library does not support all Rhino geometry types; some complex objects like instance definitions may not import correctly. Always check for `None` after reading.
fix
Check `model.Objects[i].Geometry is not None` before using it.
affects: all
Upgrade
Version history
8.17.0latest on PyPI · released Mar 12, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

rhino3dm — pip install rhino3dm · libregistry