← All ideas
  • Published 3 Jun 2022

Clear custom split normal data for multiple objects

When importing .obj and other files, you often end up with dozens of objects that all need their custom split normal data to be cleared, but currently there is no way to clear the data from all objects at once. Instead, you have to go through and click the button for every mesh, which is very time consuming. If 'Alt + Click' or other functionality were to be implemented for this function, as it is for many others in Blender, it would be a great time-saver.

100%

Development Status: Open

Upvote 8 Downvote 0
rowquino
3 Jun 2022

4 Comments

SpookyDoom

We need multi property editing for everything, not just individual parts of the UI and it can't be hidden behind a Modifier Key like Alt, either. It's unpractical, undiscoverable and only works in certain situations. The design task has been open for over five years now: projects.blender.org/blender/blender/issues/54862

In the meantime you can save this script I made somewhere and execute it on all selected objects.

import bpy

context = bpy.context
scene = context.scene

selected_mesh_objects = [o for o in context.selected_objects if o.type == 'MESH']

ao = context.view_layer.objects.active

for o in selected_mesh_objects:
    context.view_layer.objects.active = o
    r = bpy.ops.mesh.customdata_custom_splitnormals_clear()
    print(o.name, r)

# change ao back to original   
context.view_layer.objects.active = ao

In the meantime maybe upvote one proposal for visibility. It's been duplicated a bajilion times already. :-/ blender.community/c/rightclickselect/qfcbbc/

1
zuorion

but currently there is no way to clear the data from all objects at once

unless you use addons: mrven.gumroad.com/l/hPXIh

1
3d.asfan

Hi, so is there any solution up until now? as in 3.6? alt+click the "Clear custom split normal data" does not work. Thanks

SpookyDoom

No. Unless the devs pick up true multi object property editing this won't be solved any time soon, I'm afraid.

Either learn Python scripting for custom tooling or push this request here: blender.community/c/rightclickselect/qfcbbc/

No other chance unless you or anyone can help out and is willing to work with the devs on it, I'm afraid. On Devtalk any request will be shut down immediately.