SDATA_LINES(nged)

Manage the secondary arbitrary line set attached to the current view.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… sdata_lines β€” SDATA_LINES(nged) β€” BRL-CAD User Commands πŸ’…

🌸 NAME 🌸

sdata_lines β€” okay bestie, this is the command that manages the secondary arbitrary line set attached to the current view. It’s giving β€œmy own little line set, attached to the current view” energy. πŸ’…

✨ SYNOPSIS ✨

sdata_lines draw [0|1]
sdata_lines color [r g b]
sdata_lines line_width [width]
sdata_lines points [{{x y z} {x y z} ...}]
sdata_lines snap [0|1]
view sdata_lines draw [0|1]
view sdata_lines color [r g b]
view sdata_lines line_width [width]
view sdata_lines points [{{x y z} {x y z} ...}]
view sdata_lines snap [0|1]

🌸 DESCRIPTION 🌸

Okay so here’s the tea: sdata_lines manages a second view-associated line set that is not tied to database geometry. It accepts the same subcommands as data_lines: draw, color, line_width, points, and snap. 🫢

Each subcommand reports the current value when invoked without a new setting β€” yes, it will absolutely read you the current value if you don’t hand it a new setting. For points, the supplied Tcl-style point list must contain an even number of 3D points because lines are defined in endpoint pairs. No cap. ✨

The same functionality is also available through the view sdata_lines ... command form. Same slay, different syntax. πŸ¦‹

The related data_lines command edits a separate line set in the same view. They’re siblings, not twins, bestie. πŸŽ€

πŸŽ€ EXAMPLES πŸŽ€

Example 1. Create a highlighted secondary guide line set through the view command form.

mged> view sdata_lines points {{0 -1000 0} {0 1000 0} {-1000 10 0}
{1000 10 0}} mged> view sdata_lines color 255 0 0 mged> view
sdata_lines line_width 100 mged> view sdata_lines draw 1

This defines two guide lines in the secondary line set, colors them red, widens them, and enables drawing. Iconic. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

Go peek at these, iykyk:

  • data_lines(nged)
  • view(nged)

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” the whole team, periodt. πŸ‘‘

πŸ’€ BUG REPORTS πŸ’€

Found a bug or a problem? Do not suffer in silence, bestie: reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. πŸ’Œ


πŸ’– Source/version: BRL-CAD Β· page: SDATA_LINES(nged) Β· date: not listed in the footer, so I’m not inventing one. Bye bestie! πŸ’–

πŸ“¦ where this page comes from