Grasshopper

algorithmic modeling for Rhino

Extracting/using vertices after intersection of surface and curve

Hello beautiful and helpful people. Forgive me if this is a little hasty, i've now retyped this message three times on account of the uploading not working, (similarly i hope there are three slightly different posts out there in the morning).

 

I have a fairly simple problem, forgive me if its a bit 'noob'. I have drawn lines between two pairs of points which intersect a flat plane (all sounds pretty easy so far). I used the surface/curve interesect tool (SFX) which has successfully mapped the intersections and extracted the points I would like.

 

It is at this stage when I now want to join the lines that i encounter problems, the wires have become dotted and the line inputs don't seem to like it. I placed a panel next to the various outputs, which appear to be sending point data as i hoped.

 

I do think the geometry of the intersecting surface is somehow interfering with things, I'm guessing the dotted wire should be saying something to me.

 

i hope this is answerable without uploading my grasshopper file as that has not been working and i've been typing about this little problem for quite some time now!

 

cheers

 

J-P

Views: 2322

Replies to This Discussion

hope this attaches

Attachments:

yes...the dotted lines are an indicator of the data trees that are organizing your data.  Part of what's happening is you're using multiple inputs on the curve components into the surface/curve intersection.  GH is trying to sort the results for you, and it does so by grouping each intersection point with the curve from which is was derived.  If you want to draw lines between the points, you need to make sure your output lists are ordered and matching.

 

It's going to be tricky to try to match your polyline letters with the lines you have extending out...you would probably be better off projecting the end points of each line to your surface...that way you can ensure that your lists will be ordered correctly.

 

Here's some good to know stuff about data trees:

 

http://www.grasshopper3d.com/forum/topics/path-mapper-help-1

http://www.grasshopper3d.com/forum/topics/data-tree-examples

 

good luck!

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