Skip to main content

PyHyperbolic3D

Documentation status

Python stuff for drawing 3D hyperbolic polyhedra with 'PyVista'.

pip install pyhyperbolic3d

gyrotube(A, B, s, r, npoints=300):

Tubular hyperbolic segment.

Parameters
  • A,B points (lists or arrays)

    The two endpoints of the segment.

  • s positive float

    Curvature parameter.

  • r positive float

    Radius of the tube.

  • npoints integer

    Number of points along the segment. The default is 300.

Returns

A PyVista mesh ready for inclusion in a plotting region.


gyrotriangle(A, B, C, s, depth=5, tol=1e-6):

Hyperbolic triangle.

Parameters
  • A,B,C points (lists or arrays)

    The vertices of the triangle.

  • s positive float

    Curvature parameter.

  • depth integer

    The number of recursive subdivions. The default is 5.

  • tol small positive float

    The tolerance used to merge duplicated points in the mesh. The default is 1e-6.

Returns

A PyVista mesh ready for inclusion in a plotting region.

Metadata

Release files for pyhyperbolic3d 0.1.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 pyhyperbolic3d 0.1.0
File Size Uploaded
pyhyperbolic3d-0.1.0.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyhyperbolic3d 0.1.0
File Interpreter ABI Platform
pyhyperbolic3d-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.1 kB

Release files / pyhyperbolic3d-0.1.0.tar.gz

Download URL pyhyperbolic3d-0.1.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5fa386dfcbe72d288bbca6454a6f77cb65ce05dce8cb73a4a747bd2d97c1eb29
BLAKE2b-256 checksum
How to use checksums
e3ed1ab0db6f561a99dcd862f41779ced39536dafd1f01b8511842f8c416a79c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.12 Linux/5.15.0-71-generic

Release files / pyhyperbolic3d-0.1.0-py3-none-any.whl

Download URL pyhyperbolic3d-0.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a5f3516573a0dc8100be007436b9b1fd689a2f43a5355ab5d297f87286639a4
BLAKE2b-256 checksum
How to use checksums
cd09f763d102f7e1ad9d565d375957507f25fbae63d4c474ec0aaf89bf1ac4c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.12 Linux/5.15.0-71-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

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