Hi All,
I have created a custom line tool and wherever you click, it will create a line from picked point to origin. I have placed a face between clicked point and origin and I want to put a point3d on intersection of line and face. the final goal is to connect these points to each other as I create the lines one after another. what would be the possible solution in ruby?
Get the plane from the Face. Then for each Edge get its line and use Geom.intersect_line_plane to find the Point3D where they intersect. Add new Edges using these points as needed. Remember to check whether there was in intersection.
3 Likes
That was very useful, thank you!