Welding/Merging points using ICE Topo

383 views
Skip to first unread message

Dan Yargici

unread,
Dec 16, 2011, 10:56:37 AM12/16/11
to soft...@listproc.autodesk.com
Hi all,

I'm trying to merge points using ICE much as you would using Model->Modify->Poly. Mesh->Filter Points.

I'm new to the whole ICE Topo workflow/mindset and I think I've bashed my brains at this problem for long enough today, does anyone have any clues on how I might achieve this?

I would have expected to be able to Get Closest Points on Self using the cutoff as my distance filter and passing the VertexIndex of the found points to the Vertex Index Array input of the Merge Vertices Node (and then setting the topo).

Thanks,

DAN

Ciaran Moloney

unread,
Dec 16, 2011, 11:10:26 AM12/16/11
to soft...@listproc.autodesk.com
Hi,
it works OK here. Make sure that index array is in object context, so you should be looking for closest position to a single vector like a null's global.pos. And the apply merge vertices should be set to integer array.

Ciaran

Dan Yargici

unread,
Dec 16, 2011, 11:28:39 AM12/16/11
to soft...@listproc.autodesk.com
Hi Ciaran, 

that's the catch, I need to weld all the overlapping points (there are many) of two islands so I can't start with a single vector.

DAN

Dan Yargici

unread,
Dec 16, 2011, 11:36:14 AM12/16/11
to soft...@listproc.autodesk.com
Here's a model  (2012SAP)  to explain better...

DAN
tmp.emdl

Dan Yargici

unread,
Dec 16, 2011, 11:55:29 AM12/16/11
to soft...@listproc.autodesk.com
Sorry for the noise, somebody just suggested I steal the 'Filter Vertices by Statistic' compound out of the Apply Thickness compound.  Works a treat!

Seems it uses a loop to achieve the result. :/

DAN

Ciaran Moloney

unread,
Dec 16, 2011, 12:17:48 PM12/16/11
to soft...@listproc.autodesk.com
Well thanks for sharing!

I was looking for a way to avoid looping....

Fabricio Chamon

unread,
Dec 16, 2011, 2:35:21 PM12/16/11
to soft...@listproc.autodesk.com
be aware that merging becomes a REAL pain once you need to persist custom attributes on your mesh.
It was probably one of the trickiest part of my Power Extrude compound. 

but if you are good enough with topology changes only, please ignore this post. =)

Christian Gotzinger

unread,
Dec 18, 2011, 5:11:49 AM12/18/11
to soft...@listproc.autodesk.com
I've made a compound a while ago that doesn't use a loop:
http://vimeo.com/31921308

The Merge Vertices node that's included with ICE wants to merge everything it receives down to a single point. That's not what the Filter Points command does in Soft.

Dan Yargici

unread,
Dec 19, 2011, 4:15:08 AM12/19/11
to soft...@listproc.autodesk.com
Hi Christian,

Thanks, however I just ran a test on a relatively heavy mesh and your compound seems to be considerably slower.  Any ideas?

Cheers,

DAN

Julian Johnson

unread,
Dec 19, 2011, 5:09:00 AM12/19/11
to soft...@listproc.autodesk.com
Hi Dan,

In addition to Christian's which acts on border points, here's a quickie
that filters *all* points by distance without Repeats or Find in Array
etc. Not sure it's any quicker than Guillaume's Filter Vertices by
Statistic but it gives you a bit more distance control. Not sure how
useful it is!

http://www.exch.demon.co.uk/xsi/files/FilterAllPointsByDistance.rar

Julian

Dan Yargici

unread,
Dec 19, 2011, 6:01:48 AM12/19/11
to soft...@listproc.autodesk.com
Julian, that's crazy fast - about 15x faster than Guillaume's and 20x faster than Christians in my test, thanks!  

Hope life's treating you well.

DAN

Ciaran Moloney

unread,
Dec 19, 2011, 7:09:03 AM12/19/11
to soft...@listproc.autodesk.com
Very useful indeed! Thanks for sharing.

Ciaran

Christian Gotzinger

unread,
Dec 19, 2011, 7:34:39 AM12/19/11
to soft...@listproc.autodesk.com
That sounds really fast indeed. Can't wait to take a look at the logic inside. Thanks for sharing Julian!
Reply all
Reply to author
Forward
0 new messages