Grasshopper

algorithmic modeling for Rhino

Is there a Bug in the number of Nulls produced in the CCX component

Hi David,

Please can you have a look at the attached file and see if my understanding of the amount of Nulls is correct.

Taken from a Thread: http://www.grasshopper3d.com/forum/topics/curve-curve-intersection?...

Views: 648

Attachments:

Replies to This Discussion

That's one ugly data tree.... I doubt it's correct. Digging now... I'll let you know what I find out once I hit the K-T boundary.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Also I came along something similar with CCX. In this example when I used CCX I was getting an odd data tree and it was skipping some intersections, yet when I extruded one of my curve inputs and used BCX instead it worked fine. 

Attachments:

Sorry to piggyback on this thread, but I thought I'd bring it up while you're digging into the tree structure of intersection results. Forgive me if this is something I've complained about before. 

It seems to me that the default behavior around trees and nulls is in general fairly counter-intuitive. I can't think of any situation where having the nulls in {A;B} and the successful intersections in {A;B;C} would be useful. I always end up having to resort to any number of weird tricks to get them to line back up. If I want the same definition to work with different inputs, where in some cases only valid intersections are produced, and in other cases certain intersections fail, I'd like to be able to count on the data trees being consistent, whether they contain nulls or not. It would make a lot more sense to me to have the results from an intersection always go to the same branch, whether or not the result is valid.

Here's a more concrete example. Say I have a definition with some curve intersections and I want to label the intersections of the curves. When all intersections occur, the labeling works fine, since the paths all match up. However when some intersections fail, everything goes haywire, and the data tree of the intersection results needs some major coercing + manipulation in order to get it to match the structure of the labels. 

up on this one

cool thanks Danny.. forgot about it :)

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