BREP_PLOT(nged)

Plot specific components of brep objects in a 3D scene.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… brep plot β€” like, the nged manual page, bestie ✨

okay so real talk, this one lives in the nged section of the manuals, and the command itself is called brep plot. she's a lot, but she's worth it. 🫢


✨ NAME ✨

brep plot β€” plot specific components of brep objects in a 3D scene. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

brep {obj}plot [C2|C3|E|F|F2d|FSBB|FSBB2d|FTBB|FTBB2d|FTD|I|L|L2d|S|SCV|SK|SK2d|SN|SUV|SUVP|T|T2d|V|CDT|CDT2d|CDTw] [arguments]

like yes, that's a lot of options in those brackets. we'll get to every single one, promise. πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

first things first: if obj is not a brep object, then report that fact and exit. no brep, no plot, no drama. πŸ’€

otherwise? she generates 3D scene visuals of the specified obj brep data. iconic behavior.

⚠️ important lil heads up: you may need to use autoview to center the view on the plotted data β€” the command does not automatically do so, and that's on purpose, so that debugging scenarios where it's desirable to maintain a fixed view stay chill. 🧚

this command has quite a few subcommands, and tbh that's because it's the primary means in BRL-CAD for visually inspecting properties of BRep objects. main character energy fr fr. πŸ‘‘

here's the full roster, no skips, no cuts:

  • C2 β€” plot one or more 2D parametric space geometric curves.
  • C3 β€” plot one or more 3D geometric curves.
  • E β€” plot one or more topological 3D edges.
  • F β€” plot one or more topological faces.
  • F2d β€” plot one or more topological faces in 2D parametric space.
  • FSBB β€” plot one or more face's surface bounding boxes (used for ray intersection testing).
  • FSBB2d β€” plot one or more face's surface bounding boxes in 2D (used for ray intersection testing).
  • FTBB β€” plot one or more face trim's bounding boxes in 3D.
  • FTBB2d β€” plot one or more face trim's bounding boxes in 2D parametric space.
  • FTD β€” plot one or more face trim's direction. the tea here β˜•: geometric curves will have one direction as part of their definition, but such curves may be re-used by trims, and those trims may indicate their own direction independent of the curve. iykyk.
  • I β€” plot one or more surface's isosurface curves.
  • L β€” plot one or more topological trimming loops in 3D.
  • L2d β€” plot one or more topological trimming loops in 2D parametric space.
  • S β€” plot one or more untrimmed surfaces.
  • SCV β€” plot one or more surface's control vertex mesh.
  • SK β€” plot one or more surface's knots in 3D.
  • SK2d β€” plot one or more surface's knots in 2D parametric space.
  • SN β€” plot one or more surface's normal vectors.
  • SUV β€” plot one or more surface's UV bounds.
  • SUVP β€” plot a surface's 3D point at the specified 2D parametric space UV coordinates.
  • T β€” plot one or more topological trims in 3D.
  • T2d β€” plot one or more topological trims in 2D parametric space.
  • V β€” plot one or more 3D vertices.
  • CDT β€” plot the shaded view of a constrained Delaunay triangulation of one or more BRep faces.
  • CDT2d β€” plot the constrained Delaunay triangulation of one or more BRep faces in 2D parametric space.
  • CDTw β€” plot the wireframe view of a constrained Delaunay triangulation of one or more BRep faces.

that's all 26 of them, we ate and left no crumbs. πŸ”₯


πŸ“ EXAMPLES πŸ“

Example 1. Plot single face

mged>brep Brep_1.s plot F 1

plots the various loops making up the definition of Face 1 in Brep_1.s. one face, one moment. ✨

Example 2. Plot a range of faces

mged>brep Brep_1.s plot F 1-10

plots the various loops making up the definition of faces 1 to 10 in Brep_1.s. a whole range, obsessed. πŸ’œ

Example 3. Plot a list of faces

mged>brep Brep_1.s plot F 1,3,5,10

plots the various loops making up the definition of faces 1, 3, 5 and 10 in Brep_1.s. curated list, lowkey a mood board. πŸŽ€


🌈 AUTHOR 🌈

BRLCAD-TEAM β€” the squad. 🫢


πŸ’Œ BUG REPORTS πŸ’Œ

reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. don't be shy, they literally want to hear it. πŸ“¬


and that's the page bestie!! πŸ¦‹πŸ’– source is BRL-CAD, it's the BREP PLOT(nged) page, slay, periodt. πŸ‘‘

πŸ“¦ where this page comes from