Grasshopper

algorithmic modeling for Rhino

problem with "cx" and "shatter" commands - how to find all lengths of self intersecting curve?

Hello,

Probably someone can help me solve this problem:

I have got a free formed 3d curve which intersects itself for 4 times.

With the function "cx" - curve/self - i can find the intersections.

If I want to find the length of the  parts of the curves between the intersection points I only get the "first" five length. Also if i split the curve in rhino only the first part of the curve ist split until I split it for a second time.

So I think each point splits the curve just for one time even if the curve intersects this point for a second time (self intersection).

I hope someone has an idea for this (probably) easy question? :-)

Thanks

Views: 1834

Attachments:

Replies to This Discussion

1. have you tried using the Shatter component? it works for me.

2. are you sure the curve passes exactly through the same points when it intersects again?

Hi -

its the same with the shatter command:

the self intersecting "cx" command finds for example 2 intersections. the result of the shatter command is therefore 3 parts of the curve - which is only true for a non-intersecting curve...  ??

:-(

Attachments:

hey pieter,

thank you - now it works-

i had tried the same solution but with an old grasshopper version :-)

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