Further musings:

I think I need lists within lists to solve this problem.  I need to be
able to split my point list into N streams, based on the number of
surfaces detected in the polysurface.  Then repeat the surface
selection process for each of those streams (equal to the number of
curves selected) to keep the selection data in correspondence with the
sample point.  That could mean thousands of streams.   I'm think of a
"For i = 1 to N" routine, outputting a corresponding list of surface
selections, which could then be fed into the geometry construction
patch.   Is this silly?     I'm still not quite sure how the GH logic
works exactly, I'm used to the time-based logic of Max/MSP, where you
can strictly control the timing, heirarchy, and sequence of data
flow...

Hmmm...

Thanks,
Marc


On Jan 30, 12:22 am, Marc Syp <[email protected]> wrote:
> Visose,
>
> Thanks for the tips... also regarding the preview shortcut.  Very
> nice.
>
> I've got it working fabulously for surfaces now.  My next challenge is
> to get it working with BReps as well.  Some of my "surfaces" are
> actually polysurfaces, and I'd rather not have to set my collection of
> curves separately for each surface that makes up the BRep.   Why is it
> that the BRep analysis component doesn't provide uv coordinates???
>
> As a workaround, I started developing a patch that explodes the BRep
> and then analyzes the distance of the sample point to each component
> surface, then selects the correct surface uv point for orientation
> purposes.  My problem now is that it works great for one curve, but as
> soon as I load the whole collection it freaks out and is only able to
> select one surface for the whole collection.  Obviously this is no
> better than exploding a BRep and feeding it through my original patch
> (also not working).   I would like it to analyze each point
> individually as if in a discrete loop, but I think I'm having a
> problem of list lengths and redundant values, or in the structure of
> the patch itself.  Any chance you can take a look and give me some
> leads on how to pursue the logic of this one?
>
> The patches:
>
> http://grasshopper3d.googlegroups.com/web/Tornado-extruder.3dm?gda=cu...
>
> http://grasshopper3d.googlegroups.com/web/Khing-tornado-extruder2.ghx...
>
> Thanks in advance.
>
> Marc
>
> On Jan 28, 9:24 pm, visose <[email protected]> wrote:
>
>

Reply via email to