If they don't need to follow topology, you can have particles run along the geo with slide on surface, and extract curves from strands (search RRay for that)

If they do need to folow topology, it wouldn't be hard to have the particles do just that, and let us know if that's what you're after.



On 06/06/15 5:36, pete...@skynet.be wrote:
First time posting a question here in ... euh ... 10 years.

if silence is gold, you must have gathered a small fortune by now.



different needs will lead to different approaches altogether I think - so some more context would help:

does it have to be the actual edge loops or a curve on surface will do?
does it need to respect the 'hierarchy' of the tree, from base to branch to subbranch... all the way down to the tip? does it have to be for just this one specific (static?) geometry or is it more generally speaking? do you want to go between the two random points 'straight' - so basically creating an intersection between the surface and a plane defined by the two points (a third point or a direction or axis is needed to define a plane...) or more like bugs randomly crawling over the surface?
what do you want to use the curves for (modelling?)



-----Original Message----- From: David Raymond
Sent: Friday, June 05, 2015 7:54 PM
To: softimage@listproc.autodesk.com
Subject: Selecting Edge Loops in python script

Hi !

First time posting a question here in ... euh ... 10 years. I have a
question for you guys. It is possibly not doable easily but I still have
to ask if by any chance someone out here knows.

I need to generate a large amount of curves branching from a random
location on a geometry to another random location of that same geometry.
The best way to visualize this is a curve starting from the base of a
tree extending all the way up to the tip of a random branch.
The manual and painful way to do this would be to select an edge of the
base, and alt-shift clic the destination edge of the tip of the branch
creating a edge selection from the base to the tip. And then extract the
curve.
Let say I have a hundred to make, this could become painful fast. Surely
there must be a way to do this in a python script.

Anyone have a idea ?

Thanks guys !

Dr.

Reply via email to