Python stuff for drawing 3D hyperbolic polyhedra with 'PyVista'.
pip install pyhyperbolic3d
Tubular hyperbolic segment.
-
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.
A PyVista mesh ready for inclusion in a plotting region.
Hyperbolic triangle.
-
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.
A PyVista mesh ready for inclusion in a plotting region.







