Merge Coplanar Faces Challange

Merge Coplanar Faces Challange

okozlovskii
Contributor Contributor
10,267 Views
8 Replies
Message 1 of 9

Merge Coplanar Faces Challange

okozlovskii
Contributor
Contributor

Look at the attached picture.

 

We have a perfectly flat object subdivided into bunch of unnecessary polygons on the left. Is there any way (script, modifier, plugin - anything) to clean it up so it becomes like an object on the right?

 

I need it because exported sketchup models look like a complete mess most of the time. Completely flat faces of a model are subdivided into thousands of unnecessary polygons. 

 

Amazingly, Rhino 3d has a feature to clean it up. It merges all coplanar faces into one. Sketchup has a cleanup3 plugin that does the same thing. I did research and it looks like almighty 3ds max, with its 30 years of history, does not have anything of that kind. Please, prove me wrong.

0 Likes
Accepted solutions (1)
10,268 Views
8 Replies
Replies (8)
Message 2 of 9

dbroad
Mentor
Mentor

In the first state, deselect the corner verticies.  Then select remove.  It should remove the "unnecessary" verticies.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 9

okozlovskii
Contributor
Contributor
I know how to do it manually. I'm looking for an automated/scripted solution. Often I have 10,000 faces like that. I will get old before I select all of them.

The picture is only an example to explain the concept.
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
0 Likes
Message 4 of 9

lightcube
Advisor
Advisor
Accepted solution

There is a button in my Carver tool called Fix Coplanar that does this for you.



Shawn Olson

Developer of Wall Worm
3ds Max plugins and Scripts

3ds Max 4/Gmax - 3ds Max 2020
Mudbox 2009-2019

Windows 10 x64
i7 8700K
64GB RAM
Geforce 1080ti
Message 5 of 9

dbroad
Mentor
Mentor

Sorry,

I misunderstood.  Have you tried the built in Batch ProOptimizer?  It may do what you want.  See the help files.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 6 of 9

lightcube
Advisor
Advisor

ProOptimizer almost works when you turn on Face Merging. But I've never found a way to get it to remove ALL coplanar faces. Instead, most are reduced but it won't actually reduce all the coplanar faces. For example, with ProOptimizer, you can take a Box with length/width/height segments set to 10. Combining all coplanar polygons would result in only 6 (quad) polygons. But instead, the best ProOptimizer does is reduce it to 12 (tri) polygons with 6 sets of coplanar polygons remaining.



Shawn Olson

Developer of Wall Worm
3ds Max plugins and Scripts

3ds Max 4/Gmax - 3ds Max 2020
Mudbox 2009-2019

Windows 10 x64
i7 8700K
64GB RAM
Geforce 1080ti
Message 7 of 9

okozlovskii
Contributor
Contributor
I tried proOptimizer and optimize before. As you said, it did not work as it should. The best result I've got was just just a little bit less messy than the original. Also, they operate by merging points, not faces.

By the way, creating box 10*10*10 faces, converting it to edit poly and then trying to make it a 1*1*1 face box is how I test the optimizing scripts I find online. 🙂 So far no luck.

In a way, I try to find an anti-tesselate modifier or script. If max can tesselate, I figured, it can do a reversed process too. To my surprise, it cannot. Unless there is something I do not know...
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
0 Likes
Message 8 of 9

lightcube
Advisor
Advisor

Well, as mentioned, the Carver script above will solve this. The limitation is that it only works on editable poly objects.



Shawn Olson

Developer of Wall Worm
3ds Max plugins and Scripts

3ds Max 4/Gmax - 3ds Max 2020
Mudbox 2009-2019

Windows 10 x64
i7 8700K
64GB RAM
Geforce 1080ti
Message 9 of 9

okozlovskii
Contributor
Contributor

I'm sorry, I missed your first message (I did not get an email on it). It works great! At least on a test object. I need to use it for a few days and see if it works on the other things just as good. It is 5$, but, if does the trick, it is well worth it.

 

Thank you a lot!

0 Likes