Sometimes, I can't find an anchor point. I want to position objects such that their lines touch, not anchor points. For instance, consider a square positioned just to the left and top of a triangle with a right angle on the bottom-right. Say I want to position the square so that it just touches the diagonal line of the triangle. To do it in Sketchup manually I need to group the square, draw a line from the square to the triangle, position the square on the intersection point of the line and the triangle, then delete the line. With more complex positionings it gets very tricky and difficult. I would love a way to do this with a Ruby script.
I'm thinking simple here-- just specify Z+/-, X+/- or Y+/- as well as the two objects (groups) in question and then the script would move one group to the other group so that their closest lines or planes juuuust touch. A script that can take X/Y/Z angles would be even better.