Name

in — Allows the user to type in the arguments needed to create a shape with the name new_shape_name of the type shape_type. The command may be invoked with no arguments, and it will prompt the user for all needed information.

Synopsis

in [[-f] | [-s]] [new_shape_name] [shape_type] {parameters}

DESCRIPTION

Allows the user to type in the arguments needed to create a shape with the name new_shape_name of the type shape_type. The command may be invoked with no arguments, and it will prompt the user for all needed information. The -s option will invoke the primitive edit mode on the new shape immediately after creation. The -f option does not draw the new shape, and therefore the -s option may not be used in conjunction with -f. The possible values for shape_type are:

  • arb8 -- ARB (eight vertices)

  • arb7 -- ARB (seven vertices).

  • arb 6 -- ARB (six vertices).

  • arb 5 -- ARB (five vertices).

  • arb 4 -- ARB (four vertices).

  • arbn -- Arbitrary polyhedron with arbitrary number of vertices (plane equations).

  • bot -- Bag of Triangles.

  • dsp -- Displacement Map.

  • pipe -- Pipe (run of connected pipe or wire).

  • ebm -- Extruded Bit Map.

  • vol -- Voxels.

  • hf -- Height Field deprecated, see dsp.

  • ars -- Arbitrary Faceted Solid.

  • half -- Half Space.

  • sph -- Ellipsoid (center and radius).

  • ell -- Ellipsoid (center and three semi-axes).

  • ellg -- Ellipsoid (foci and chord length).

  • ell1 -- Ellipsoid (center, one semi-axis, and a radius of revolution).

  • tor -- Torus.

  • tgc -- Truncated General Cone (most general TGC).

  • tec -- TGC (top radii are scaled from base radii).

  • rec -- TGC (right elliptical cylinder).

  • trc -- TGC (truncated right circular cone).

  • rcc -- TGC (right circular cylinder).

  • box -- ARB (vertex and three vectors).

  • raw -- ARB (right angle wedge).

  • rpp -- ARB (axis aligned rectangular parallelepiped).

  • rpc -- Right Parabolic Cylinder.

  • rhc -- Right Hyperbolic Cylinder.

  • epa -- Elliptical Paraboloid.

  • ehy -- Elliptical Hyperboloid.

  • eto -- Elliptical Torus.

  • part -- Particle.

EXAMPLES

The example shows the use of the in command to create a shape of a specified type.

Example 1. Create a new shape in the form of a right angle wedge.

mged> in new1 raw 0 0 0 0 0 1 1 0 0 0 1 0

Creates an ARB named new1 in the form of a right angle wedge.


AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.