Start a new topic

Creator Script: Tip for using Triangulate to process non-planar faces

Original Post by: SteveThompson Fri Dec 2 21:45:53 2011


During the OpenFlight User Group Meeting at I/ITSEC on 11/30/2011, tips and tricks were presented for using OpenFlight Script and Creator Script.


Here is a very simple script presented that shows how to use two Creator Script commands together. The first selects nodes to process (specifically, non-planar faces). The second processes the non-planar faces selected by triangulating them.



# select faces that are not planar

mgExecute ("Select Nonplanar Faces", None)


# invoke the Triangulate command to triangulate the

# non-planar faces selected

mgExecute ("Triangulate", None)


Login to post a comment