Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Different return values of the curve normal...is this a bug?

0 REPLIES 0
Reply
Message 1 of 1
mcw0
144 Views, 0 Replies

Different return values of the curve normal...is this a bug?

string $arc = `createNode makeThreePointCircularArc`;
setAttr ($arc+".pt1") 0 0 0 ;
setAttr ($arc+".pt2") 0 1 0 ;
setAttr ($arc+".pt3") 1 1 0 ;
string $arcLoc = rename(stringArrayToString(`spaceLocator`, ""), "arcNormal_loc");
connectAttr -f ($arc+".normal") ($arcLoc+".t");

string $curve = createNode("nurbsCurve");
connectAttr -f ($arc+".outputCurve") ($curve+".create");

string $pci = createNode("pointOnCurveInfo");
connectAttr -f ($arc+".outputCurve") ($pci+".inputCurve");
string $pciLoc = rename(stringArrayToString(`duplicate -rr $arcLoc`, ""), "pciNormal_loc");
connectAttr -f ($pci+".normal") ($pciLoc+".t");
viewFit;

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report