session_rhino
RhinoCommon converters for session_py geometry. Runs inside Rhino 8 Python 3.
Install
pip install session-rhino
Or for local development inside Rhino:
./rhino.sh
Usage
from session_py import Point
from session_py import NurbsCurve
from session_rhino.session import Session
session = Session()
# points
session.add(Point(1, 2, 3))
session.add([Point(0, 0, 0), Point(1, 0, 0)])
# nurbs curve
pts = [Point(0, 0, 0), Point(1, 1, 0), Point(2, 0, 0), Point(3, 1, 0)]
curve = NurbsCurve.create(periodic=False, degree=2, points=pts)
session.add(curve)
# divide curve and add points
divided, params = curve.divide_by_count(10, True)
session.add(divided)
# perpendicular frames along curve
frames = curve.get_perpendicular_planes(10)
session.add(frames, scale=0.2)
session.draw(delete=True)
Modules
| Module | session_py | RhinoCommon |
|---|---|---|
rhino_point |
Point | Point3d |
rhino_line |
Line | Line |
rhino_plane |
Plane | Plane |
rhino_polyline |
Polyline | Polyline |
rhino_mesh |
Mesh | Mesh |
rhino_nurbscurve |
NurbsCurve | NurbsCurve |
rhino_nurbssurface |
NurbsSurface | NurbsSurface |
rhino_brep |
— | Brep |
Hot reload
from session_py.reload import reload_all
reload_all()
Release files for session-rhino 0.41.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| session_rhino-0.41.0.tar.gz | 36.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| session_rhino-0.41.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.4 kB
Release files / session_rhino-0.41.0.tar.gz
| Download URL | session_rhino-0.41.0.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a620bc985c571207d347d6ccd9da963b372c785516239d0b290f9e492b5a765e
|
|
BLAKE2b-256 checksum How to use checksums |
1778af0eadc40b4ba3675514dfc0e52651179faeb6a159f8e0f0dd60bf885e90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / session_rhino-0.41.0-py3-none-any.whl
| Download URL | session_rhino-0.41.0-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bacb3f5d2ec91cdde598319f2ff5ff5c6a59746f202d64f663fcd63bf346903
|
|
BLAKE2b-256 checksum How to use checksums |
f6f4828f18d497db6befcb07afa05517798f0995e8022213109b99f3e096e8ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency log