MGED CMD brep

From BRL-CAD
Revision as of 23:47, 16 August 2012 by Phoenix (talk | contribs) (Argument(s))

brep

Syntax

brep object info [S|F|T|E|SB|TB] [index]
brep object plot [S|I|SN|KN|F|F2d|SBB|SBB2d|TD|T|T2d|TBB|TBB2d|E|SCV] [index]
brep object intersect object2 i j [max_dis]
brep object [brepname]
brep comb [suffix]

Argument(s)

object
Name for the primitive that you want to operate on.
S
Plot or output info for a specific 'surface'.
F
Plot or output info for a specific 'face'.
T
Plot or output info for a specific 'trim'.
E
Plot or output info for a specific 'edge'.
SB
Output 'bezier' info for a specific 'surface'.
TB
Output 'bezier' info for a specific 'trim'.
I
Plot a specific 'iso-surface'.
SN
Plot a specific 'surface normal'.
KN
Plot a specific 'surface's knots'.
F2d
Plot a specific 'face' in '2d-space'.
SBB
Plot a specific 'surface's leafs' (surface tree).
SBB2d
Plot a specific 'surface's leafs' in '2d-space'.
'TD
Plot a specific 'trim direction'.
T2d
Plot a specific 'trim' in '2d-space'.
TBB
Plot a specific 'trim's leafs' (curve tree).
TBB2d
Plot a specific 'trim's leafs' in '2d-space'.
SCV
Plot a specific 'surface's CV'.
index
The index of the surface (face, edge, etc.) you want to plot or output info for. You can use a single number, 'number-number', or 'all'.
object2
The other object to intersect 'object'.
i
Intersect object's ith surface.
j
Intersect object2's jth surface.
max_dis
A number to control the output intersection curves.
brepname
When convert a non-BREP object to BREP, the result BREP's name.
comb
The comb to be converted to non-evaluated BREP form.
suffix
The suffix in the generated BREPs' names.

Return Value(s)

No Return Values for this command.


Description

The "facetize" command creates new_object as a BOT shape by tessellating all the primitive shapes in old_object and then performing any Boolean operations specified in old_object.


Example(s)

mged> facetize region1.nmg region1.r
Create a facetized BOT version of existing object region1.r.


See Also

No related commands.