drawing arc tangent to 2 curves through a specific tangent point
All  1-10  11-15

Previous
Next
 From:  pressure (PEER)
11616.11 In reply to 11616.6 
Hi Michael,

Re:
> a couple of things that might help the tangent solver for this case are
> first to place a point object (Draw curve > More > Point) at the
> endpoint and then slide the line down a little so that it can converge
> onto that point from either side.

That doesn't work for me. The circle disappears when I try snapping onto the drawn point.

Re:
> The other thing that could influence it would be to hide the line before
> picking the 3rd point because it's probably trying to do a "tangent to 3
> curves" operation since the through point is on that line.

The behavior is identical when I do that. The circle disappears when the 3rd pointpicker snaps to the endpoint of the line.

Re:
> It seems like there could be a geometric solution

I was hoping for a direct way using tangent snaps. The tangent circle and tangent arc commands are a little flaky with the circle often failing to generate even when the cursor is in a valid position. Seems like there's some hysteresis where if the cursor is in a valid position and is moved toward an invalid one then the circle updates all the way to the edge of validity, but if I move the cursor from an invalid position to a valid one there's a band where after the cursor is in the valid zone no circle gets drawn until the cursor is moved further into the valid zone.

It also might be nice if the tangent circle closest to passing through the 3rd pointpicker would always be drawn even if the cursor is in an invalid area. If that's too expensive, just doing it when moving the cursor from valid to invalid by "leaving behind" the last valid circle might feel better than having the circle continually vanish.

But, even if it can be made to work reliably so that picking the 3rd point on a curve actually causes the point of tangency to coincide with the 3rd point, that would be a big help. Here's an example where I'm picking the 3rd point and the tangency is being found a ways away even though a solution exists that passes through the cursor position.

- Peer



Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  pressure (PEER)
11616.12 
Brian and Michael,

We're all typing at the same time :) Thank you both for working on this. Brian yours is beautiful. I think I see why Michael's works: it's avoiding having a discontinuity where the solution suddenly vanishes.

By the way, happy new year to both of you!

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11616.13 In reply to 11616.11 
Hi Peer,

re:
> It also might be nice if the tangent circle closest to passing through the 3rd pointpicker would
> always be drawn even if the cursor is in an invalid area.

Sorry I'm not understanding this part.

Basically the circle tangent solver doesn't like to be given coincident points. Internally it's trying to generate a circle through 3 points which is undefined when the 3 points are collinear or coincident.

Happy new Year!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  pressure (PEER)
11616.14 In reply to 11616.13 
Hi Michael,

Re:
> Basically the circle tangent solver doesn't like to be given coincident
> points. Internally it's trying to generate a circle through 3 points
> which is undefined when the 3 points are collinear or coincident.

Thanks for explaining. I wasn't thinking of this command as a circle through 3 points. Was instead thinking of it as picking 2 curves and then picking a point that the tangent arc must go through. I thought the first 2 points were used to select the single closest solution if there are multiple solutions. But now I see that I'm never picking any particular curves.

Re:
> I'm not understanding this part.

Here are 2 cases where the pointpicker is in a region where there's no solution, but the closest solution is drawn.

- Peer





  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
11616.15 In reply to 11616.14 
Hi Peer,

re:
> Was instead thinking of it as picking 2 curves and then picking a point that the tangent arc must go through.

Well it is doing that (either 2 curves + point or 3 curves) but for each curve the point on the curve is part of what it is gathering.

The point on each curve will be used as the starting parameter for the solver, it will converge to the closest solution to those starting points.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-10  11-15