Notifications
Clear all

[Closed] Changing normals doesnt save the normals?

Hey Guys, im writing a script to change my normals direction. Im changin the face normals in editable mesh using the following…

[left]setFaceNormal <mesh> <face_index_integer> <point3>
[/left]
[left]Sets the indexed face’s normal vector. As soon as you run update() on the mesh, this value is overwritten.
[/left]
[left]

[/left]
my problem is however this displays the normals fine if I am in face mode when i change the normal, but when i change out of face mode the normals get reset.

I have also tryed seting the normals via the edit normals modifier(this would be preferable) but when using the following it crashes…


		myFace = #{i}
		myNormalSelection = #{}
		valObj.Edit_Normals.ConvertFaceSelection &myFace &myNormalSelection node:valObj
		print myNormalSelection

Any ideas how to set normals using the editnormal modifier on a face level?

1 Reply

Ok crap, it seems editnormals modifier cannot convertFaceSelection on editable meshes