"Cheating" with trans::) Grande.Code - Auto/Visual Lisp: [Select]
)
Assumes points are in WCS; compatible with UCS planes parallel to WCS plane only.
Interesting stuff, no doubt. But I don't understand. I see a green and a yellow line that are not parallel to any of the magenta lines.
I guessed as much. But the other contributors have made the assumption that the green line is parallel to a magenta line. Conclusion: your image is quite confusing.Interesting stuff, no doubt. But I don't understand. I see a green and a yellow line that are not parallel to any of the magenta lines.
Hello Roy
The yellow line and a green line are to show the location of the coordinates that I need to find. The angle between these lines is always 90 degrees.
"Cheating" with trans:Code - Auto/Visual Lisp: [Select]
)
Assumes points are in WCS; compatible with UCS planes parallel to WCS plane only.
Men, like Kirby explained, there are infinite number of possibilities of such projections - you don't say at which orientation is either cyan or perpendicular projection... Just create half circle from p1 to p2... All points on that half circle could be xpto point + half circle can rotate in 3d around p1 p2 axis which makes it sphere of infinite xpto points on its surface...
Nicely done Lee, direct and concise...
This one works for any 3d points
Interesting stuff, no doubt. But I don't understand. I see a green and a yellow line that are not parallel to any of the magenta lines.The yellow line and a green line are to show the location of the coordinates that I need to find. The angle between these lines is always 90 degrees.
Nicely done Lee, direct and concise...
This one works for any 3d points
Thanks Stefan, in hindsight that makes more sense. :wink:Interesting stuff, no doubt. But I don't understand. I see a green and a yellow line that are not parallel to any of the magenta lines.The yellow line and a green line are to show the location of the coordinates that I need to find. The angle between these lines is always 90 degrees.
I assumed that P3-P1 was parallel to P2-XPTO; without this assumption, any point on the circle with diameter P1-P2 meets your criteria -
(http://www.lee-mac.com/swamp/infinitesolutions.png)
Hence there would be infinite solutions, as kirby correctly notes.
Hello lee
Is there a way to find just the point at the intersection of the lines that I marked in your image?
Hello leeAssuming the orange horizontal line is parallel to the base of the triangle, this is what my code (and Stefan's code) will give you.
Is there a way to find just the point at the intersection of the lines that I marked in your image?
(setq xpto (list (car p1) (cadr p2)))I thought the same thing too but from the other examples it won't work.
(princ xpto)
Assuming the base of the triangle is not parallel to the orange horizontal line how can I compute the xpto point?Is there a way to find just the point at the intersection of the lines that I marked in your image?Assuming the orange horizontal line is parallel to the base of the triangle, this is what my code (and Stefan's code) will give you.