Skip to main content

A python package for converting rhino geometry into shapely geometry

Project description


A python package for converting rhino geometry ( into shapely geometry (


$ pip install rhino-shapley-interop

Supported Geometry:

  1. Rhino Points -> Shapely Points
  2. Rhino Curves -> Shapely LineStrings
  3. Rhino Breps -> Shapely Polygon (limited to planer single surface breps)

Current Limitations:

  1. One way (Rhino to Shapely)
  2. Rhino is 3D, Shapely is 2D (effectively)
    • Breps are limited to planer single surface breps
    • A shapely plane is defined
  3. InstanceDefinition geometries are ignored (geometry listed in rhino3dm.File3dmInstanceDefinitionTable)
    • Blocks
    • Annotations



  1., and for importing from a file
  2. for importing from serialized brep


  1. Fork and clone to a local working directory
  2. Setup a virtual environment
$ python -m venv env
$ source env/bin/activate
  1. Install in editable mode
$ pip install -e .[dev]
  1. Testing
$ python -m unittest test.unittests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhino_shapley_interop-0.0.4.tar.gz (10.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page