SDATA_LINES(nged)
Manage the secondary arbitrary line set attached to the current view.
π 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
- 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