If the points are P1, P2, P3, then the GRIP code to make a triangle from three lines is:
[pre]line12 = LINE/P1,P2
line23 = LINE/P2,P3
line31 = LINE/P3,P1[/pre]
But, as others have said, this is goofy. In SNAP, if p1, p2, p3 are Positions, then you write
[pre]line12 = Line(P1,P2)
line23 = Line(P2,P3)
line31 = Line(P3,P1)[/pre]
Obviously this is not significantly longer.
What do you mean when you say that with NX/Open "the program size becomes very big" ??
You shouldn't be writing GRIP programs if you're under 40 years of age
