Grasshopper

algorithmic modeling for Rhino

Well It's really simple.There are two lines and the intersection which isn't on them.I use Curve CP to find the closest point on each line from that intersection.Logically it should be start or end of the line means that the "t" output of CCP must be 0 or equal to line length but it's not.

So what happens here?is this a bug?If not what's that number "t" shows?

Image file attached.

Views: 383

Attachments:

Replies to This Discussion

Non-parallel line curves intersect even when they don't touch each other - it's weird but true.

And if you expect 't' between 0 and 1, you might need to reparameterize the lines.

Thanks Joseph for quick reply.But how do you reparameterize the lines?

Well, actually, 'Reparameterize' is not available for lines, only curves!

You right-click on the geometry param or the curve 'C' input on 'Crv CP' or 'CCX' - it's not an option on 'LLX'.

But I just tried to replicate your results and it works fine for me - 't' = 1.

(and 'CCX' doesn't intersect lines that don't cross the way 'LLX' does - so I'm no help at all, sorry!)

Actually it worked for me at first too.Then as i tried to edit the source lines in rhino this thing happened.But good news is reparameterized idea worked for me.

thanks alot.

Ah, the Rhino edit(?) of the source lines explains it then.  Cheers

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service