Zone object
-
I'm looking for a solution that will provide me through the report generator with the perimeter, area and volume of a solid shape to analyse rooms. I know how to get this manually, but it would be great if this info was automatically updated with the shape so it could be quickly extracted and analysed in Excel.
I think I can get the right results for volume straight out, and the floor, wall & ceiling areas can be extracted by assigning different materials to the various faces but I can't see any way to get the perimeter for a face in the report.
Anyone got a solution?
Feels like it should be a fundamental part of the S.U. report.
-
Try
edges=face.edges; len=0; edges.each{|e|len+=e.length}'len' is now the length of the face's perimeter in inches...
-
Thanks TIG but I'm struggling with Ruby. I've done basic, machine code (long time ago), Lisp & GDL (ArchiCAD).
I did look at your volume script but I'm not sure how to add your snippet of code above.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement