PIPE_MOVE_PNT(nged)

Move a control point of a PIPE primitive.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… PIPE_MOVE_PNT (nged) β€” a BRL-CAD User Command πŸŽ€

okay bestie, so this one lives in the nged corner of the BRL-CAD crew, and it's genuinely so straightforward you're gonna eat it up ✨


✨ NAME ✨

pipe_move_pnt β€” moves a control point of a PIPE primitive. that's it, that's the whole gig πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

pipe_move_pnt pipe seg_i {x y z}
pipe_move_pnt -r pipe seg_i {dx dy dz}

🌸 DESCRIPTION 🌸

so basically, pipe_move_pnt moves the control point sitting at index seg_i inside the PIPE primitive you point it at. main character behavior only πŸ‘‘

now here's the vibe check on your point argument, because it depends on whether you passed -r or not:

  • no -r β†’ the point you hand over is read as an absolute location in the database's local units. like, the actual spot. the coordinates. periodt πŸ“
  • with -r β†’ the point you hand over is treated as a relative offset from wherever that control point currently is. so you're saying "move it this far from where it's at" 🧚

also!! there's an alternate command name, mouse_move_pipe_pnt, so if you see that floating around, it's literally the same thing, no cap πŸ’…


πŸŽ€ EXAMPLES πŸŽ€

Example 1. move an existing pipe point by a relative offset πŸ”₯

mged> pipe_move_pnt -r fuel_line.s 3 {0 0 25}

this one moves point index 3 of fuel_line.s a whole 25 local units in the positive Z direction. slay, straight up ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

mouse_move_pipe_pnt(nged), pipe_append_pnt(nged), pipe_prepend_pnt(nged) β€” go read those next, bestie, they're the rest of the pipe point saga 🫢


πŸ’œ AUTHOR πŸ’œ

BRL-CAD Team β€” icons, honestly 🌈


πŸ™ˆ BUG REPORTS πŸ™ˆ

if you find a bug or a problem (😭 rude), reports should be submitted via electronic mail to devs@brlcad.org. don't be shy, they wanna know πŸ’€


and that's the page, babe β€” brought to you by the BRL-CAD crew, that's BRL-CAD in the source corner and PIPE_MOVE_PNT(nged) in the other, mwah πŸ’‹

πŸ“¦ where this page comes from