Re: A good Cap All Holes script?

2012-08-01 Thread Nic Groot Bluemink
Neat, thanks for the share Alan! A little suggestion - personally I like using the OpenUndo/CloseUndo with a try-except structure like so: xsi = Application xsi.OpenUndo(somefunction) try: dostuff except: pass finally: xsi.CloseUndo() This way, any errors that may occur while

Re: A good Cap All Holes script?

2012-08-01 Thread Stefan Kubicek
Are the difficult scenarios you mention not ultimately a non-manifold geometry problem? This reminds me on the Any tips to fix non-manifold vertices in Soft? thread as of June 26th. We came up with: A vertex is non-manifold if more than two of its adjacent edges do not share their second

RE: A good Cap All Holes script?

2012-08-01 Thread Grahame Fuller
Sent: Wednesday, August 01, 2012 04:37 AM To: softimage@listproc.autodesk.com Subject: Re: A good Cap All Holes script? Are the difficult scenarios you mention not ultimately a non-manifold geometry problem? This reminds me on the Any tips to fix non-manifold vertices in Soft? thread as of June

Re: A good Cap All Holes script?

2012-08-01 Thread Alan Fregtman
To: softimage@listproc.autodesk.com Subject: Re: A good Cap All Holes script? Are the difficult scenarios you mention not ultimately a non-manifold geometry problem? This reminds me on the Any tips to fix non-manifold vertices in Soft? thread as of June 26th. We came up with: A vertex is non

Re: A good Cap All Holes script?

2012-07-31 Thread Alan Fregtman
Hmmm, last second improvement: this one's got OpenUndo and CloseUndo to pack all the actions into one undo step... xsi = Application def capMeshHoles(mesh, freezeModeling = True): '''Caps holes in given mesh.''' originalSelection = xsi.Selection.GetAsText() boundaryEdges = [ e