Hi all, Attached is the source for line_test_kral and the output. I've reinstalled gsl libs doing it as per the instructions. ran make check and there are no failures. Maybe someone can find glaring errors in my source or conclude that certain lines in Kral don't work in APT360. Thanks. Dave
partno lntest testing line defs from Kral remark line numbers are the number for the example in Kral table 3.2 remark lines that fail are marked; they usually fail with error = 1000; remark whether that really indicates that they won't work with apt360-1.0.2 remark there is some necessary magic or better proofing I don't know. remark NOTE: I did install the gsl libs 1.15 but apt360 doesn't seem to realize. remark this may have something to do with the failure of those defs that use conics remark but tabsys works ... clprnt remark geometric line defs follow remark canonical line/x1,y1,z1,x2,y2,z2 pt1 = point/-5, 5 pt2 = point/5,3 pt3 = point/0.399653, 1.173806 pt4 = point/0.850347, 0.393181 pt5 = point/0.000000, 0.422650 pt6 = point/-2.090700, 3.030000 pt7 = point/1.10000, 1.500000 c1 = circle/center,pt2,radius,2. c2 = circle/center, pt1, radius, 1. el1 = ellips/center, pt1, 1, .5, 30 tab1 = tabcyl/noz, spline, -.1, 3.2, .3, 2.2, 1.1, 1.5, 2.2, 1.1 l1 = line/3,-5,-2,5,3,4 remark l1.1 = line/3,-5,5,3 OK remark l1.2 = line/pt1, pt2 OK remark NO.... line/xaxis|yaxis, offset l2 = line/xaxis, 5 $$ error = 1000 remark line/Slope, slope | atangl, theta, interc (xaxis | yaxis) intersect l3 = line/slope,1.166666667, interc, xaxis, -6 remark l5.1 = line/atangl, 20.5, interc, xaxis, 9 OK remark line/point, parlel | perp, line l4 = line/pt1, parlel, l1 remark l5 = line/pt2, perpto, l1 OK remark line/point, atangl,theta, xaxis | yaxis l5 = line/pt1, atangl, 60, yaxis remark l5.1 = line/pt2, atangl, 10, xaxis OK remark line/point, atangl, theta, line l6 = line/pt1, atangl, 30, l1 remark /parlel, line (xlarge, xsmall, ylarge, ysmall), offset l7 = line/parlel, l1, ysmall, 3 remark /point, SLOPE, slope, (xaxis | yaxis) l8 = line/pt1, slope, 1, xaxis remark l8.1 = line/pt1, slope, 1, yaxis OK remark /point, SLOPE, slope, line l9 = line/pt1, slope, 1., L2 remark /point, (right | left), tanto, circle l10 = line/pt1, left, tanto, c1 remark NO..... /(xlarge, xsmall, ylarge, ysmall), tanto, circle, atangl, theta remark l11 = line/ysmall, tanto, c1, atangl, 30 error = 1000 remark NO ... /atangl, theta, line, tanto, circle, (xlarge, xsmall, ylarge, ysmall) remark l12 = line/atangl, 30, l1, tanto, c1, ysmall error = 1000 remark /(left | right) tanto, circle1, (right | left), tanto, circle2 l13 = line/left, tanto, c1, right, tanto, c2 remark NO... /point, (right | left) tanto, conic remark l14 = line/pt1, right, tanto, el1 error = 1000 remark can't believe this doesn't work remark NO... /point1, perpto, conic, point2, point3 remark l15 = line/pt5, perpto, el1, pt3, pt4 error = 1000 remark /point1, (tanto | perpto), tabcyl, point2 l16 = line/pt6, tanto, tab1, pt7 cutter/0.0 intol/0.0005, 0.005 outtol/0.0005, 0.003 fini
dave@cinci:~$ cd apt360-1.0.2/ dave@cinci:~/apt360-1.0.2$ apt examples/line_test_kral.apt Aptos Version: Apt360 1.0.2 report bugs to crotchet@xxxxxxxxxxxxxxx 1 N/C 360 APT VERSION 4, MODIFICATION 4 DATE= 14Jun12 TIME OF DAY IN HRS./MIN./SEC IS 08:07:48 0 TABLE USAGE DURING INPUT TRANSLATION PASS ONE PASS TWO ALLOCATED USED DYNAMIC ALLOCATION VST 2750 48 VST 49 PTPP 2225 270 PTPP 270 SCALARS 0 SCALARS 0 CANON 2225 0 CANON 5881 1 PARTNO LNTEST TESTING LINE DEFS FROM KRAL 2 REMARK LINE NUMBERS ARE THE NUMBER FOR THE EXAMPLE IN KRAL TABLE 3.2 3 REMARK LINES THAT FAIL ARE MARKED; THEY USUALLY FAIL WITH ERROR = 1000; 4 REMARK WHETHER THAT REALLY INDICATES THAT THEY WON'T WORK WITH APT360-1.0.2 5 REMARK THERE IS SOME NECESSARY MAGIC OR BETTER PROOFING I DON'T KNOW. 6 REMARK NOTE: I DID INSTALL THE GSL LIBS 1.15 BUT APT360 DOESN'T SEEM TO REALIZE. 7 REMARK THIS MAY HAVE SOMETHING TO DO WITH THE FAILURE OF THOSE DEFS THAT USE CON 8 REMARK BUT TABSYS WORKS ... 9 CLPRNT 10 REMARK GEOMETRIC LINE DEFS FOLLOW 11 12 REMARK CANONICAL LINE/X1,Y1,Z1,X2,Y2,Z2 13 14 PT1 = POINT/-5, 5 15 PT2 = POINT/5,3 16 PT3 = POINT/0.399653, 1.173806 17 PT4 = POINT/0.850347, 0.393181 18 PT5 = POINT/0.000000, 0.422650 19 PT6 = POINT/-2.090700, 3.030000 20 PT7 = POINT/1.10000, 1.500000 21 C1 = CIRCLE/CENTER,PT2,RADIUS,2. 22 C2 = CIRCLE/CENTER, PT1, RADIUS, 1. 23 24 EL1 = ELLIPS/CENTER, PT1, 1, .5, 30 25 TAB1 = TABCYL/NOZ, SPLINE, -.1, 3.2, .3, 2.2, 1.1, 1.5, 2.2, 1.1 TABULATED CYLINDER TAB1( 0) 0 .2700 .3200 .3700 .4200 .4700 CURVATURE .+........................+........................+........................+........................+. 1 .436240 .. * . 2 .437098 .. * . 3 .294360 .. * . 4 .000000 .* . CURVATURE .+........................+........................+........................+........................+. 0DATA STORAGE= 49 0ROTATION MATRIX 0 1.00000000 .00000000 .00000000 0 .00000000 1.00000000 .00000000 0 .00000000 .00000000 1.00000000 0NUMBER OF POINTS= 6 U V A B LENGTH MAX MIN -1.36787266 13.11929932 .00000000 .00000000 10.00000000 .00000000 .00000000 -.10000000 3.20000000 .00000000 .24042176 1.07703296 .00000000 -.06473554 .30000000 2.20000000 -.02481030 .23484444 1.06301458 .00000000 -.05195643 1.10000000 1.50000000 .00000000 .15445398 1.17046999 .00000000 -.04519594 2.20000000 1.10000000 .00000000 .00000000 10.00000000 .00000000 .00000000 12.05598465 -.59102532 26 27 28 L1 = LINE/3,-5,-2,5,3,4 29 30 REMARK L1.1 = LINE/3,-5,5,3 OK 31 32 REMARK L1.2 = LINE/PT1, PT2 OK 33 34 35 REMARK NO.... LINE/XAXIS|YAXIS, OFFSET 36 L2 = LINE/XAXIS, 5 $$ ERROR = 1000 0***** CARD NO. ,ISN 36, ERROR NUMBER 1000, NAME = L2 ( 0) $$$$$$ 37 38 39 REMARK LINE/SLOPE, SLOPE | ATANGL, THETA, INTERC (XAXIS | YAXIS) INTERSECT 40 L3 = LINE/SLOPE,1.166666667, INTERC, XAXIS, -6 41 REMARK L5.1 = LINE/ATANGL, 20.5, INTERC, XAXIS, 9 OK 42 43 REMARK LINE/POINT, PARLEL | PERP, LINE 44 L4 = LINE/PT1, PARLEL, L1 45 REMARK L5 = LINE/PT2, PERPTO, L1 OK 46 47 REMARK LINE/POINT, ATANGL,THETA, XAXIS | YAXIS 48 L5 = LINE/PT1, ATANGL, 60, YAXIS 49 REMARK L5.1 = LINE/PT2, ATANGL, 10, XAXIS OK 50 51 REMARK LINE/POINT, ATANGL, THETA, LINE 52 L6 = LINE/PT1, ATANGL, 30, L1 53 54 REMARK /PARLEL, LINE (XLARGE, XSMALL, YLARGE, YSMALL), OFFSET 55 L7 = LINE/PARLEL, L1, YSMALL, 3 56 57 REMARK /POINT, SLOPE, SLOPE, (XAXIS | YAXIS) 58 L8 = LINE/PT1, SLOPE, 1, XAXIS 59 REMARK L8.1 = LINE/PT1, SLOPE, 1, YAXIS OK 60 61 REMARK /POINT, SLOPE, SLOPE, LINE 62 L9 = LINE/PT1, SLOPE, 1., L2 63 64 REMARK /POINT, (RIGHT | LEFT), TANTO, CIRCLE 65 L10 = LINE/PT1, LEFT, TANTO, C1 66 67 REMARK NO..... /(XLARGE, XSMALL, YLARGE, YSMALL), TANTO, CIRCLE, ATANGL, THETA 68 REMARK L11 = LINE/YSMALL, TANTO, C1, ATANGL, 30 ERROR = 1000 69 70 REMARK NO ... /ATANGL, THETA, LINE, TANTO, CIRCLE, (XLARGE, XSMALL, YLARGE, YSMA 71 REMARK L12 = LINE/ATANGL, 30, L1, TANTO, C1, YSMALL ERROR = 1000 72 73 REMARK /(LEFT | RIGHT) TANTO, CIRCLE1, (RIGHT | LEFT), TANTO, CIRCLE2 74 L13 = LINE/LEFT, TANTO, C1, RIGHT, TANTO, C2 75 76 REMARK NO... /POINT, (RIGHT | LEFT) TANTO, CONIC 77 REMARK L14 = LINE/PT1, RIGHT, TANTO, EL1 ERROR = 1000 78 REMARK CAN'T BELIEVE THIS DOESN'T WORK 79 80 REMARK NO... /POINT1, PERPTO, CONIC, POINT2, POINT3 81 REMARK L15 = LINE/PT5, PERPTO, EL1, PT3, PT4 ERROR = 1000 82 83 REMARK /POINT1, (TANTO | PERPTO), TABCYL, POINT2 84 L16 = LINE/PT6, TANTO, TAB1, PT7 0TABCYL TANGENT LINE NOT FOUND 0***** CARD NO. ,ISN 84, ERROR NUMBER 1005, NAME = L16 ( 0) $$$$$$ 85 86 87 CUTTER/0.0 88 INTOL/0.0005, 0.005 89 OUTTOL/0.0005, 0.003 90 FINI 1 ELAPSED TIME IS .00000 MINUTES 0 dave@cinci:~/apt360-1.0.2$