Hi, Thanks guys. I've tried those methods with this simple code in a cube, after creating the custom normals layer:
import random normals = [(random.random(),random.random(),random.random())] * 24 bpy.data.meshes['Cube'].normals_split_custom_set(normals) I get no errors but nothing happens. I tried executing that in both edit and object mode. Also I tried to execute .update() after with no result. What I have to do to see the result? By the way I'm using a Blender compiled from today's git. Thanks On 04/27/2015 08:18 AM, Gaia wrote: > Please note that another bug in the Python API to custom normals > was recently fixed as well (fix will be available in 2.75), > see here: https://developer.blender.org/T44359 > > -gaia- > > On 27.04.2015 10:12, Alexander Romanov wrote: >> Blend4Web addon has a tool for normals editing. But it has not quite >> correct interaction with Blender currently. Now we are working on the >> transition to the custom split normals storage (native storage for >> custom normals). >> Unfortunately, the current Blender release has a serious bug >> (https://developer.blender.org/T44461) that causes corruption for some >> files in our SDK. Bug was fixed, but we can publish this new >> functionality only with the next Blender release. >> >> Alexander(Blend4Web Team) >> >> On 27.04.2015 10:31, Alexander Romanov wrote: >>> See custom split normals. >>> http://www.blender.org/api/blender_python_api_2_74_release/search.html?q=custom+normals&check_keywords=yes&area=default >>> >>> On 27.04.2015 01:06, Vicente wrote: >>>> Hi, >>>> >>>> I cannot get the info from other sources so I have a simple question for >>>> you guys. >>>> Is it possible to access/modify the normals of a mesh from the python >>>> API? I would like to make a clone of the normals tools in softImage and >>>> so I need to have access to them from python. >>>> >>>> Thanks >>>> >>>> Vicente >>>> _______________________________________________ >>>> Bf-committers mailing list >>>> [email protected] >>>> http://lists.blender.org/mailman/listinfo/bf-committers >>> _______________________________________________ >>> Bf-committers mailing list >>> [email protected] >>> http://lists.blender.org/mailman/listinfo/bf-committers >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
