SuperDjo
01-08-2007, 10:35 AM
Hello everyone.
I have a question regarding the normals of an extruded nurbs tube (generated through mel using a curve and circle). I was wondering how I could get the direction the normals of the tube are pointing. I just want to know if they are facing inward or outward. I'm pretty sure the answer lies in PointOnSurface but I d'ont see which mathematical solution to use once I have the normals as vector from a couple of points on the surface. The thing is I want to reverse the surface direction if the normals are facing inward.
Strangely the extrude along curve gives me tubes with normals sometimes inward, sometimes outward. (generated at path using component picot and profile normal as the orientation)
I now regret not listening enough during my high school math classes. I'm not looking for a complete answer, but if someone could just point me in a direction that would be just great.
Thanx in advance
I have a question regarding the normals of an extruded nurbs tube (generated through mel using a curve and circle). I was wondering how I could get the direction the normals of the tube are pointing. I just want to know if they are facing inward or outward. I'm pretty sure the answer lies in PointOnSurface but I d'ont see which mathematical solution to use once I have the normals as vector from a couple of points on the surface. The thing is I want to reverse the surface direction if the normals are facing inward.
Strangely the extrude along curve gives me tubes with normals sometimes inward, sometimes outward. (generated at path using component picot and profile normal as the orientation)
I now regret not listening enough during my high school math classes. I'm not looking for a complete answer, but if someone could just point me in a direction that would be just great.
Thanx in advance
