• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

PLUGIN REQUEST - GFA Calculation

Scheduled Pinned Locked Moved Plugins
12 Posts 6 Posters 1.6k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    haynesc
    last edited by 19 Jul 2011, 16:55

    Hello

    the may already be a plugin for this - I dont know

    See attached image

    I would like a plugin to display the AREA and GFA of a group like the one shown as red

    GFA = [AREA] * [FLOORS] ....

    [FLOORS] = [HEIGHT] / [FLOOR TO FLOOR HEIGHT]

    [FLOOR TO FLOOR HEIGHT] = USER SPECIFIED

    Any thoughts ?

    Chris


    Sketchup Plugins.jpg

    1 Reply Last reply Reply Quote 0
    • H Offline
      honoluludesktop
      last edited by 19 Jul 2011, 17:30

      Might be difficult to do for building volumes that have different floor areas, heights, etc.

      temp.png

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdmitch
        last edited by 20 Jul 2011, 03:54

        For a simple block, load and run the following code from the Ruby Console

        def gfa_calc
        	mod=Sketchup.active_model
        	sel=mod.selection
        	if sel.first.is_a?(Sketchup;;Group)
        		ans=inputbox(["Floor to Floor spacing"],[3.m],"GFA calculation")
        		if !ans then return end
        		f2f=ans[0].to_l
        		unit=Sketchup.active_model.options["UnitsOptions"]["LengthUnit"]
        		case unit
        			when 0;uf = 1.0;u="inches"
        			when 1;uf = 12.0;u="feet"
        			when 2;uf=0.03937007874;u="mm"
        			when 3;uf=0.3937007874;u="cm"
        			when 4;uf=39.37007874;u="m"
        		end
        		width=sel.first.bounds.max.x - sel.first.bounds.min.x
        		depth=sel.first.bounds.max.y - sel.first.bounds.min.y
        		area = (width * depth)/ uf**2
        		height=sel.first.bounds.max.z - sel.first.bounds.min.z
        		floors = height/f2f; height /= uf; ta = area * floors
        		UI.messagebox "Area;     #{area}\nHeight; #{height}\nFloor to Floor; #{f2f}\nFloors;  #{floors}\nGFA;     #{ta}"
        	end
        end
        
        

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • H Offline
          haynesc
          last edited by 20 Jul 2011, 11:46

          A few dialog popups to assign building names to simple blocks and produce a schedule for all of them would be nice

          Assuming each Building is a Group ... you could name the Group - "CP-03" - Building Name

          Data for CP 03

          From Skecthup :

          Area
          Height

          From Data Entry:

          Floor-to-Floor Height

          From Formula Calculation:

          Floors: [Height] / [Floor-to-Floor Height]
          GFA: [Floors]*[Area]

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdmitch
            last edited by 24 Jul 2011, 17:08

            GFA_Report.rb is my attempt to solve your problem. In addition to displaying the information in a messagebox, it writes it to a .txt file.


            GFA Report

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • H Offline
              haynesc
              last edited by 25 Jul 2011, 23:17

              thanks sdmitch ...

              Its a start ๐Ÿ˜„ ... What I was thinking of was a dialog box system that would work as a live & update-able schedule for Assigned Buildings ...

              Something like my attach image

              http://img694.imageshack.us/img694/592/skpgfa0000layercomp1.jpg

              http://img832.imageshack.us/img832/3964/skpgfa0001layercomp2.jpg

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdmitch
                last edited by 26 Jul 2011, 01:21

                That's just a little beyond my limited ability. Maybe someone else has done something like that. Good luck.

                Nothing is worthless, it can always be used as a bad example.

                http://sdmitch.blogspot.com/

                1 Reply Last reply Reply Quote 0
                • R Offline
                  riserise
                  last edited by 27 Jul 2011, 15:00

                  funny to find your request here, was looking for the same thing for same project on our end... will let you know if i find anything...

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    haynesc
                    last edited by 2 Aug 2011, 08:13

                    BUMP

                    Just wondering if anyone has had any progress with this? ...

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by 16 Aug 2011, 09:11

                      Look at doing it with a Dynamic Component: you can then set/scale to give the rectangular footprint and height, enter the story height, name, color etc - it'd then calculate the footprint area and GFA automatically for you etc. Each instance is individually editable, or you can edit several together, or report on the selected ones etc at any time...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by 16 Aug 2011, 09:17

                        Have you had a look at http://www.modelur.com/ ? Might that be something for you?

                        Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          haynesc
                          last edited by 17 Aug 2011, 09:33

                          @thomthom said:

                          Have you had a look at http://www.modelur.com/ ? Might that be something for you?

                          Hey thanks thomthom looks looks fantastic I will test it thanks !

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement