algorithmic modeling for Rhino
Tags:
You forgot to post your code.
Sorry for that! Here they are.
Hi Hyungsoo,
Viktoria posted this for me as I was waiting for my account to be approved, but this is exactly what I was looking for! Thank you so much for your time
I still don't believe that's correct, Hyungsoo? There is a data tree mystery (GH bug?) using 'Graft' on 'Pull Point' that I wasn't able to solve until I came up with the 'Point In Brep (BrepInc)' idea. This is your latest, in red, compared to mine in blue. 'BCX' points are red, 'Pull' points (with no grafting) are green:
This is your latest code (below), with my solution baked in blue:
Hey, Joseph.
Well, frankly, in this case, I have little interest in what is right and wrong.
You methods may be right because the result is the connection of the lowermost points of the points on the surface with a curve.
If Dan wanted it, his setting from the first place would not be necessary.
I just matched each sun vector set to each column for pull points.
Yeah, I tried MANY WAYS to do the same thing and failed. Grafting the 'G' input to 'Pull' creates the error. Without it, the puzzle here is that pull points in each tree branch are scattered among the 'ArrPolar' curves, yet collectively, they appear to be physically correct. I tried 'Curve CP' on the pulled points to make the proper curve associations and that failed too. Hence the extravagant approach of capped cylinders and 'BrepInc', which worked great.
Very weird. Calling David Rutten?
Hah! Yeah, skip the 'Pull' to lines altogether. I considered that too, including use of 'Convex Hull', but didn't bother to pursue it. Too much work, not my project. ;) Cheers
I spent a lot of time on this last night... Got results similar to (same as?) Hyungsoo Kim's solution, but believe it's not correct, based on a comparison to the pulled points and to the original 'BCX' points.
This morning, I took a different approach using 'BrepInc (Point in Brep)', to associate the pulled points with the 'ArrPolar' curves. I created cylinders on those curves for 'BrepInc'.
This shows the difference between the two methods, mine in blue, Hyungsoo Kim's in red:
This is my solution compared to the 'BCX' points:
And the code:
In a different thread, I created a 'PullT' cluster that does a much better job at associating pulled points with the geometry that pulls them. It also applies to this thread. The grafted pulled points are sorted by 'D (Distance)' and only the closest points for each curve are returned.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by