triangulate

Tagged with terms:
4
points
Date Updated: 
03/08/2007
Author: 
Dave Morris
Version: 
0.1

This script takes all currently selected faces, and triangulates them by adding a vertex at the centroid of each face and connecting all vertices of that face to it. It's a really simple method of triangulation, and there is an optional parameter called 'all' that if set to true, will triangulate every selected face, including faces which are already triangles.

Additional Info: 

usage:

load 'triangulateSelected.rb'
#select some faces
triangulateSelected
#-or-
triangulateSelected(true)

Version Requirement: 
SketchUp 6
Additional Requirements: 

n/a

AttachmentSize
triangulateSelected.rb1.13 KB