Skip to main content

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.43.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for session-rhino 0.43.0
File Size Uploaded
session_rhino-0.43.0.tar.gz 35.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for session-rhino 0.43.0
File Interpreter ABI Platform
session_rhino-0.43.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.8 kB

Release files / session_rhino-0.43.0.tar.gz

Download URL session_rhino-0.43.0.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
29454e01b4a64502452fb6e7289950168ee0fe7087513fd470babff72d8f6fcc
BLAKE2b-256 checksum
How to use checksums
e54f9f965446729efe184332245f8f1bcfd608cdfcb43fb6642583e4da3a9236
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 Sep 2, 2026.

Transparency log

Release files / session_rhino-0.43.0-py3-none-any.whl

Download URL session_rhino-0.43.0-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2332e5cbbc71c85c560c7885354d50ac9926139af952627bbc539bda2935e0e4
BLAKE2b-256 checksum
How to use checksums
4e0e56e10aac2bf3257123fd752976e8e35a9e1953e74cfec81ad0cd47d106da
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 Sep 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.43.0 This release

2 release files

0.41.0

2 release files

0.40.0

2 release files

0.39.0

2 release files

0.38.0

2 release files

0.37.0

2 release files

0.34.0

2 release files

0.33.0

2 release files

0.32.0

2 release files

0.31.0

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.23.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page