Package: antiprism-python
antiprism_pythonis a collection of geometry modelling programs written in Python3,
and associated with theAntiprismproject.
The Antiprism programs may be used to view, process or analyse these models.Some of these programs were written to solve a specific problem,
some to solve a general problem, some were written as prototypes.
The programs vary in quality, completeness and usefulness. They are
all shared under the MIT licence.InstallInstall the whole package withpip3(orpipif that installs as
Python3), either from the PyPI repository:pip3 install antiprism_pythonOr directly from the Git repository:pip3 install git+git://github.com/antiprism/antiprism_pythonAlternatively, download the programs you are interested in and copyanti_lib.pyinto the same directory.ProgramsTo see the help for a program, run it with-h.barrel.pyCreate a cyclic polyhedron with one or two bands of equatorial
squares, oriented like diamonds.eq_antherm.pyCreate an antihermaphrodite with equilateral trianglesgeodesic.pyCreate coordinates for a higher frequency, plane-faced or
spherical, icosahedron, octahedron or tetrahedron.gold_bowtie.pyCreate a polyhedron with axial symmetry involving a golden
trapezium bow-tielat_grid.pyMake a variety of lattices and grids using integer coordinates.lamella.pyCreate a lamella domes. Also, makes square barrel models and
multiply-gyroelongated antihermaphrodite models.njitterbug.pyCreate a jitterbug model for a general polygon base. The
transformation includes, if constructible, models corresponding to
the antiprism, snub-antiprisms and gyrobicupola for that base.njohnson.pyCreate a Johnson-based model, from J88, J89, J90, with a general
polygon base.packer.pyPack balls in a sphere. The pack is seeded with two or more balls,
then subsequent balls are added one at a time in three point contact
in positions chosen by the packing method.pentabelt.pyMake a model with axial symmetry based on a belt of staggered
pentagonsproj_dome.pyMake a Jacoby-style dome, as described inhttp://www.google.com/patents/US7900405. Project a tiling of
unit-edged triangles, squares or crossed squares (unit edges), at
a specified height, onto a unit hemisphere, by gnomonic,
stereographic
or general point projection.rotegrity_models.pyCreate cyclic rotegrity models, with 1 or 2 layers of rotegrity unitssph_circles.pyring_place.pyPlace maximum radius rings of contacting balls around points on a
sphere. Input is a list of coordinates, one set per line.sph_circles.pyDistribute points on horizontal circles on a sphere (like a disco
ball). The sphere is split into equal width bands. Balls with a
diameter of this width are distributed equally around each band.
The number of balls is either as many points as will fit in the band,
or a specified number.sph_saff.pyDistribute num_points (default 20) on a sphere using the algorithm
from “Distributing many points on a sphere” by E.B. Saff and
A.B.J. Kuijlaars, Mathematical Intelligencer 19.1 (1997) 5–11.sph_spiral.pyDistribute points in a spiral on a sphere.spiro.pyCreate a spirograph pattern.str_art.pyCreate simple epicycloid string art patterns.temcor_dome.pyMake a Temcor-style dome, using the method described inhttps://groups.google.com/d/msg/geodesichelp/hJ3V9Nfp3kE/nikgoBPSFfwJ.
The base model is a pyramid with a unit edge base polygon at a
specified height above the origin. The axis to rotate the plane
about passes through the origin and is in the direction of the
base polygon mid-edge to the pyramid apex.tri_tiling.pyCreate a polyhedron which tiles the sphere with congruent triangles.twister.pyTwist two polygons placed on symmetry axes and joined by a vertextwister_rhomb.pyTwist polygons, of the same type, placed on certain fixed axes and
joined by vertices.twister_test.pyTwist two polygons placed on axes at a specified angle and joined by
a vertex.Complementary ProgramsRelated Python programs in external projectsantitileGenerates geodesic models by various methods.view_off.pyAn OFF file viewer with export to PNG and SVG.