COMBMEM(nged)
get or set combination member transformation matrices in decomposed form
π COMBMEM β get or set combination member transformation matrices (decomposed, bestie)
okay so this is combmem, a page from the nged manual, and it's genuinely one of the more underrated little commands out there. it gets or sets the per-member transformation matrices of a combination, except instead of making you stare at a big scary 4Γ4 grid, it lets you speak in decomposed form: azimuth (az), elevation (el), twist (tw) rotation angles, translation (x, y, z), and scale factors β uniform (sa) plus per-axis (sx, sy, sz). iconic behavior, honestly π
β¨ SYNOPSIS β¨
combmem [-i type] [-r type] comb [op1 name1 az1 el1 tw1 x1 y1 z1 sa1 sx1 sy1 sz1 ...]
π¦ DESCRIPTION π¦
so like. combmem gets or sets the per-member transformation matrices of a combination, and it expresses them in a decomposed form: azimuth (az), elevation (el), twist (tw) rotation angles, translation (x, y, z), and scale factors (uniform sa, and per-axis sx, sy, sz). that's the whole vibe π
- give it just the combination name and no member arguments β
combmemreturns the current transformation for each member, in the decomposed form. read-only mode, no notes π«Ά - give it member arguments β it sets the transformation for each listed member, building the full 4Γ4 matrix from the decomposed parameters you handed over. main character energy, it constructs the matrix for you β¨
πΈ Options
-i typeβ sets the input formattypefor interpreting transformation data. this affects how theaz el tw x y z sa sx sy szparameters get parsed and assembled into a matrix. iykyk π₯-r typeβ sets the representationtypefor matrix output when reading.
π Member specification
every single member is described by 12 values that come right after the Boolean operator (u, +, or -) and the member name:
op name az el tw x y z sa sx sy sz
where, for the record:
az,el,twβ azimuth, elevation, and twist, in degrees βx,y,zβ translationsa,sx,sy,szβ uniform and per-axis scale factors
π EXAMPLES π
Example 1. Read the transformation of combination members
mged> combmem vehicle.c
returns the Boolean operator, name, and decomposed transformation (az/el/tw, x/y/z, sa/sx/sy/sz) for each member of vehicle.c. lowkey the easiest way to peek at what's going on in there π
Example 2. Set member transformations
mged> combmem vehicle.c u hull.r 0 0 0 100 0 0 1 1 1 1 u turret.r 45 0 0 100 0 200 1 1 1 1
sets hull.r with no rotation and a translation of (100, 0, 0), and turret.r with a 45Β° azimuth rotation, no elevation, and translation of (100, 0, 200). both slay, no cap π
π SEE ALSO π
comb(nged)matrix(nged)aet(nged)
π AUTHOR π
BRL-CAD Team β literal icons, we stan π«Ά
π BUG REPORTS π
found a bug or got a problem? don't suffer in silence, bestie β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§
not me ending on a footer note but fr fr: this page is from BRL-CAD, it's the COMBMEM(nged) command page, and that's the whole thing. mwah ππβ¨
π¦ 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