AuthorTopic: SetFacePointIndex method (Read 4743 times)

I am trying to write an ASL script to essentially do what the Edit->Fix Normals command does.

I am using the technique of picking a face as the standard and testing whether the adjacent faces have the edges (or points) are wound in the same direction, then testing the adjacent to the adjacent, etc. If I find a face that is wound in the same direction as the previous, I would like to reverse the winding.

/* fix normals change all faces to the same orientation by starting with the first face. The direction of vertex winding is noted and compared to each edge adjacent face. If the direction of vertex winding is the same (should be opposite), fix it.*/

This is interesting, something that has been bugging me for some time now, that the Move mesh along path script no longer works, and the parametric mesh2path_2 script hangs on many occasions, is it because the $shape.Close(); $output.close; is not functioning correctly?

Have solved the mesh_2_path_2 problem it was me trying to click on the copytarget every time to get it to work, it ran the script but didn`t display. However, if I don`t highlight anything, but just drag in the workspace it runs OK every time.

Now I have problems with the parametric SourceMesh2Target, result don`t happen for me, any ideas?