PDA

View Full Version : Weld but not weld Average

Philbert
05-22-2010, 05:54 AM
Is there a way to Weld Average, just without the welding? So it would snap two points to the point between them, but leave them separate.

Philbert
05-22-2010, 06:31 AM
BeeVee solved the problem. Of course it's something I do all the time and just didn't think of it. Select both points, then Scale with the Selection mouse mode.

erikals
05-22-2010, 06:37 AM
unless you have to apply it to 1000 points http://erikalstad.com/backup/anims.php_files/wink.gif

Philbert
05-22-2010, 06:39 AM
I actually have about 360. I'm about 2/3 finished now and my hand is about to fall off. :lol:

Myagi
05-22-2010, 07:01 AM
there is a way now :D

edit: in hindsight I should have called it CollapseToAverage instead

erikals
05-22-2010, 07:03 AM

erikals
05-22-2010, 07:13 AM
it'd be interesting to see the obj to see if there's a faster way :]

Myagi
05-22-2010, 07:16 AM
you mean faster if it has to be pairs of points, and not the average of all?

(if it has to be pairs of points I'm sure I could modify one or two lines in the script to handle that, if the point selection order is done in order of pairs, ie. sel 0 - 1 - 2 - 3 etc. where 0-1 is a pair, 2-3 is pair and so on)

erikals
05-22-2010, 07:18 AM
yep! :]

Myagi
05-22-2010, 07:28 AM
there you go :D

(selection order by pairs)

edit: probably just in time for when Philbert has done it all manually ;)

bjornkn
05-22-2010, 07:48 AM
It works even better with this edit to line 26:

for (n = 0; n < total/2; n++)

;)

BTW, how do you decompile a .lsc script, if at all possible?

Myagi
05-22-2010, 07:52 AM
It works even better with this edit to line 26:

for (n = 0; n < total/2; n++)

;)

I caught that one just after I had posted and uploaded a new attachment, you were too quick with downloading ;)

I haven't heard about a lsc decompiler

Philbert
05-22-2010, 08:03 AM
Thanks Myagi :) I have done it manually but this will come in handy in the future I'm sure.

erikals
05-22-2010, 10:32 AM
cool stuff :]

kojean
05-22-2010, 02:16 PM
Thanks for these Miyagi.

Wickster
05-22-2010, 02:31 PM
I just use Samuel Kvaalen's Weld Pro script.
http://www.kvaalen.com/plugins/Plugins.html#WeldPro

Uncheck the Merge Points on it's config and it can weld all to the last selected, first selected or center average.
http://www.newtek.com/forums/attachment.php?attachmentid=85070&stc=1&d=1274560296

probiner
05-22-2010, 02:52 PM
So cool to see these happening =)

LW's Modify>Transform>Segment Scale can also be an alternative. It doesn't merge.

Select polygons (right to left) convert to points and run it.

http://www.newtek.com/forums/attachment.php?attachmentid=85071&stc=1&d=1274561506

Cheers