algorithmic modeling for Rhino
Hi there,
this is a bit of a complicated one so I am trying to put together a sample file. Basically, I have a series of projected patch layers which intersect with the walls of a solid. I've used the 'Brep/Brep' module from intersect to draw a line where they meet, and each line is then projected along the surface.
I now need to reference these curves in a specific way. First I need all the curves on the first layer from inside to outside, then all the curves on the second layer from outside to inside, and then the next layer from inside to outside again, and so on...
Is this doable?
Thanks for reading
Ewan
Tags:
Yes, it's possible. But... Why a 'Patch' surface? Not good practice to hide all your inputs to various components; makes it difficult to see what's going on. Like the list of 'D' inputs to 'Offset Surface', which are "hard coded" instead of derived from the 'Brep' param size?
Anyway... you could do something like this:
P.S. Sorry, re-posted due to a mistake in previous comments... Code unchanged. I did notice, however, that if you try to loft the output of the last 'List Item', it fails badly, and can't be fixed by curve flipping or loft options. I see other things that worry me a little, like extra and unusual processing time... Don't want to spend more time on it though.
Oh, this is interesting. If you replace your 'Offset on Srf' component with simple 'Offset', two things happen (ProjectedLayerCurves_2017Mar21b.gh):
This works perfectly, thanks so much Joseph. This was just an example I threw together quickly as the larger project is huge and only works with patched surfaces at the moment (although there is provision for changing to proper surfaces in the long run). It also allows the projection distances to be tuned using sliders, which I should have done in the example. Sorry about that. We live and learn.
Anyway, thanks again.
Ewan
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
© 2024 Created by Scott Davidson. Powered by