BREP_PLOT(nged)
Plot specific components of brep objects in a 3D scene.
π 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
- 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