Find Intersection Point between two Lines

Find Intersection Point between two Lines

Raider_71
Collaborator Collaborator
745 Views
6 Replies
Message 1 of 7

Find Intersection Point between two Lines

Raider_71
Collaborator
Collaborator

Hi I need to find the "apparent" intersection point between two 3D Sketch lines. The Lines are not actually intersecting but if they were axis' then they would have. 

 

The one approach is to simply create a Workpoint on the "apparent" intersection but I would prefer not to edit the part as it may be Vault checked in part.

I just want to extract the "apparent" intersection points X, Y and Z data.

 

I have also tried the Line.IntersectWithCurve method but that only returns a point if there is an actual intersection. Nothing for an "apparent" intersection which is the case for me.

 

Any ideas?

 

Here is a sample 3D Sketch indicating the points I would like to extract.

Bent tube path.jpg

0 Likes
746 Views
6 Replies
Replies (6)
Message 2 of 7

dgreatice
Collaborator
Collaborator

this my clue,

you illustration is 3D sketch with bend, so this always have 3 constraints:

dgreatice_0-1678268770342.png

 

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014
0 Likes
Message 3 of 7

Raider_71
Collaborator
Collaborator

Thanks for the reply.

I should have mentioned that the 3D Sketch is used to sweep a profile to create a "Tube/Pipe" part. I have to get the entities in sequence and that's why I use the Path object which I can get from the Sweep feature. By using the Path object the API presents the Path entities in sequence.

If I just use the 3D sketch entities are not in sequence and are probably in the sequence it was modeled in and not always in sequence if you know what I mean?

That's why I was hoping there would be an easy way to get the apparent intersection of the lines as they come up when I iterate the path entities from start to end.

0 Likes
Message 4 of 7

Raider_71
Collaborator
Collaborator

Here is a sample file

0 Likes
Message 5 of 7

dgreatice
Collaborator
Collaborator

Sorry mate,

I just answer you request.
"I just want to extract the "apparent" intersection points X, Y and Z data."

Is better to make another thread with difference topic.

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014
0 Likes
Message 6 of 7

Raider_71
Collaborator
Collaborator

Hi it's not a solution in my case. Please see the sample part where some of the geometry is projected into the 3D sketch and some is drawn in. The ability to find an apparent intersection point is needed in this case as there are no constraint points now is there.

Thanks for your time to try and help. I do appreciate it.

0 Likes
Message 7 of 7

Raider_71
Collaborator
Collaborator

For now I have solved my issue by doing the following:

  1. Create a copy of the part document and open it
  2. Insert Work Points on the intersection of the 3D Sketch lines
  3. Extract the X, Y and Z data from the points.
  4. Close and delete the copied part document
0 Likes