ARCED(nged)
Provides a means for directly editing transformation matrices of Boolean tree leaves.
β¨ ARCED(nged) β the arced page, bestie edition β¨
okay so real quick, the manual name situation: this is arced from the nged section of the BRL-CAD User Commands docs. that's the whole vibe. now let's get into it π
π NAME π
arced β it's literally a way to directly edit the transformation matrices of Boolean tree leaves. that's it, that's the girlboss job description π«Ά
πΈ SYNOPSIS πΈ
arced {comb/memb} {anim_command}
π¦ DESCRIPTION π¦
so picture this: the objects in a BRL-CAD model are stored as Boolean combinations of primitive shapes and/or other combinations. these combinations live as Boolean trees, and every single leaf of the tree carries its own corresponding transformation matrix. the arced command is your direct line to editing those matrices β like, no middleman, we're going straight in there π
the first argument to arced must identify the combination and which member's matrix you're editing. the comb/memb argument says: member memb of combination comb is the one whose matrix we're touching. slay.
the rest of the arced command line is an animation command that gets applied to that matrix. here's the full menu of available animation commands, and yes i'm listing all of them:
matrix rarc <xlate|rot> matrix elementsβ replaces the member's matrix with the given matrix. out with the old, in with the new β¨matrix lmul <xlate|rot> matrix elementsβ left multiplies the member's matrix by the given matrix.matrix rmul <xlate|rot> matrix elementsβ right multiplies the member's matrix by the given matrix.
ngl,rarcvslmulvsrmulis the whole personality of this command β replace, left multiply, right multiply. pick your fighter π₯
π EXAMPLES π
Example 1. Rotate body/head 45 degrees about Z axis
mged>arced body/head matrix rot 0 0 45
this rotates member head (which lives in combination body) about the z axis through a 45Β° angle. iconic behavior honestly π«
and here's the tea on how the matrix arguments work by default: the matrix commands expect a list of 16 matrix elements to define a matrix. but there are two shorthand options, and they ate:
- the
xlateoption can be used along with three translation distances in the x, y, and z directions (in mm) as a shorthand notation for a matrix that is pure translation. - similarly, the
rotoption along with rotation angles (degrees) about the x, y, and z axes may be used as shorthand for a matrix that is pure rotation.
π AUTHOR π
BRL-CAD Team β the collective main characters behind all this π«‘
π BUG REPORTS π
if you find a bug or a problem (π it happens), reports should be submitted via electronic mail to devs@brlcad.org. don't be shy, they want to know fr fr π
and that's the page bestie π big shoutout to those BRL-CAD folks for the source material β this one's filed under ARCED(nged), so you know exactly where to find it again. 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