Difference between revisions of "MGED CMD make"

From BRL-CAD
m
(Argument(s))
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
==Syntax==
 
==Syntax==
:make -t | new_shape_type
+
:make -t | new_name new_shape_type
 
 
  
 
==Argument(s)==
 
==Argument(s)==
Line 15: 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 51: Line 52:
 
<LI>grip -- support for joints. </LI>
 
<LI>grip -- support for joints. </LI>
 
<LI>extrude -- experimental. </LI>
 
<LI>extrude -- experimental. </LI>
<LI>sketch -- experimental. </LI>
+
<LI>[[sketch]] -- experimental. </LI>
 
</UL>
 
</UL>
 
  
 
==Example(s)==
 
==Example(s)==

Latest revision as of 12:08, 6 April 2013

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.
  • 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