BRAVAIS(1)
π bravais β Bravais lattices
okay bestie, welcome to the BRAVAIS(1) manual page π this one is literally all about generating Bravais lattices, and itβs lowkey iconic. no cap, letβs get into it. π¦
π NAME
bravais β Bravais lattices
π SYNOPSIS
bravais [options] crystal_system [centering]
β¨ DESCRIPTION
Generate Bravais lattices in OFF format. the lattice can be picked by its index number or by the (start of the) crystal_system name plus centering. itβs giving βchoose your own lattice adventureβ β¨
hereβs the whole crystal-system tea, with the vector and angle constraints exactly as they are:
- Triclinic β centering
P; vector constraints: no constraints; angle constraints: any not of higher symmetries. - Monoclinic β centering
P,C; vector constraints: no constraints; angle constraints:alpha = gamma = 90 <> beta. - Orthorhombic β centering
P,C,F,I; vector constraints:a <> b <> c; angle constraints:alpha = beta = gamma = 90. - Tetragonal β centering
P,I; vector constraints:a = b <> c; angle constraints:alpha = beta = gamma = 90. - Trigonal β centering
P; vector constraints:a = b = c; angle constraints:alpha = beta = gamma <> 90. - Hexagonal β centering
P; vector constraints:a = b, c; angle constraints:alpha = beta = 90, gamma = 120. - Cubic β centering
P,F,I; vector constraints:a = b = c; angle constraints:alpha = beta = gamma = 90.
π Centering Types
Pβ Primitive (Simple) centering on corners (default:P).Cβ Base (alsoAorB).Fβ Face centering.Iβ Body centering.
π¦ Synonyms
- Rhombohedral = Trigonal
sc= Cubic Pfcc= Cubic Fbcc= Cubic I
π οΈ Options
-h,--helpβ this help message (runoff_util -H helpfor general help).--versionβ version information.-Hβ additional help.-Wβ verbose output.-l <lim>β minimum distance for unique vertex locations as negative exponent (default:12giving1e-12).-o <file>β write output to file (default: write to standard output).
π§ Lattice Options
-v <v,n>β vector lengths, non-zero, in form"a,b,c"(default: calculated). optional fourth number, vectors taken to rootn.-a <angs>β angles in the form"alpha,beta,gamma". Ignored for Orthorhombic, Tetragonal, and Cubic. For Hexagonal, any non-90 position may be120. Otherwise, if not supplied then random angles are chosen. Angles cannot be zero or180. Angles may be negative values.alpha + beta + gammamust be less than360. Each angle must be less than or equal to the sum of the other two angles.-g <grid>β cell grid array. one or three positive integers separated by commas.a- automatic, of sufficient size for radius (-Grequired)- one integer,
NxNxNgrid. (default: calculated) - three integers,
IxJxKgrid. - Combinations for grid center:
even,even,even- on cell cornerodd,odd,odd- in cell bodyeven,odd,even- on cell mid-edgeodd,even,odd- on face center
-G <type>β automatic grid center type (type8invalid for cell centering =P):p- corneri- bodyf- facee- mid-edge8- eighth cell
-Iβ inversion (centering typeForI).-d <vrts>β output dual of lattice based on primitive vectors.c- use primitive vectors base on centering type four integers - primitive vectors are determined by four vertex numbers given by non negative integers. The first vertex number is the radial point and the next three vertices are the primitive vectors.
-uβ add cell struts. Added to cubic grid before transformation.-s <s,n>β create struts.sis strut length taken to optional rootn. use multiple-sparameters for multiple struts.-D <opt>β Voronoi (a.k.a Dirichlet) cells (Brillouin zones for duals).c- cells onlyi- cell(s) touching center only
-Aβ append the original lattice to the final product.
π¦ Container Options
-c <type>β containers- sphere (uses radius) (default: none).-k <file>β container, convex hull of off file or built in model (uses radius).-r <c,n>β radius.cis radius taken to optional rootn.n = 2is sqrt- or
l- max insphere radius,s- min insphere radius (default) - or
k- take radius from container specified by-k
- or
-p <xyz>β radius to lattice, three comma separated coordinates,0for origin.-q <xyz>β center offset, three comma separated coordinates,0for origin.-C <opt>βc- convex hull only,i- keep interior.
π Coloring Options
(run off_util -H color for help on color formats)
-V <col>β vertex color, (optional) transparency, (optional) elements. transparency: valid range from0(invisible) to255(opaque). elements to color arel- lattice,c- convex hull,v- voronoi,h- hex relation (default elements:lcvh).-E <col>β edge color (same format as for vertices).-F <col>β face color (same format as for vertices) or special coloring: calculates color from normals, not maps lower case outputs map indexes. upper case outputs color valuesy,Y- color by symmetry using face normalsz,Z- color by symmetry using face normals (chiral).-T <tran>β face transparency for color by symmetry. valid range from0to255.
π¬ Scene Options
-R <opt>β hexagonal/cubic relation (Cubic P or Trigonal only).o- hex overlayf- hex fillO- cube overlayF- cube fill
-Oβ translate centroid of final product to origin.-Z <col>β add centroid vertex to final product in colorcol.-Kβ append cage of container of-kto final product.
π Listing Options
-Bβ display the list of Bravais lattices.-Q <vecs>β center for radius calculations in-L(default: centroid).c- original centero- original center + offset in-q
-L <opt>β list unique radial distances of points (to standard output).f- full reportv- values only
-S <opt>β list every possible strut value (to standard output).f- full reportv- values only
π SEE ALSO
The full documentation for bravais is maintained as a Texinfo manual. If the info and bravais programs are properly installed at your site, the command
info bravais
should give you access to the complete manual.
okay thatβs the whole page bestie π
footer source/version vibes: bravais: Antiprism 0.32 - http://ww... and the manual name is BRAVAIS(1). the footer didnβt show a date in the snippet, so no date to copy β but the main-character manual energy is forever. mwah! π«Άπ
π¦ where this page comes from
- nixos 26.05: antiprism 0.32
- nixpkgs unstable: antiprism 0.32
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms