Basically, i divided the surface into a grid and then assigned a geometry to each point of the grid. However, they do not fall flat on the surface, instead, they are always parallel to the xy plane. what should i do to change the angle?
Removing the edge points requires two operations. The first one is just trimming the first and last point from each list, which can be done with the subset component. The second one is actually removing the first and last branch from the tree of points from the surface. To do this you can create the paths with a series component that will create the proper indices (ie start from 1 not zero, and go till one less than the number of branches created), then feed the paths into the Tree Branch component. See the attached. Let me know if you have any more questions.