Select Poles ( MultiEdge )

0 votes
Version: 
1
Date Updated: 
12/22/2020
Author Name: 
Yegor Tsyba

This script will find all objects with Poles (places where more than 5 edges coming from one vertex) and select them (Objects and Poles too).
Its useful to make clean polygonal model prepared for subdivision and avoid mesh artifacts.

Additional Info: 

Instalation:
1) Download script.
2) Run it via menu “MaxScript – Run Script” or DragAndDrop it on 3dsmax viewport
3) Choose “Customize – Customize user interface” and add script to Keyboard shotcut or in Menus, Toolbars or, like on image, in to the quad. You will find it in Category: Shiva Tools.

Version Requirement: 
3ds Max 9+
Video URL: 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shiva's picture

Links updated

Sorry. My site its dead.
Link updated. You can get it for free from Gumroad now.

Soboleony's picture

Help

Please share who has this script. Because the link doesn't work. Or suggest a more modern equivalent.

barigazy's picture

...

To speed up the process replace this part of your code

VxCount = polyOp.getNumVerts obj
for i = 1 to  VxCount do
(
    Edgs = polyOp.getEdgesUsingVert obj i as array
    if Edgs.count > 5 then append VxArray i
)

with this

VxCount = polyOp.getNumVerts obj
getVertEdges = polyOp.getEdgesUsingVert
for i = 1 to VxCount where (getVertEdges obj i).numberset > 5 do append VxArray i

U need to avoid usind polyOp struct methods inside for-lops
Also try to avoid to making some process when you are in modify panel
Don't get me wrong but your code is very slow and also inefficient in certain cases:
- You are making selection at base object level. But what if you have Edit_Poly modifier on top with some topology changes?
- What if you had some deformation modifier above base object?
Then you redirect deformation on edge selection.
- etc.
My next suggestion is to open new thread in forum section if you want to find out more about optimization.
BTW idea is good.
Cheers!

bga

luxxeon's picture

Very handy

Thanks. Very handy script. I use it to quickly quadrify spheres, as well as other issues.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.