Topography Analysis
TopoMesh=TopoRev.Mesh;
TopoVer=TopoMesh.VertexPositions;
TopoInd=TopoMesh.FaceIndices;
MesVerA=List.GetItemAtIndex(TopoVer,TopoInd.A);
MesVerB=List.GetItemAtIndex(TopoVer,TopoInd.B);
MesVerC=List.GetItemAtIndex(TopoVer,TopoInd.C);
MesSur=Surface.ByPerimeterPoints(List.Transpose([MesVerA,MesVerB,MesVerC]));
//Color
Cols=[Color.ByARGB(255,255,0,0),Color.ByARGB(255,0,0,255),Color.ByARGB(255,0,255,0)];
ColInd=[0,0.95,1];
//Surface Normal Angle To Vertical
MesNor=MesSur.NormalAtPoint(MesSur.PointAtParameter(0.5,0.5));
NorAng=MesNor.Dot(Vector.ZAxis());
Last updated