Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

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

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

mcw0
Advisor Advisor
213 Views
0 Replies
Message 1 of 1

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

mcw0
Advisor
Advisor

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 Likes
214 Views
0 Replies
Replies (0)