ScriptSpot

Script

Unify / Flip normal polygons

By Budi G · Credited author: Budi Gunawan · 2010-10-24

Version
1.2
Version requirement
max 2009 -2011
Date updated
2010-10-29
Votes
87
Description

Use this script to make normal polygon of the objects.
Unify or flips all the faces of multiple selected objects with/without accses to SubObjects level.

New UI

Additional Info

working on the baseObject editable_mesh and editable_poly. History: Unify/Flip normal polygon V 1.0 - Main idea Tools. - macroscript file. Update : Unify/Flip normal polygon V 1.2 - Changing and Optimizing a few code. - Added support: multiple selected faces of single object with accses to SubObjects level. - Added a switcher UI buttons to Auto detect/Select faces. - Added support: Auto Select the faces for distinguishing Normal or Unnormal Faces of Single object. - Convert the code from .mcr to .mse file. - Added the Notes messages by pressing CTRL+OK buttons I was inspired by guys in this forum: http://www.scriptspot.com/forums/3ds-max/scripts-wanted/need-to-correct-the-normals-of-all-polygons and http://www.scriptspot.com/forums/3ds-max/scripts-wanted/flip-faces-on-selected-objects thank's guys ;) Tips : Collapse the stack of modifiers objects first before using this scripts install : Download then unpack the rar-files 1. for .mcr file : - Copy "BGtools_Unify_Flip_normal_polygon.mcr" into your "/ui/usermacros" folder. ie: C:\Documents and Settings\USER\Local Settings\Application Data\Autodesk\3dsmax\2009 - 32bit\enu\UI\usermacros\ - Restart Max and you will find it under - Customize >> CustomizeUserinterface, Category 'BG tools'. - Or go to MAXScript>>Run Script... and select the "BGtools_Unify_Flip_normal_polygon.mcr" file,then find it under Customize>>CustomizeUserinterface, Category 'BG tools' - Click 'Make unify or flip normal...' and then Assign into keyboard, toolbars, Quads or menus.The button name is 'Face normal' 2. for .mse file : - Put 'BG-Unify_Flip_normal.mse' into "scripts/BG_Script" folder
Attachments

Tags: modeling, face, Editable Poly, faces, polygon, Editable Mesh

Comments (20)

not work on sketch up model

ohyooha · 2017-10-25

i'm using with max2015 it work only model created by 3dsmax
it not work with model that imported from sketchup :/

How to make this script work ?

Murios · 2017-05-09

Hi I am using max 2015 , when I drag and drop this script it works, but I can't fix it permanently . Once I run the script and create a button it says could not locate the script or something like this. What is the problem ? If anyone knows how to make it work please let me know.

Thank you

Hi!

MrTyner · 2012-01-08

Your script worked better than anything I could find or write. I too am importing microstation models and still get the occasional normal flip.

I have a problem that I have MANY meshes. How can I call this script in a loop?

thanks!

Hi MrTynerI can't guarantee

Budi G · 2013-06-22

Hi MrTyner
I can't guarantee if some user call this script to complex mesh or million mesh/object with one click,
some reason :
- outcomes of imported objects sometimes do not produce a good mesh, polygon sometimes broken or messy vertex, so
if after import using this script sometimes does not run correctly.
then sometimes we must check first few objects to find out what the problem on its mesh.

- Another reason the power of the cpu performance also affects to looping as I know.

you can call this script to selected object one by one or more to your mesh, or maybe by sections if you worries getting something error because this script.

Budi G · 2011-06-23

glad to hear that man :)
thanks for feedback bob

Working for me

Bob · 2011-06-21

I also have 3Ds Max 2012 and it works for me - very useful script, cheers.

Budi G · 2011-06-18

hi titane, it's running in max 2012 and work correctly.

Can you tell me what steps do you make it error ?
to make sure :
object should be collapse/convert to editablemesh or editablepoly
or select editablemesh or editablepoly objects.
if some object have modifiers sometimes it's not work correctly.

titane357 · 2011-05-16

Hello, I find your script fantastic ! but it don't work with 2012.... :
"--Compile error : Undeclared variable : sp"
argh, really need it !!!! Thanks for sharing

Budi G · 2011-05-18

I don't have max 2012 ... but i'll try to fix it later.
thanks for feedback titane357.

Help needed

Murios · 2017-05-12

Hi I am using max 2015 , when I drag and drop this script it works, but I can't fix it permanently . Once I run the script and create a button it says could not locate the script or something like this. What is the problem ? If anyone knows how to make it work please let me know.

Thank you

Budi G · 2011-05-16

all@: Hi there .. thanks for comment and support :)

paulov and LORDOFMAX :
as I know the method I created a simple script based on the ability of studio max.
I'm not sure if I give the right answer at this time, could you give an example max scene to me? you can upload here or email me.
maybe someday I will fix it... thanks

Linked geometry support

paulov · 2011-04-14

Hi there.

Awesome tool. Supertime saver.

I find it is missing a feature wich would help me considerabily, is to support DWG linked geometry that is linked via the file link manager tool.

When I Import my Microsation mesh data, some objets do have their faces upside down, and the plugin does not work :(. So It is mandatory to keep it doing manually by asingind the editmesh modifier and entering the subobjet mode.... boring!!

Thanks anyway for this tool

fantastic

jasonpierce · 2011-04-04

Beautiful script man, can instantly select and flip now without going into edit poly mode, saves me an immense amount of time. Thanks!

lantlant · 2011-02-01

Great job!

thanks any way

LORDOFMAX · 2011-01-29

for me it is not work good with big mass,I import mass from sketch up"little city"" and usually it comes with many flipped faces and here where I should find your script useful but it wont work ,,it fix some of them but most of them still flipped...thanks any way

Budi G · 2010-11-25

FYI: Unify/Flip normal polygon V 1.2 has been updated

thanks guys

Regards

Very useful script

stenionet · 2010-10-26

Scripts like this one, make my life easier.
Thanks.

Budi G · 2010-11-25

Thanks for comment stenionet.
You're welcome ... :)

Michele71 · 2010-10-24

Little great script :) Thanks!!

Budi G · 2010-10-26

ok, You're welcome :)...