Skip to main content

rhino_shapely_interop

A python package for converting rhino geometry (https://www.rhino3d.com/) into shapely geometry (https://pypi.org/project/Shapely/).

Installation

$ 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

Examples:

See

  1. example1.py, and example3.py for importing from a file
  2. example2.py for importing from serialized brep

Development/Contributions

  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

Metadata

Release files for rhino-shapley-interop 0.0.4

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

Source distribution (sdist)

Source distribution for rhino-shapley-interop 0.0.4
File Size Uploaded Provenance Actions
rhino_shapley_interop-0.0.4.tar.gz 10.2 kB Without provenance Details for rhino_shapley_interop-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rhino-shapley-interop 0.0.4
File Interpreter ABI Platform Actions
rhino_shapley_interop-0.0.4-py3-none-any.whl Python 3 none any Details for rhino_shapley_interop-0.0.4-py3-none-any.whl

Total release size: 20.5 kB

Release files / rhino_shapley_interop-0.0.4.tar.gz

Download URL rhino_shapley_interop-0.0.4.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
798bd04fff8100d0d352f5d8460a19a2db3e0e31be76d0dfc9aa52b0ec6483e3
BLAKE2b-256 checksum
How to use checksums
7c5af217048676f89fdf3fc13064a283ef130e9d428aacc3449e018d03eed4c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.10

Release files / rhino_shapley_interop-0.0.4-py3-none-any.whl

Download URL rhino_shapley_interop-0.0.4-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7734d47e96648e0e230e486f6dbe9bc1608d9a9f3228e325a3eeef12bdaa86ab
BLAKE2b-256 checksum
How to use checksums
74cf56a090c1f36e7badec54a09125e7054adcaec099027110971e79bcee07d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.10

Security for rhino-shapley-interop 0.0.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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