Difference between revisions of "MGED CMD make"

From BRL-CAD
(Syntax)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
  
 
==Syntax==
 
==Syntax==
:make -t | new_shape_type name
+
:make -t | new_name new_shape_type
  
 
==Argument(s)==
 
==Argument(s)==
Line 14: Line 14:
 
:: Type of new shape to make.
 
:: Type of new shape to make.
  
 +
: '''new_name'''
 +
:: Moniker of the new object.
  
 
==Return Value(s)==
 
==Return Value(s)==
Line 30: Line 32:
 
<LI>[[BRL-CAD_Primitives|arb4]] -- ARB (four vertices). </LI>
 
<LI>[[BRL-CAD_Primitives|arb4]] -- ARB (four vertices). </LI>
 
<LI>[[BRL-CAD_Primitives|bot]] -- Bag of Triangles. </LI>
 
<LI>[[BRL-CAD_Primitives|bot]] -- Bag of Triangles. </LI>
 +
<LI>[[BRL-CAD_Primitives|brep]] -- Boundary representation. </LI>
 
<LI>[[BRL-CAD_Primitives|sph]] -- Ellipsoid (center and radius). </LI>
 
<LI>[[BRL-CAD_Primitives|sph]] -- Ellipsoid (center and radius). </LI>
 
<LI>[[BRL-CAD_Primitives|ell]] -- Ellipsoid (center and three semi-axes). </LI>
 
<LI>[[BRL-CAD_Primitives|ell]] -- Ellipsoid (center and three semi-axes). </LI>

Latest revision as of 01:21, 12 July 2023

make[edit]

Syntax[edit]

make -t | new_name new_shape_type

Argument(s)[edit]

-t
Return a list of shape types handled by make.
new_shape_type
Type of new shape to make.
new_name
Moniker of the new object.

Return Value(s)[edit]

-t
Return a list of shape types handled by make.


Description[edit]

The "make" command creates a new_shape of the indicated type. The new_shape is sized according to the current view size and is dependent on the type. The possible values for type are:

  • arb8 -- ARB (eight vertices).
  • arb7 -- ARB (seven vertices).
  • arb6 -- ARB (six vertices).
  • arb5 -- ARB (five vertices).
  • arb4 -- ARB (four vertices).
  • bot -- Bag of Triangles.
  • brep -- Boundary representation.
  • sph -- Ellipsoid (center and radius).
  • ell -- Ellipsoid (center and three semi-axes).
  • ellg -- Ellipsoid (foci and chord length).
  • tor -- Torus.
  • tgc -- Truncated General Cone (most general TGC).
  • tec -- Truncated General Cone (top radii are scaled from base radii).
  • rec -- Truncated General Cone (right elliptical cylinder).
  • trc -- Truncated General Cone (truncated right circular cone).
  • rcc -- Truncated General Cone (right circular cylinder).
  • half -- Half Space.
  • rpc -- Right Parabolic Cylinder.
  • rhc -- Right Hyperbolic Cylinder.
  • epa -- Elliptical Paraboloid.
  • ehy -- Elliptical Hyperboloid.
  • eto -- Elliptical Torus.
  • part -- Particle.
  • pipe -- Pipe (run of connected pipe or wire).
  • nmg -- Non-Manifold Geometry (an NMG consisting of a single vertex is built).
  • grip -- support for joints.
  • extrude -- experimental.
  • sketch -- experimental.

Example(s)[edit]

mged> make shapea sph
Create a sphere named shapea
mged> make -t
Return a list of shape types handled by make


See Also[edit]

in
BRL-CAD Primitives

Page Generated by David Loman on: 10/11/2007 at: 1:49:49 PM