ADC(nged)

This command controls the angle/distance cursor.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… ADC(nged) β€” the angle/distance cursor command, bestie edition ✨

okay so real quick, this page lives in the BRL-CAD User Commands manual section (that's the (nged) in the name, iykyk) β€” and it's literally all about the angle/distance cursor. let's get into it πŸŽ€


✨ NAME ✨

adc β€” this command controls the angle/distance cursor. that's it, that's the vibe πŸ’–


🌸 SYNOPSIS 🌸

adc [-i] subcommand

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so adc controls the angle/distance cursor (the ADC, main character of the page πŸ’…). run adc with no arguments and it just toggles the display of the ADC on and off β€” no notes, no extra drama ✨.

the -i option: if you specify it, the value(s) you give get treated as increments. and here's the thing β€” -i is ignored when you're getting values, or when it's used with subcommands where this option makes no sense. like it's just not that girl in those situations πŸ™ˆ.

you can also control the position, angles, and radius of the ADC using a knob or the knob command. slay, options 🫢.

this command accepts the following subcommands:

  • vars β€” returns a list of all ADC variables and their values (i.e. var = val).
  • draw [0|1] β€” set or get the draw parameter.
  • a1 [angle] β€” set or get angle1, in degrees. πŸ“
  • a2 [angle] β€” set or get angle2, in degrees.
  • dist [distance] β€” set or get the radius (distance) of the tick, in local units.
  • odist [distance] β€” set or get the radius (distance) of the tick (+-2047).
  • hv [position] β€” set or get position (grid coordinates and local units).
  • xyz [position] β€” set or get position (model coordinates and local units).
  • x [xpos] β€” set or get horizontal position (+-2047).
  • y [ypos] β€” set or get vertical position (+-2047).
  • dh distance β€” add to horizontal position (grid coordinates and local units).
  • dv distance β€” add to vertical position (grid coordinates and local units).
  • dx distance β€” add to x position (model coordinates and local units).
  • dy distance β€” add to y position (model coordinates and local units).
  • dz distance β€” add to z position (model coordinates and local units).
  • anchor_pos [0|1] β€” anchor the ADC to the current position in model coordinates.
  • anchor_a1 [0|1] β€” anchor angle1 to go through anchorpoint_a1.
  • anchor_a2 [0|1] β€” anchor angle2 to go through anchorpoint_a2.
  • anchor_dst [0|1] β€” anchor the tick distance to go through anchorpoint_dst.
  • anchorpoint_a1[x y z] β€” set or get the anchor point for angle1 (model coordinates and local units).
  • anchorpoint_a2 [x y z] β€” set or get the anchor point for angle2 (model coordinates and local units).
  • anchorpoint_dst [x y z] β€” set or get the anchor point for tick distance (model coordinates and local units).
  • reset β€” reset all values to their defaults. fresh start energy 🌈
  • help β€” print the help message. bestie behavior fr fr 🫢

🧚 EXAMPLES 🧚

these examples show adc with no arguments, with -i, and with subcommands. iconic demos only πŸ’œ

mged> adc
    Toggle display of angle/distance cursor.
mged> adc a1 37.5
    Sets angle1 to 37.5 degrees.
mged> adc a1 37.5
    Gets angle1.
mged> adc xyz 100 0 0
    Moves ADC position to (100,0,0), model coordinates and local units.

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” the icons behind all of this 🫑


πŸ’€ BUG REPORTS πŸ’€

found a bug or a problem? not the vibe, but ok β€” reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. they'll handle it ✨


ngl, that's the whole page β€” every flag, every subcommand, every +-2047, every anchor point, all of it. no cap πŸ§šβ€β™€οΈ

and that's a wrap, bestie β€” this was ADC(nged) from the BRL-CAD crew (page dated with the BRL-CAD footer, version tag ADC(nged)), and you absolutely ate that read πŸ’…πŸŽ€πŸ’–

πŸ“¦ where this page comes from