polygon mesh 'heal'

Discussions regarding modelling with SOFTIMAGE©
Eugen
Posts: 331
Joined: 10 Jan 2010, 11:40
Location: Vienna/Austria

polygon mesh 'heal'

Post by Eugen » 06 Feb 2014, 13:33

Hi,
what's a good way to more or less automatically heal a mesh that is split up in plenty of islands, with randomly flipped normals?
Because that's what I get after importing some architectural assets (fittings etc.) via OBJ or FBX.
No worries about UVs in this case, just need a simple but clean mesh.
Cheers!
Eugen

Eugen
Posts: 331
Joined: 10 Jan 2010, 11:40
Location: Vienna/Austria

Re: polygon mesh 'heal'

Post by Eugen » 06 Feb 2014, 14:18

Found this compound by Christian Gotzinger:
https://vimeo.com/36614302
but it seemingly does not work across multiple poly islands.

Any other ideas?

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 22:38
Location: St. Thomas, Ontario

Re: polygon mesh 'heal'

Post by Daniel Brassard » 06 Feb 2014, 14:38

Hi Eugen,

Look at this thread on the Softimage Mailing List for options/ideas.

https://groups.google.com/forum/#!topic ... P7AbOCY4yY

The script from Matt Lind "ML Unify Normals" is also available on "The Area"

https://area.autodesk.com/downloads/scr ... fy_normals

I have downloaded it for you.
AUTHOR: MATT LIND

FINDS ALL INVERTED POLYGONS ON SELECTED POLYGON MESHES, AND INVERTS THE NORMALS TO POINT OUTWARD (EG: REDRAWS POLYGON USING COUNTER-CLOCKWISE ORDERING OF VERTICES TO COMPLY WITH RIGHT HAND RULE).

SUPPORTS INPUT ARGUMENTS FOR USE IN SCRIPTING: XSICOLLECTION, COMMA DELIMITED STRING, OR ARRAY OF POLYGON MESHES TO BE PROCESSED. NON-POLYGON MESHES ARE FILTERED OUT BY THE COMMAND. * NOTE: THIS COMMAND DOES NOT CONSIDER USER NORMALS WRITTEN AS A SELF INSTALLING COMMAND USING JSCRIPT LANGUAGE.

USAGE:
1) SELECT POLYGON MESH(S).
2) MODEL > [MODIFY] POLY.MESH > ML UNIFY NORMALS

INSTALLATION:
1) DRAG AND DROP SCRIPT INTO THE PLUGINS FOLDER OF ANY WORKGROUP.
2) START XSI. IF XSI IS ALREADY RUNNING, YOU CAN REFRESH PLUGINS THROUGH THE PLUGIN MANAGER OR TYPE AND EXECUTE "UPDATEPLUGINS();" (JSCRIPT) IN SCRIPT EDITOR (NOTE: MAY HAVE TO MODIFY SYNTAX TO ACCOMODATE WHATEVER LANGUAGE YOU'RE USING).
You do not have the required permissions to view the files attached to this post.
$ifndef "Softimage"
set "Softimage" "true"
$endif

Eugen
Posts: 331
Joined: 10 Jan 2010, 11:40
Location: Vienna/Austria

Re: polygon mesh 'heal'

Post by Eugen » 06 Feb 2014, 15:08

That did the trick, thanks so much!!
Love this community...

Eugen
Posts: 331
Joined: 10 Jan 2010, 11:40
Location: Vienna/Austria

Re: polygon mesh 'heal'

Post by Eugen » 06 Feb 2014, 15:54

Could fix some of the parts, but others were so garbled, not even black magic helped, had to rebuild them.
What's the thing about CAD data sometimes?? If you see DXF anywhere near, just run... (those downloads were DXF and FBX. Tried FBX).