FIND_ARB_EDGE(nged)
find and identify an ARB (Arbitrary Polyhedron) edge
π find_arb_edge β find & identify an ARB edge (nged)
okay so bestie, welcome to find_arb_edge from the BRL-CAD user commands fam β¨ this is the one that plays detective for ARB (Arbitrary Polyhedron) primitives ππ
πΈ SYNOPSIS πΈ
find_arb_edge arb "view_x view_y view_z" ptol
β¨ DESCRIPTION β¨
so the find_arb_edge command goes snooping around inside an ARB (Arbitrary Polyhedron) primitive and hunts down the edge that's closest to a view coordinate you give it β all within a pick tolerance (ptol) that you get to set. no cap, it's giving "where's waldo but for polygon edges" π΅οΈββοΈπ
if it works (and it should, fingers crossed π«Ά), the command hands you back three integers:
- the numeric ID of the closest edge π
- the numeric ID of the first vertex (
vi1) forming that edge - the numeric ID of the second vertex (
vi2) forming that edge
the arguments, one by one, because we don't gatekeep here π :
arbβ the name of the ARB primitive you want to search π"view_x view_y view_z"β one single quoted string holding the X, Y, and Z coordinates (in view space, iykyk) that get tested against πptolβ the pick tolerance, and it's a floating point value, so bring your decimals π
π₯ EXAMPLES π₯
Example 1. Identify an ARB edge near a view coordinate
mged> find_arb_edge arb8.s "0 0 1" 0.5
this searches arb8.s for an edge that lands within 0.5 units of the view coordinate (0, 0, 1), then returns the edge ID plus its two vertex IDs. iconic behavior honestly β
π AUTHOR π
BRL-CAD Team β legends, periodt π
π¦ BUG REPORTS π¦
found something cursed? π reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β they want the receipts fr fr π
signing off from the BRL-CAD manual page life, version and date stamped in the footer, brought to you by BRL-CAD and the one and only FIND_ARB_EDGE(nged) β stay slay, stay exact, and may all your edges be the closest ones πβ¨π
π¦ 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