GR(nged)
Add or remove primitives or primitive parents from a group using a GUI selection box. dg exits grouper mode.
πΈ NAME πΈ
Okay bestie, this is the GR(nged) page from BRL-CAD User Commands β manual name folded in near the top, no copy-pasted header line, weβre classy like that. π
gr β add or remove primitives or primitive parents from a group using a GUI selection box. dg exits grouper mode. Periodt.
β¨ SYNOPSIS β¨
gr {GroupName} {+ | -} [ListLimit] [-p]
π¦ DESCRIPTION π¦
Okay so gr lets you add primitives or primitive parents to a group β or remove them β by selecting them on the MGED display using a selection box. Very βdrag a box, collect objects,β highkey iconic.
Objects are identified by the location of their vertices on the display. For example, a portion of an object may be within the selection box, but if none of its vertices are, then it is not considered within the section box. Because of this, objects can only be selected if they are displayed in wireframe.
Drawing a selection box left to right: objects completely in the box are selected. Drawing the selection box right to left: objects completely and partly in the box are selected. Direction matters, bestie β vibe check your drag. π
To start grouper, use gr or grouper. Press and hold the center mouse button, then drag the mouse to create the selection box. If there are a large number of vertices on the display, there will be a delay before the selected objects are highlighted and control of MGED is returned to the user β like when your group chat takes a sec to load. π
To exit grouper mode, hold down the ctrl key and single-click the center mouse button. You can also exit grouper mode with the dg or done_grouper commands.
Objects in the group, while in grouper mode, will be displayed (i.e. highlighted) in yellow wireframe. When entering grouper mode, if the chosen group already contains objects, these existing objects will be immediately displayed in yellow wireframe. As objects are added to the group, they will also be highlighted in yellow. When you exit grouper mode, the yellow highlights will be removed. Yellow = βin the groupβ energy, apparently. π
Caveats: This command will not function as expected if a selected object has matrices applied. The xpush command can resolve this limitation. π¨
π OPTIONS π
GroupNameβ the name of the group to add/remove primitives or primitive parents.+-β indicates if to add or remove from group.ListLimitβ as primitives/parents are selected using a selection box, the names of the selected objects can be listed. This option controls the number of entries which will be listed. By default this value is zero. All selected objects will be listed, assuming theListLimitis high enough, even if they are not added to the group. This will happen if some of the selected objects are already in the group.-pβ places the parent of the selected primitives in the group instead of the primitives. With the-poption, if the primitive does not have a parent (i.e. is in the root) it will be ignored.
π EXAMPLES π
π Example 1. Add selected primitive parents to a group.
mged> gr hull_parts.c + 25 -p
Starts grouper mode, lists up to 25 selected entries, and adds the selected primitives' parent combinations to hull_parts.c.
π Example 2. Remove selected primitives from a group.
mged> gr hull_parts.c - 10
Starts grouper mode for removing selected primitives from hull_parts.c, listing up to 10 selected entries.
β¨ AUTHOR β¨
BRL-CAD Team β yes, the whole team. π«Ά
π¬ BUG REPORTS π¬
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. No cap, thatβs the address. π
π Thatβs the GR(nged) page, bestie β source/version: BRL-CAD; manual: GR(nged); date: not listed in the footer, and Iβm not out here inventing one. Byeee π«Άβ¨
π¦ 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