Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / Autodesk 3ds Max / 3ds Max Design 2011 / Need to remove hundreds of stray vertices
  RSS 2.0 ATOM  

Need to remove hundreds of stray vertices
Rate this thread
 
50365
 
Permlink of this thread  
avatar
  • RobH2
  • Posted: 10 December 2010 05:55 PM
  • Location: Baltimore, MD
  • Total Posts: 521
  • Joined: 24 August 2006 08:06 PM

No matter how carefully I model and detach elements I frequently wind up with dozens or hundreds of stray vertices inbetween edges. In Edit Poly/Vertex mode there is a button called ‘Remove Isolated Vertices.’ It doesn’t appear to do anything for this situation. It might remove vertices that are floating and not associated with anything.

So, I go around and remove them one-by-one and takes a LOT of time. I haven’t found a way to do this easily. Any ideas?



---------------------------------------------------------------
Windows 7 Professional x64 - Asus P9X79 Pro - Intel i7-3960 Extreme - 16GB Kingston HyperX DDR3 1600 - Corsair H80 Chiller - Nvidia Quadro 4000 - 3D Studio (preMax) thru Max 2013 Design

Attachment Attachment
Replies: 0
avatar
  • Revel
  • Posted: 10 December 2010 06:16 PM

You might want to try this script called Vertex Cleaner, pretty much do what you’ve described as the problem. Hope it helps.

_Revel



3ds Max 2011 x64
Windows 7 Home Premium x64
Core 2 Quad Q8400 2.66GHz
nVidia GeForce GTX 275
8.00 GB RAM

Replies: 1
/userdata/avatar/ht4kd97v6.jpg

Thanks Revel, I’ll look into that. Thanks.

Author: RobH2

Replied: 11 December 2010 04:19 AM  
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

If you continually have this problem then you may want to revisit your workflow and work out why they are being left there.

For example, if you “remove” an Edge it will leave the vertices, if you Ctrl+Click the remove button it will remove the associated vertices as well. Same with Backspace key (Ctrl+Backspace will remove them).
It is always easier to not cause the problem in the first place than to have to try and clean up the model afterwards.

The vertices you highlighted are not isolated - an isolated vertex is one with NO edges attached to it. In that case the “Remove Isolated Vertices” button does function correctly.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 1
/userdata/avatar/ht4kd97v6.jpg

Thanks Steve. Yea, I’ve tried to determine why it happens and like I said, no matter how carefully I model it still happens. I’ll pay more attention to Ctrl+Clicks though.

Believe me, I know it’s better to not have the problem. That’s why I posted. I never said the word “isolated” in my post so I’m aware that mine are a different species as well as acknowledging that the ‘Remove Isolated Vertices’ button was not going to help.

I’ve spent years trying to figure out why they are left behind. Until I finally have that eureka moment and solve the problem I guess I’ll hope Revel’s suggestion about the script helps.

Thanks again…

Author: RobH2

Replied: 11 December 2010 04:25 AM  
avatar
  • RobH2
  • Posted: 11 December 2010 04:47 AM

Revel,

That script is “exactly” what I was looking for. In reading about it I learned that I’m not the only one who has the problem and it did help me to determine why it happens after all these years of frustration. No matter how cleanly and carefully we model, when we do boolean operations and the mesh density is different between objects, vertices are left on edges that are not connected to an intersection. They are just stray verts on miscellaneous edges where the boolean makes the cut. The boolean is trying to retain the shape of the new edge by leaving these but it can cause problems and headaches later when we try to get our mesh back to a clean quad mesh.

So, mystery solved and solution found...Win-Win !

This script works fantastically to remove them.

Thanks,

Rob



---------------------------------------------------------------
Windows 7 Professional x64 - Asus P9X79 Pro - Intel i7-3960 Extreme - 16GB Kingston HyperX DDR3 1600 - Corsair H80 Chiller - Nvidia Quadro 4000 - 3D Studio (preMax) thru Max 2013 Design

Replies: 0
avatar
  • buggy
  • Posted: 29 January 2012 09:27 AM

This script is just what I need! I also found one on ScriptSpot called CleanBoolean that should also prove useful.
However, after installing both into my Scripts folder, when I select Rn Script and pick one, nothing happens!

I have the verts selected in poly sub object mode.
I have other scripts in the same folder that I can run.
I am running Max 2011 64 bit on Vista 64. I even tried running Max in administrator mode.
Any suggestions?



3DS Max 2011 64 bit, Rel 13 SP2
Vista 64
AMD Phenom X4 9500 Quad Core 6GB
GeForce GTX 460 2048MB

Replies: 0
avatar
  • Ruramuq
  • Posted: 29 January 2012 10:29 AM

here some simple ways:

a polyboost function, called ‘by Numeric’
so if your mesh is closed you need just that.

but If the mesh is open:

you can use selections sets:
select boder edges, convert to verts
all vertices selected now, create selection set
open graphite, and use ‘by numeric’ = 2
create selection set
open selection set dialog,
and substract border from ‘by numeric’ selection
apply the selection set

or a small mxs:
open the subobject and

(PolyToolsSelect.NumericVertex 2 1 false)
$.
selectedVerts =
polyop.getVertSelection $ - (polyop.getVertsUsingEdge $(polyop.getOpenEdges $))


Replies: 1
/img/forum/dark/default_avatar.png

Thank you Rura. I will try your suggestions as soon as I have gotten through some current deadlines.
Still curious why the scripts don’t do anything . . . I’ll have to contact the authors about that (unless I find I don’t need them after all :) ).

Author: buggy

Replied: 02 February 2012 07:29 AM