Hi folks,
Is there a way to iterate though each edge of a mesh and extract its two
point components, one at each end of the edge?
I'd like to use those two points to interpolate between and add a bunch of
points along the edge.
Cheers!
In ICE, just Get self.EdgeToVertices
That will give you a array of the two Point Indexes for every edge.
/Jens
On Tue, Jun 3, 2014 at 6:04 PM, Arvid Björn arvidbj...@gmail.com wrote:
Hi folks,
Is there a way to iterate though each edge of a mesh and extract its two
point components, one at
Or if you want to do it in script, PolygonMesh.Edges get you all the edges
and you can iterate all the edges and their Points property.
On Tue, Jun 3, 2014 at 6:09 PM, Jens Lindgren jens.lindgren@gmail.com
wrote:
In ICE, just Get self.EdgeToVertices
That will give you a array of the two
THANKS!
I've been going in circles for an hour, I almost had it before, but now I'm
back on track, cheers Jens =)
On Tue, Jun 3, 2014 at 6:09 PM, Jens Lindgren jens.lindgren@gmail.com
wrote:
In ICE, just Get self.EdgeToVertices
That will give you a array of the two Point Indexes for
Hehe no problem, Arvid :)
I think all the Get SomethingToSomething data is underrated and very few
examples are out there of how one could use them. Since I learned how they
work, I have been able to do amazing things with polymeshes in ICE.
/Jens
On Tue, Jun 3, 2014 at 6:26 PM, Arvid Björn
Yeah, I started using them recently too and they are very powerful.
Getting your head around the usage is not obvious, though.
F
On 03-Jun-14 13:49, Jens Lindgren wrote:
Hehe no problem, Arvid :)
I think all the Get SomethingToSomething data is underrated and very
few examples are out there
Not obvious because of the wording. PolygonToEdges at first seems to
retriving indices from polygons to their surrounding edges. When it's the
other way around it's retrives indices from edges to their bordering
polygons. More over indices it's all it does so you have always to flatten
out sets of
7 matches
Mail list logo