[apt4ssx8] yalt

  • From: dave <dengvall@xxxxxxxxxxx>
  • To: apt4ssx8@xxxxxxxxxxxxx
  • Date: Wed, 20 Jun 2012 17:03:30 -0700

Hi all:

Attached it another shot at line test ... this time the lines are defined in the apt360 manual.
However not all is working the way I expect.

L16 and L17 need some help from someone far smarter than I am.
L16 gives multiple solutions for tangency to a tabcyl. I've tried changing the tolerances in hope of fooling it into a single solution.
Any ideas?

With L17 I'm clueless about what it expects/needs that I'm not doing. Feedback would be appreciated.

Have at it. ;-)

Dave
partno lntest  testing line defs from html docs APT IV, '70
remark line numbers are the number for the example in table 3.2.<number>
remark minimal comments: anyone can try this and draw their own conclusions
remark version 1.0
clprnt
remark  geometric line defs follow
cutter/0.0
intol/0.0005, 0.005
outtol/0.0005, 0.005

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/1.0, 1.167924
pt7 = point/1.1, .8
 
pt8 = point/2,2,1
pt9 = point/2,5,1
pt10 = point/5,1,.25
pt11 = point/10, 0, 2
pt12 = point/10, 5, 2
pt13 = point/0, 3, .1
pt14 = point/1.765248, 2.520811
pt15 = point/1.580585, 3.232500


c1 = circle/center,pt2,radius,2.
c2 = circle/center, pt1, radius, 1.5
pl1 = plane/pt8, pt9, pt10
pl2 = plane/pt11, pt12, pt13
el1 = ellips/center, pt1, 1, .5, 30
tab1 = tabcyl/noz, spline, -1.,2.9,1.3,1.7,1.1,.8,2.2,1.3,2.6,2.2


L1 = line/3,-5,-2,5,3,4  
L2 = line/pt1, left, tanto, c1
L3 = line/right, tanto, c1, left, tanto, c2
L4 = line/pt1, atangl, 45, xaxis
L5 = line/pt2, slope, 45, xaxis
L6 = line/yaxis
L7 = line/pt1, slope, .5, l2
L8 = line/pt2, atangl, 15, l2
L9 = line/pt1, slope, 1., L2
L10 = line/pt1, perpto, l1
L11 = line/parlel, l1, ylarge, 1.
L12 = line/intof, pl1, pl2 
l13 = line/slope, -.40403, interc, xaxis, 7.425
L15 = line/atangl, 20, interc, xaxis, 10
L16 = line/pt6, tanto, tab1, pt7
L17 = line/pt15, tab1, pt7


fini


Other related posts: