Select Alternating Polygons?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  1 Day Ago
the mesh originally has duplicated faces because of probably "double-side" export feature, as Klvnk pointed...
but "checker - order" duplication might be a specific coincidence.

here is a more universal solution:

fn fixWeirdMesh obj =
   hash_faces = for k=1 to obj.numfaces collect
      x = (length (meshop.getfacecenter obj k) * 100) as integer
      y = (meshop.getfacearea obj k * 100) as integer


   hash_unique = makeuniquearray hash_faces
   unique_faces = for i in hash_unique collect (finditem hash_faces i)

   meshop.deletefaces obj unique_faces
   meshop.weldVertsByThreshold obj #all 0.0001
   meshop.unifyNormals obj #all
   meshop.autoSmooth obj #all 45
   update obj
fixWeirdMesh $

it might need a code optimization, more accurate hashing, and a parameter tweaking...
reply share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:40 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.