MGED CMD units
From BRL-CAD
units[edit]
Contents
Syntax[edit]
- units [units_type]
Argument(s)[edit]
- units_type
- Valid Type from bewlow list.
Return Value(s)[edit]
- Without any arguments, units will return the current type of units that mged is using.
Description[edit]
If a units_type is specified, mged will switch to editing in the indicated units. The actual database is always stored in millimeters, and the display is adjusted to the users choice of units. If the units_type specified on the command line is one of the types allowed, it will be written to the database file as the preferred units and succeeding invocations will use those units. The units_type strings that will be remembered as the preferred editing unit are:
- mm
- millimeters.
- millimeter
- millimeters.
- cm
- centimeters.
- centimeter
- centimeters.
- m
- meters.
- meter
- meters.
- in
- inches.
- inch
- inches.
- ft
- feet.
- foot
- feet.
- feet
- feet.
- um
- micrometers.
Units_type strings that may be used, but will not be remembered as the preferred editing units, are:
- angstrom.
- decinanometer.
- nanometer.
- nm.
- micron.
- micrometer.
- km.
- kilometer.
- cubit.
- yd.
- yard.
- rd.
- rod.
- mi.
- mile.
- nmile.
- nautical mile.
- au.
- astronomical unit.
- lightyear.
- pc.
- parsec.
Example(s)[edit]
- mged> units in
- Switch to editing in "inches" and remember this as the preferred editing units for this database.
See Also[edit]
- No related commands.
Page Generated by David Loman on: 10/11/2007 at: 2:08:23 PM