home *** CD-ROM | disk | FTP | other *** search
-
- ------------------------------------------------------------
- ------------------------------------------------------------
- CADKEY/DOS (version 3.5)
- README.DOC
- ------------------------------------------------------------
- ------------------------------------------------------------
- In addition to this file, please read the "Before You Begin"
- letter, included with this release. It contains information
- about the enhancements for this release, installing, and
- operating CADKEY/DOS.
-
-
- ---------------------
- MINIMUM REQUIREMENTS
- ---------------------
-
- The following are the minimum requirements to run CADKEY/DOS
- (version 3.5):
-
- * An IBM XT, AT, or Compaq 386 computer, or compatible.
-
- * DOS, version 2.1 or later.
-
- * 640K (We strongly recommend a minimum of 1 meg VDISK
- expanded memory for RAM disk usage.)
-
- * One floppy disk drive. (Our system disks are 1.2mb or
- 3 1/2". However, upon request we will supply 360K disks.)
-
- * One hard disk drive with a minimum of 4mb of free
- space.
-
- * A graphics display card. (The CONFIG program contains a
- list of the graphics devices supported by CADKEY).
-
- * If you want hard copy output, a printing or plotting
- device. (The CONFIG program contains a list of the
- printer/plotter devices supported by CADKEY).
-
-
- Recommended Hardware Options
- ----------------------------
- We highly recommend the following hardware options:
-
- * A math coprocessor.
-
- * A tablet or mouse input device. (The CONFIG program
- contains a list of the input devices supported by CADKEY).
-
-
- -------------------------
- DOCUMENTATION CORRECTIONS
- -------------------------
-
- Selecting CONFIG Options
- ------------------------
- Page 2-5, 2-6
- To select a CONFIG option you must press the corresponding
- number key on the keyboard and then press the Enter key. You
- cannot use the function keys as described.
-
-
- Exiting CADKEY
- --------------
- Page 2-28
- Look in the Break Function Window for the key(s) to press to
- exit CADKEY. F10 is no longer used to exit CADKEY.
-
-
- Masking
- -------
- Page 11-20
- You are allowed to mask on only one level at a time. Ignore
- references to entering more than one level.
-
-
- VIEW, ENTITY, LINE
- --------------------
- Page 11-25
- The VIEW, ENTITY function incorrectly describes LINE as a
- planar entity.
-
-
- DRIVERS.DOC
- -----------
- Use the graphics card and driver information in the DRIVERS.DOC
- file instead of the graphics card information in the HARDWARE
- SETUP section of the CADKEY Utilities and Customization Guide.
- The DRIVERS.DOC file can be found on the CADKEY Program Disk 1.
-
-
- ----------------------------------------
- CADL (Version 3.5) DOCUMENTATION CHANGES
- ----------------------------------------
-
- The following information is in addition to the CADL Enhancement
- Addendum and the information found in your CADL Reference
- Section.
-
-
- Corrections to Existing Commands
- --------------------------------
-
- FTEXT - There is no mirror text flag "mir".
-
- GENDIM - The range for number of lines "nlines" is 0 - 9.
-
- SET DEVOUT - Missing optional open mode parameter after
- filename. If set to 0 or not supplied, the file is opened in
- overwrite mode, destroying the previous contents of the file (if
- it exists). If set to 1, the file is opened in append mode
- whereby new data is added to the end of the file (if it exists).
- For both modes, if the file doesn't exist, a new one is created.
-
- TEXT - There is no mirror text flag "mir".
-
- VLINE - Missing the 14th optional argument, line width "lwdt".
- The line width can be any odd value ranging from 1 - 15. If it is
- 0 or not supplied (the default) the current system line width is
- used.
-
-
- Enhancements to Existing Commands
- ---------------------------------
-
- FTEXT - The "font" parameter, if between 1 and 6, emulates old
- style fonts (version 3.12 and earlier). A negative font number
- (between -15 and -1) selects a new style font that uses the
- "slnt" and "fill" parameters described next.
-
- Added two optional parameters "slnt" and "fill" at the end of the
- list. "Slnt" specifies the slant of the text within the range of
- -31 to 31, where 0 means no slant. "Fill" specifies whether or
- not the text should be filled (0=not filled, 1=filled), if it's a
- fillable font.
-
- GENDIM - Same as for FTEXT.
-
- GETMENU - 12th parameter "dflt" (default menu selection). This
- parameter can be set to any value from 1 - n, where 'n' is the
- number of menu items displayed. If the user presses the <Enter>
- key instead of a function key, this value is returned as the menu
- item selected. (e.g., if dflt is passed as 3 and <Enter> is
- pressed, @key will contain the value 3--the same as if F3 is
- pressed.) In addition, if the prompt string contains a "%s"
- specifier, the menu text of the default item is put in its place.
- If "dflt" is set to zero or not supplied (the default), the value
- returned in @key for the <Enter> key is -1 and no processing of
- the "%s" specifier takes place.
-
- LABEL - Same as for FTEXT.
-
- SET COLOR - The color number can now be specified as 0, which
- indicates the background color.
-
- SETTEXT - Same as for FTEXT.
-
- TEXT - Same as for FTEXT.
-
-
- Also, if the color parameter for any primitive is set to 0, the
- primitive is assigned the background color. In previous versions
- the current system color was assigned. To assign the current
- system color, either the parameter must be left off entirely
- (including any additional parameters following it) or the
- parameter must be specified as a null field, i.e., " ,,". The
- following examples illustrate both methods:
-
- LINE 0.8, 3.1, 0.0, 3.3, 3.8, 0.0
-
- CIRCLE 2.5, 1.5, 0.0, 0.7, 1, , 1, 1, 0, 0, 1, 1
-
-
- New Commands
- ------------
-
- GETCOLOR puts up the color menu allowing you to choose a
- color.
-
- Format: GETCOLOR prompt, retcol
-
- Input parameters:
-
- prompt (string) - text string to be displayed on
- the CADKEY Prompt Line. The
- total length of the text string
- must not exceed 68 characters
- or truncation will occur.
-
- Output parameters:
-
- retcol (ivar) - variable to store return color
- index.
-
- System variables set:
-
- @ERROR (ivar) error code
- 0 = no error
- 1 = exception exit (F10 or ESC)
-
- @KEY (ivar) code for last key hit
- -3 = ESCAPE
- -2 = F10
- -1 = CR (ENTER)
- 0 = value returned in "retcol"
-
- GETENV - returns the text string assigned to a system environment
- variable.
-
- Format: GETENV evar, retstr
-
- Input parameters:
- evar (word) - system environment variable name
- Output parameters:
- retstr (svar) - variable to store return string.
- Variable must begin with a '$'
- character. The returned string
- will be a null terminated array
- of character.
-
- System variables set:
-
- @ERROR (ivar) error code
- 0 = no error
- 1 = environment variable
- undefined
-
- SET cdlpath, path
-
- path (word) directory pathname
-
- Sets the CADL directory pathname to the specified path.
- If the path is invalid, @error is set to 1.
-
- SET coord, mode
-
- mode (ival) coordinate mode
-
- Sets the coordinate mode to either VIEW (mode=0) or WORLD
- (mode=1).
-
- SET cview, vnum
-
- vnum (ival) system view number
-
- Sets the construction view to the specified number. If
- zero, the construction view is disabled. If an invalid
- view number is given @error is set to 1.
-
- SET textfill, mode
-
- mode (ival) text fill mode
-
- Indicates whether text should be filled or not (0=not
- filled, 1=filled).
-
- SET textslant, ang
-
- ang (ival) text slant angle
-
- Sets the current text slant angle. Values in the range of
- -31 to 31 are permitted, with 0 meaning no slant.
-
-
- New CADL Call Functions
- -----------------------
-
- Function: cdlv2sysv, cv, sv
- Action: Convert CADL reference view number into its
- corresponding system view number.
- Input: cv (ival) CADL reference view number
- Output: sv (ival) system view number
- Error: 1 - invalid CADL reference view number
-
-
- Function: inq_vp_ndc, vpnum, xmin, ymin, xmax, ymax
- Action: Return NDC bounds of specified viewport.
- Input: vpnum (ival) viewport number
- Output: xmin (fval) X minimum of viewport bounding box
- ymin (fval) Y minimum of viewport bounding box
- xmax (fval) X maximum of viewport bounding box
- ymax (fval) Y maximum of viewport bounding box
- Error: 1 - invalid viewport number
-
-
- Function: memcpy, dst, didx, src, sidx, cnt
- Action: Copy 1 or more elements from source 1-D array (at
- source index) to destination 1-D array (at
- destination index)
- Input: didx (ival) destination array index
- src (val) source array
- sidx (ival) source array index
- cnt (ival) count of elements to copy
- Output: dst (val) destination array
- Error: 1 - source or destination not 1-D array
- 2 - index or count out of range
-
-
- New System Variables
- --------------------
-
- @curvp Currently active viewport
- @cview Current construction view
- @cviewmat[] Current construction view matrix
- @pltpath Plot directory path
- @prtpath Part directory path
- @ptnpath Pattern directory path
- @sfpath Scratch file directory path
- @suppath Support directory path
- @viewmat[] Current view matrix
-
-
- -----------
- MACRO FILES
- -----------
-
- Note
- ----
- Please be methodical when creating macros. You need to
- carefully edit macro text files because they are very system
- and function dependent. An unexpected step within a macro
- will yield unexpected results.
-
-
- On-line Calculator
- ------------------
- The following are new register variables reserved by the
- system:
-
- @curvp Currently active viewport
- @cview Current construction view
- @cviewmat[] Current construction view matrix
- @viewmat[] Current view matrix
-
-
- MACRO_COORD
- -----------
- The MACRO_COORD statement accommodates cursor picks using a
- multiple viewport system. Its syntax is as follows:
-
- MACRO_COORD (vp_num, x, y, z)
-
- Where:
-
- vp_num - The graphics viewport number
- x, y, z - A 3-D world coordinate or a 2-D normalized
- device coordinate.
-
- NOTE:
- ------
- If vp_num is less than zero, then (x, y) contain a 2-D
- normalized device coordinate. Otherwise, (x, y, z) contain a
- 3-D world coordinate that was picked in the viewport
- corresponding to vp_num.
-
-
- Chaining macros
- ---------------
- Chaining macros has been enhanced to chain to one of two
- different macros. To chain one macro to another, simply
- press CTRL-E before ending the recording of the current
- macro. When this is done you are prompted to enter the
- following information:
-
- 1) a loop condition,
-
- 2) the macro to chain to if this loop condition is non-zero
- (true) and
-
- 3) the macro to chain to if the loop condition is zero
- (false).
-
- This must be the last thing you do when recording a macro
- because it automatically ends recording of the macro. The
- following is an example of the text when dumped out using
- the TXT OUT command:
-
- Example:
-
- IF (i < 10)
- JUMP LINE
- ELSE
- JUMP CIRCLE
-
- Where:
-
- (i < 10) - Loop condition evaluated to be either one (true)
- or zero (false).
-
- LINE - Macro to execute if this loop condition is one
- (true).
-
- CIRCLE - Macro to execute if this loop condition is zero
- (false).
-
-
- -------------
- GENERAL NOTES
- -------------
-
- A New Font Generation File
- --------------------------
- Font files now carry more information which allow greater
- functionality. Because earlier versions of CADKEY font files
- are now incompatible with CADKEY version 3.5, you need to
- create version 3.5 font files using the new font generation
- utility program included with this release.
-
-
- Increase in % of Usage
- ----------------------------
- Because of changes in the CADKEY part file structure,
- changes in the data base for DOS-UNIX compatibility, and
- changes for greater precision (ALL entities, including
- dimensions, are now stored in 64-bit double precision),
- CADKEY version 3.5 part file size, on-line scratch memory,
- and disk space usage may increase by up to 50%.
-
-
- Graphics Driver Support
- -----------------------
- CADKEY (version 3.5) supports drivers written to the
- CADKEY's own DOS resident driver standard and to HALO
- graphics drivers. The list of supported graphics cards, the
- respective driver name, and instructions are included with
- this release. For information on how to obtain a developer's
- toolkit for writing CADKEY (version 3.5) graphics drivers to
- this standard, contact Chris Penna,Third-party Program
- Manager (CADKEY, INC. 440 Oakland Street,
- Manchester, CT 06040 (203) 647-0220)
-
-
- ------------------------------------------------
- ENHANCEMENT REQUESTS and CADKEY/DOS version 3.5
- ------------------------------------------------
-
- Our dedicated users have submitted a large number of
- enhancement requests--the majority of which relate to
- graphics interface, hardware support, and improved precision
- in high-level geometry creation operations. We incorporated
- as many of these enhancements as possible in CADKEY
- version 3.5 and will continue to incorporate requested
- enhancements as fast as we can, so please be patient. To
- check on the status of a requested enhancement or error
- correction, contact the Quality Control department
- (CADKEY, INC. 440 Oakland Street, Manchester, CT 06040
- (203) 647-0220)
-
-
- ---------------------------------------------------
- CORRECTIONS FOR VERSIONS UP TO, AND INCLUDING, 3.12
- ---------------------------------------------------
-
- The following is a list of bugs fixes. Although most of the
- bugs were reported as isolated cases, they were viewed as
- important corrections:
-
- * Ordinate dimensions are no longer being corrupted in
- isolated cases with large parts or when using the MODIFY
- function.
-
- * There is now increased accuracy when trimming curves
- (especially tangency intersections) at very small or large
- scales.
-
- * Filled fonts and toleranced dimensions now plot correctly.
-
- * Zooming in or out to extremes no longer produces graphics
- display errors.
-
- * CADL bugs involving grouped entities or groups were
- resolved.
-
- * We solved the problem of a data base write error being
- encountered when using large splines, ordinate dimensions,
- or polylines. This was a problem in only a few isolated
- cases.
-
- * The functions that did not allow pauses for variable input
- have been fixed so you will no longer experience MACRO
- errors.
-
- * We have fixed the bug that, in isolated cases, produced
- errors when attempting to edit MACRO libraries.
-
- * There is no longer a problem with the SIM test failing on
- Compaq 386S machines.
-
- * You can now accurately trim conics and splines.
-
- * The isolated errors in the SPLINE 3D AUTO function were
- fixed.
-
- * File note entities now recognize the entire file path
- name.
-
- ------------------------------------------------------------
- ------------------------------------------------------------
- END OF README.DOC
- ------------------------------------------------------------
- ------------------------------------------------------------
-