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.
Script
Select Poles ( MultiEdge )
By Shiva · Credited author: Yegor Tsyba · 2013-10-18
- Version
- 1
- Version requirement
- 3ds Max 9+
- Date updated
- 2020-12-22
- Download
- Download
Description
Additional Info
Videos
Comments (4)
Help
Soboleony · 2020-10-07
Please share who has this script. Because the link doesn't work. Or suggest a more modern equivalent.
Links updated
Shiva · 2020-12-22
Sorry. My site its dead.
Link updated. You can get it for free from Gumroad now.
barigazy · 2013-10-19
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!
Very handy
luxxeon · 2013-10-19
Thanks. Very handy script. I use it to quickly quadrify spheres, as well as other issues.