G-JACK(1)
π NAME β g-jack (G-JACK(1)) π
okay so bestie, g-jack is the main-character command that converts a BRL-CAD model to Jack Psurf (.pss) and figure (.fig) files. That's the G-JACK(1) manual, and we're gonna get you comfy with it. π
β¨ SYNOPSIS β¨
g-jack [-v] [-d] [-f] [-x _rt_debug_] [-X _nmg_debug_] [-u _eu_dist_] [-a _abs_tess_tol_] [-r _rel_tess_tol_] [-n _norm_tess_tol_] [-D _dist_calc_tol_] [-p _prefix_] [-P _ncpu_] _database.g_ _object(s)_...
πΈ DESCRIPTION πΈ
g-jack converts the specified object(s) from a BRL-CAD database database.g into the Jack Psurf format used by the Jack human figure animation and ergonomic analysis package (originally from the University of Pennsylvania, later the commercial Tecnomatix Jack from Siemens). iykyk, it's giving legacy-but-iconic.
Each region is tessellated through the NMG boolean evaluator and written to its own polygonal surface file with a .pss suffix; the file name is derived from the region's leaf object name with periods replaced by underscores (Jack's Peabody language disallows periods). So yes, those periods become underscores, no cap. π«Ά
A single Jack figure file with a .fig suffix is also produced, named after database.g, that references every .pss segment, records material colors, and connects the segments with joints. Coordinates are converted from millimeters to centimeters on output. metric glow-up, honestly.
π OPTIONS π
-vβ Enable verbose progress reporting. chatty terminal era.-dβ Also write a UNIX-plot debugging file (.plot3) for each converted region. debug girlie behavior, and we respect it.-fβ Suppress writing of the per-region.pssoutput files; the.figfile is still produced. Useful for checking that the geometry converts without generating output.-ueu_dist β Set the edgeuse distance tolerance used for visualization (default2.0).-aabs_tess_tol β Set the absolute tessellation tolerance in millimeters.-rrel_tess_tol β Set the relative tessellation tolerance (default0.01).-nnorm_tess_tol β Set the surface normal tessellation tolerance.-Ddist_calc_tol β Set the calculation distance tolerance in millimeters used when deciding whether vertices are coincident (default0.0005).-pprefix β Prepend prefix to every generated output file name. name-brand your outputs, slay.-Pncpu β Set the number of processors to use (default1).-xrt_debug β Set the librt debug flag (hexadecimal).-Xnmg_debug β Set the NMG debug flag (hexadecimal).
π EXAMPLES π
Example 1. Convert selected regions and inspect them
g-jack -p model_ -v -r 0.005 mannequin.g torso left_arm right_arm
Tessellates the three named regions from mannequin.g using a tighter relative tolerance, writing verbose progress to the terminal. The output files are named with the model_ prefix (for example model_torso.pss) and a model_mannequin.fig figure file is produced that ties the segments together for loading into Jack. obsessed with a clean little pipeline. β¨
π¦ SEE ALSO π¦
π AUTHOR π
BRL-CAD Team. shoutout to the authors, the icons who made the manual page happen. π
π COPYRIGHT π
This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
signed off with π by BRL-CAD β this is the G-JACK(1) page, with the copyright dates 1989β2026 doing their little date moment at the end. π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms