Skip to content

Instantly share code, notes, and snippets.

View thomthom's full-sized avatar
🐛
Be vewy vewy quiet, I'm hunting bugs!

Thomas Thomassen thomthom

🐛
Be vewy vewy quiet, I'm hunting bugs!
View GitHub Profile
@thomthom
thomthom / mesh_vertices.rb
Created March 14, 2013 09:40
Experimental mapping of SketchUp's Geom::PolygonMesh points to vertices.
# Experimental mapping of PolygonMesh points to vertices.
#
# Example::MeshVertices.test_map_mesh_vertices
module Example
module MeshVertices
def self.test_map_mesh_vertices
model = Sketchup.active_model
group = model.selection[0]
mesh = Example::MeshVertices.get_group_mesh( group )