Outline Mesh Face

A quite useful script which outlines the mesh face closest to a point. I wrote this as a first step to create a script for generating new, more abstract, trees. That script and images will come soon.

Pseudo code:

input mesh and start points
find index of faces closest to start points
find vertex points for each face of mesh, store in face index array
add line around points of same index as selected faces

// download script: oulinemeshface.rvb

// update:

I modified the script so that there’s a choice to either outline faces closest to a point or all faces. There’s also now a choice to add a polyline or a curve through the face points.

// download updated script: outlinemeshface2.rvb

No comments: