MK_HANDLE(1)

NAME
mk_handle - creates an mged file containing handles

SYNOPSIS
mk_handle [ options... ]

DESCRIPTION
Mk_handle is a program to create an mged data base of handles. Up to twenty-six handles of the same dimensions may be created. Mk_handle uses libwdb to create an mged data base. The handles are composed of three cylinders, two tori, and two arb8s. This program may be run interactively or the user may specify options on a command line. If the user chooses to run the program interactively he answers the questions as the program prompts him. Below are the options that can be used on the command line.

  Options

-fname.g
    Mged file name.

-n# The number of handles to be created. This number must be less than or equal to 26.

-l# Length of handle in millimeters.

-h# Height of handle in millimeters.

-r1#
    Radius, r1, of the tori in millimeters.

-r2#
    Radius, r2, of the tori and radius of the cylinders in millimeters

EXAMPLE
The following is an example from an interactive session.

    $ mk_handle
    This program constructs a handle with the base centered
    at (0,0,0) and the height extending in the positive z-
    direction.  The handle will be composed of 3 cylinders,
    2 tori, and 2 arb8s.
    Enter the name of the mged file to be created (25 char max).
    	handle.g
    Enter the number of handles to create (26 max).
    	3
    Enter the length and height of handle in mm.
    	200 100
    Enter the radius of the tori in mm.
    	20
    Enter the radius of the cylinders in mm.
    	10
    mged file name:  handle.g
    length:  200.000000 mm
    height:  100.000000 mm
    radius of tori:  20.000000 mm
    radius of cylinders:  10.000000 mm
    number of handles:  3
    The following is the same example where all dimensions are on the command line.
    	mk_handle -fhandle.g -n3 -l200 -h100 -r120 -r210
    In both these examples three handles are created with a length of 200mm, height of 100mm, a radius of 20mm for the rounding, and a radius of 10mm for the cylinders. The mged file created in each case is handle.g.

SEE ALSO
mk_bolt(1), mk_window(1), mk_winfrm(1), mk_gastank(1)

AUTHOR
Susan A. Coates