PyHyperbolic3D
Python stuff for drawing 3D hyperbolic polyhedra with 'PyVista'.
pip install pyhyperbolic3d
gyrotube(A, B, s, r, npoints=300):
Tubular hyperbolic segment.
Parameters
-
A,Bpoints (lists or arrays)The two endpoints of the segment.
-
spositive floatCurvature parameter.
-
rpositive floatRadius of the tube.
-
npointsintegerNumber 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,Cpoints (lists or arrays)The vertices of the triangle.
-
spositive floatCurvature parameter.
-
depthintegerThe number of recursive subdivions. The default is 5.
-
tolsmall positive floatThe 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)
| File | Size | Uploaded | |
|---|---|---|---|
| pyhyperbolic3d-0.1.0.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|