@Alan - yes I think so

I fundamentally want to take some strands and interpolate them between two 
positions. I'd like the second position to be determined by another strand in 
another pointcloud.

This is how it works using a curve as the second position. But ideally I'd like 
to swap the curve for a strand.

http://s30.postimg.org/st7dsynkx/strands.jpg

@Graham - thanks for that but I got totally lost........

Thanks



From: [email protected]
To: [email protected]
Subject: RE: Get Closest Location...... on Strand
Date: Wed, 12 Mar 2014 20:10:08 +0000

You can’t really get a location on a strand because there’s no underlying 
geometry. However, if all you really need is the closest position on the strand 
(i.e. not a “real” location for looking up other data), and it’s good enough to 
treat the strand as a polyline (i.e. not smoothed), then you can cook up 
something using Get Closest Point to Line Segment.  I don’t have a scenario to 
test this in so there may be errors, but I’m thinking about something along the 
lines of the attached pic. If you want to do something fancier like get 
StrandColor at the closest position, then you’d need to figure out which 
segment contains the closest position, what %age it is between the two 
neighbouring StrandPosition values, and interpolate between the two 
corresponding StrandColors based on that. gray From: 
[email protected] 
[mailto:[email protected]] On Behalf Of Alan Fregtman
Sent: Wednesday, March 12, 2014 3:16 PM
To: XSI Mailing List
Subject: Re: Get Closest Location...... on Strand If such a thing existed, what 
are you trying to get from it? Are you trying to find the closest position on a 
strand to a given point?  On Wed, Mar 12, 2014 at 2:56 PM, gareth bell 
<[email protected]> wrote:Hey guys,

Is there an easy way about getting the equivalent of plugging a curve into a 
"Get Closest Location" - but for a strand instead of the curve?

Cheers

G                                         

Reply via email to