**************************** Readcde.txt ******************************** The program with dialog box can only run in R2. If you feel any problems, please email us to http://www.ittc.co.jp . -------------------------September,1998 By Int'l Technology Transfer Corp.------------------ 1. move.cde Move and copy point,line,arc(circle),polygon,polyline and spline. Conic is not supported yet. This is only valid in R2 since Dialog is used. Check box for Color creates the entity with system default color. 2. rot.cde Rotate the entities same as above. No dialog is used. 3. mirror.cde Mirror the entities same as above. This is only valid in R2 since Dialog is used. 4. spl.cde Create the spline with the natural ends having the sequential points sorted. The axis or the first and the second point is indicated for sorting points. 5. spllen.cde Get the curve length of the spline 6. splpt.cde Create new point on the spline with the curve length from the point specified. 7. splptln.cde Compute curve length between any two points on the spline. 8. splproj.cde Project the spline onto the present view with the specified depth value. 9. chkang.cde Calculate angle between the tangent vector on the spline and the line set as the pattern file on the specified point of the spline. 10. deldbpt.cde Delete the points overlayed on the same location. 11. lntospl.cde Convert the continuous lines such as NC data to a spline. It does not make any fillet curve between the adjacent lines. The number of lines should not execeed 200 for single spline. 12. offspllen.cde Creating new spline with the offset so that the length of the new one is longer/shorter than the old one with the value specified. 13. setptn.cde Setting the pattern file onto the point of the spline of which tangent vector makes the specified angle with the pattern shape. 14. ln_spl.cde Convert the continuous lines such as NC data to a spline. This makes specified fillet curve between lines. The number of lines should not execeed 66 for single spline since fillet curve increases two segments between the adjacent lines. 15. pt_spl.cde Create line with the minimum distance from the point to the spline. 16. vpt_spl.cde Same as above except in view mode. This can be used for drawing perpendicular line to 3D spline. 17. arrgpt.cde Create spline with natural ends from the points which has the minimun distance between the adjacent points. This is useful to create spline from point crowd data such as digitized. 18. lsm.cde Interpolate the points and create the smooth spline by Least Square Method. All points should be sequentially ceated. Use spl.cde for sorting points. Utilities 1. Faro2ck.cde (Limited) Create Cadkey entities from XYZ coordinate from FARO's digitizer with 19200 bau rate. Only Point and line are valid for creation. 2. Ncabs.cde (Limited) Convert absolute G code data for Funuc NC to Cadkey entity. 3000 lines of data are valid for conversion. 3. Msrb2ck.cde (Limited) Create Cadkey entities from XYZ coordinate from Microscribe digitizer with 19200 bau rate. Only Point and line are valid for creation. ------------------------------------------------------------------------ To use CDE file comfortably, use CDL and you need not open and close CDE. After copying CDE files into Cadkey's CDE directory, run CDL file. Here is a sample CDL program. ************************************************ clear :menu getmenu "Function","Move","Rotate","Mirror" on (@key+3) goto exit,exit,menu, if (@key==1) goto move if (@key==2) goto rot if (@key==3) goto mirror goto menu :move cdeopen "move.cde" move cdeclose "move.cde" goto menu :rot cdeopen "rot.cde" rot cdeclose "rot.cde" goto menu :mirror cdeopen "mirror.cde" mirror cdeclose "mirror.cde" goto menu :exit clear ***********************************************