Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily  Download 
Offset tool in Ruby?
- 
 How can I use Ruby to mimic the 'Offset' tool in SU? Given a face, I want to get a new face that's 1.5 m from the edges (on the inside), or just have a way of knowing if a given point would be on such a face. 
- 
 Smustard.com has a free ' offset.rb' that adds some extra methods to the API that should do what you want... Either 'require' it or cannibalize parts of its code into your own ...The API's face.classify_point(point)method will tell you if a point is on a face etc - use the constants NOT numerical equivalents...
- 
 Sweet, thanks. 
Advertisement

 
                             
                             
                             
                             
                             
                             
                            