BREP PLOT

## Name

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

## 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`]

## DESCRIPTION

If `obj` is not a brep object, then report that fact and exit. Otherwise, generate 3D scene visuals of the specified `obj` brep data. Note that the user may need to use autoview to center the view on the plotted data; the command does not automatically do so, in order to allow for debugging scenarios where it is desirable to maintain a fixed view.

This command has quite a few subcommands, as it is the primary means in BRL-CAD for visually inspecting properties of BRep objects:

`C2` [ `index[,index...]` | `index`-`index` ]

  Plot one or more 2D parametric space geometric curves.

`C3` [ `index[,index...]` | `index`-`index` ]

  Plot one or more 3D geometric curves.

`E` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological 3D edges.

`F` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological faces.

`F2d` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological faces in 2D parametric space.

`FSBB` [ `index[,index...]` | `index`-`index` ]

  Plot one or more face's surface bounding boxes (used for ray intersection testing).

`FSBB2d` [ `index[,index...]` | `index`-`index` ]

  Plot one or more face's surface bounding boxes in 2D (used for ray intersection testing).

`FTBB` [ `index[,index...]` | `index`-`index` ]

  Plot one or more face trim's bounding boxes in 3D.

`FTBB2d` [ `index[,index...]` | `index`-`index` ]

  Plot one or more face trim's bounding boxes in 2D parametric space.

`FTD` [ `index[,index...]` | `index`-`index` ]

  Plot one or more face trim's direction - 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.

`I` [ `index[,index...]` | `index`-`index` ]

  Plot one or more surface's isosurface curves.

`L` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological trimming loops in 3D.

`L2d` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological trimming loops in 2D parametric space.

`S` [ `index[,index...]` | `index`-`index` ]

  Plot one or more untrimmed surfaces.

`SCV` [ `index[,index...]` | `index`-`index` ]

  Plot one or more surface's control vertex mesh.

`SK` [ `index[,index...]` | `index`-`index` ]

  Plot one or more surface's knots in 3D.

`SK2d` [ `index[,index...]` | `index`-`index` ]

  Plot one or more surface's knots in 2D parametric space.

`SN` [ `index[,index...]` | `index`-`index` ]

  Plot one or more surface's normal vectors.

`SUV` [ `index[,index...]` | `index`-`index` ]

  Plot one or more surface's UV bounds.

`SUVP` [ `index[,index...]` | `index`-`index` ]

  Plot a surface's 3D point at the specified 2D parametric space UV coordinates.

`T` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological trims in 3D.

`T2d` [ `index[,index...]` | `index`-`index` ]

  Plot one or more topological trims in 2D parametric space.

`V` [ `index[,index...]` | `index`-`index` ]

  Plot one or more 3D vertices.

`CDT` [ `index[,index...]` | `index`-`index` ]

  Plot the shaded view of a constrained Delaunay triangulation of one or more BRep faces.

`CDT2d` [ `index[,index...]` | `index`-`index` ]

  Plot the constrained Delaunay triangulation of one or more BRep faces in 2D parametric space.

`CDTw` [ `index[,index...]` | `index`-`index` ]

  Plot the wireframe view of a constrained Delaunay triangulation of one or more BRep faces.

## 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

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

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

## AUTHOR

BRLCAD-TEAM

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to `<devs@brlcad.org>`