JOINT2(nged)

process animation edit commands for joints

πŸ“… published 7.44.0, from nixpkgs unstable

🌸 NAME 🌸

okay so this is the JOINT2(nged) page from the BRL-CAD User Commands manual, and the name is literally joint2 β€” the command that processes animation edit commands for joints. πŸ’…

✨ SYNOPSIS ✨

joint2 solid_name selection replace selection_name startx starty startz dirx diry dirz
joint2 solid_name selection translate selection_name dx dy dz

πŸ¦‹ DESCRIPTION πŸ¦‹

Bestie, joint2 is an experimental interface for processing selection-based operations on joint primitives inside a database. Unlike the legacy joint command, joint2 directly targets a specific solid_name and uses a selection querying approach. No cap.

It supports the following selection operations:

  • replace selection_name startx starty startz dirx diry dirz β€” Finds the closest selection on solid_name intersecting the ray defined by the start point and direction vector. The matched selection replaces any existing selection stored under selection_name for that solid. Slay.
  • translate selection_name dx dy dz β€” Translates the components of the existing selection_name on solid_name by the vector (dx, dy, dz). Iconic.

πŸŽ€ EXAMPLES πŸŽ€

⭐ Example 1. Replace a selection using a ray

mged> joint2 arm.j selection replace my_sel 0 0 0 0 0 1

Shoots a ray from the origin (0, 0, 0) along the positive Z-axis (0, 0, 1) towards the joint primitive arm.j. The closest valid selection is stored as my_sel. Obsessed.

🌈 Example 2. Translate an existing selection

mged> joint2 arm.j selection translate my_sel 5 0 0

Translates the previously stored selection my_sel on arm.j by 5 units along the X-axis. Periodt.

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” they wrote it, we’re just vibing with it. 🫢

πŸ’œ BUG REPORTS πŸ’œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Please do that if something’s weird β€” not me spiraling in the group chat, okay? 😭


Cute sign-off time: the footer says source/version BRL-CAD, and the page doesn’t include a date, so there’s no date to hand you. Byeee, bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from