ScriptSpot home

Average Normals

Downloads

3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
v2
From original requirements
9–2015
Original version requirement
3ds Max 9 - 2015
Author’s update date
Legacy votes
69
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

zOffTy

More by this author

Average Normals is a MAXScript that averages all the vertex normals for each selected faces, so they all point the same direction.

 

Setup & notes

To use the script, you have to select all faces on which you want to flatten the normals and run the script

V2 with a simplified version of my script with the code of Barigazy

Comments (10)

Comment policy

OL

Not work in max 2015
Simplified version too

Yoeri

max 2016

Not sure if I am doing it right, but I select all polygons, apply the tool.
Nothing changes when looking at edit normals, everything stays exactly as it was.
(max 2016)

What might I do wrong?

nameveiof

My PC hangs when i use this script.
It's strange.

max x64 2014
amd phenom x6
win7 x64
16 gb ram

Yevgen

max 2011 x64

script not works :(

Reply to Yevgen
Branko Živković

Simplified version. Select faces of object and run this code

if selection.count != 0 do
(
obj = selection[1]
_faces = if obj.modifiers.count == 0 then getFaceSelection obj else
(
if matchPattern obj.modifiers[1].name pattern:"*Mesh*" or \
matchPattern obj.modifiers[1].name pattern:"*Poly*" do getFaceSelection obj obj.modifiers[1]
)
if not _faces.isEmpty do
(
mody = EditNormals name:"AverageNormals" selectBy:3
addModifier obj mody
with redraw off for _f in _faces do
(
_normals = #{}
mody.ConvertFaceSelection #{_f} _normals
mody.Reset selection:_normals node:obj
mody.SetSelection _normals
mody.Average selection:_normals node:obj
)
) ; collapseStack obj
)

nelu

How to use?

Hi, could someone tell me how to use this script please?

Panayot Karabakalov

Sounds good, but (am sorry to say that)... its not working for me, nothing changed... is this happen only to me? (Max2009)

nm, I have no time right now to check out the code, I'll post my version too.

[EDIT] opss, I think I found the problem (in my usage). If I select all faces - I end with nothing. Nice script though, thanks! I uploaded my version here anyway.

Regards,
Anubis

kony

very nice
thanks zoffty

djboulette

The simple is the best!
Nice script, work well as described!
Good Work mate.