sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Generating Cost Report

    Scheduled Pinned Locked Moved Plugins
    20 Posts 4 Posters 1.3k Views 4 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.
    • P Offline
      pe.ekeberg
      last edited by

      Where can I learn how to alter the Plugin 'attach' in SU8 so my students are able to change units.....US converted to Metrics decades ago....and currency
      Also to change materials/faces to actual in model.....so they can make a report on the costs for their Interior Designs

      1 Reply Last reply Reply Quote 0
      • Didier BurD Offline
        Didier Bur
        last edited by

        Hi,

        @unknownuser said:

        the Plugin 'attach'
        What plugin are you talking about ?

        DB

        1 Reply Last reply Reply Quote 0
        • P Offline
          pe.ekeberg
          last edited by

          Hi Didier.....in SU8/Plugins/Example/attribute.rb.....a simple report generator......could be extended a bit

          1 Reply Last reply Reply Quote 0
          • Didier BurD Offline
            Didier Bur
            last edited by

            OK, I've extended the script a little bit: added a settings dialog box, set up a 'cost per material' output function, and modified the global estimate function so it output results in your local currency (€) and area format (m2).
            That could be a starting point for you if you want to go further with Ruby... πŸ˜‰

            Please read first the file 'costs.txt', where there are some explanations and guides to 'germanize' the script.
            Yes, I supposed you were german, but maybe swedish, danish, norvegian ?
            Hope this helps,


            estimates.zip

            DB

            1 Reply Last reply Reply Quote 0
            • KrisidiousK Offline
              Krisidious
              last edited by

              nice Didier...

              By: Kristoff Rand
              Home DesignerUnique House Plans

              1 Reply Last reply Reply Quote 0
              • P Offline
                pe.ekeberg
                last edited by

                I've downloaded your attributes.rb but the examples.strings was found in my \Resources\en-US\ folder and looks like in the attached file......anything wrong? ....but how do I get the file into my answer?

                1 Reply Last reply Reply Quote 0
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  Hi,
                  There is an examples.string in each and every 'resources > en-US' folder, no matter your local version is.
                  BUT there is ANOTHER examples.strings file in your local folder.
                  From what country are you from ? This will help find your local resouces folder.

                  DB

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pe.ekeberg
                    last edited by

                    Hi......no here in Sweden we use the en-US version with no translation.....have looked into \Document and Settings\ but there are no lokal folders for Resources .....we are rather lucky in one way up here.....we use all media communication in the original language.....of course with the text-translation on in TV

                    1 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      Hi,

                      If you use the en-US version of SU, your example.strings file is in the ...\Resources\en-US\ folder.
                      Attached is a non-translated version of this file with the new strings added. Overwrite your examples.strings file with this one, re-start SU and it should work?
                      Best,
                      examples.strings.zip

                      DB

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pe.ekeberg
                        last edited by

                        Great Didier.....I got it working at last.....is it possible to add SEK in currency and perhaps also assign estimate to group/groups & components.....just to get an overall Estimate for the project........and can I save the content in Vality Check
                        A lot of questions but it seems a great plugin for Cost etsimation

                        Regards
                        pererik ekeberg

                        1 Reply Last reply Reply Quote 0
                        • Didier BurD Offline
                          Didier Bur
                          last edited by

                          @unknownuser said:

                          save the content in Vality Check
                          😲
                          What's that ? a file format, an app ?

                          I'll see what I can do for components estimation.
                          SEK isn't a problem (I didn't figure out that Sweden wasn't in the 'euro zone'). Stay tuned πŸ˜‰

                          DB

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pe.ekeberg
                            last edited by

                            After you have Assigned Estimate ti Material you can open Assign Estimate PER Material and then there's a palette named 'Validity Check'....seems to contain all ralavant info for Materials in the rollout in Cost by Material.....by the way why are all material from 'black to <Carchoal> listed if they not been assigned a cost?

                            1 Reply Last reply Reply Quote 0
                            • Didier BurD Offline
                              Didier Bur
                              last edited by

                              Hi,
                              This new script doesn't list materials that don't have a price/m2 anymore.
                              There was a typo in the menu too, that is fixed.
                              It also adds an option to assign a component a price, and an option to estimate the total price per component and the global total for all instancied components.
                              SEK has been added and becomes the default currency.
                              Beware to overwrite your previous examples.strings file with this one (several strings added in it).
                              Regards,


                              estimatesMatsAndComps.zip

                              DB

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pe.ekeberg
                                last edited by

                                Merci bien Didier.......I'll take up French one of these days

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pe.ekeberg
                                  last edited by

                                  Very interesting....I have to take up Ruby programming.....could you assign costs to diferent layers.....if you, par example, draw a small building and separating interial and exterial walls to different layers and then attach different materials to the walls you could end up with a cost estimate for the whole building......if one could set different prices to different components as for now it's the last price in for all....what editor do you use?

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pe.ekeberg
                                    last edited by

                                    Hello.......any good book for trying learning Ruby scripts......

                                    1 Reply Last reply Reply Quote 0
                                    • Dan RathbunD Offline
                                      Dan Rathbun
                                      last edited by

                                      @pe.ekeberg said:

                                      Hello.......any good book for trying learning Ruby scripts......

                                      Ruby Resources

                                      And it's in the Developers Forum, that's where we duscuss Ruby Programming for Sketchup.

                                      I'm not here much anymore.

                                      1 Reply Last reply Reply Quote 0
                                      • Didier BurD Offline
                                        Didier Bur
                                        last edited by

                                        Hi,

                                        @unknownuser said:

                                        if one could set different prices to different components

                                        That's the case now, you can assign a different price for each component.

                                        @unknownuser said:

                                        what editor do you use?

                                        Notepad++ (can be downloaded here: http://notepad-plus-plus.org/)
                                        With the Ruby color syntaxing and the Sketchup-API-Ruby auto-completion it's a must-have IMHO.

                                        @unknownuser said:

                                        any good book for trying learning Ruby scripts

                                        Automatic SketchUp here: http://rhin.crai.archi.fr/rld/automatic_SketchUp.php (smooth learning curve)

                                        @unknownuser said:

                                        could you assign costs to diferent layers

                                        Not for now but it's a good idea. Maybe a 'learning/training' exercice for you ?

                                        I've just published the latest version of the script here: http://forums.sketchucation.com/viewtopic.php?f=323&t=35181
                                        You can export the results to a CSV file and open it directly in Excel.
                                        There's a readme for install instructions.

                                        Best regards,

                                        DB

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pe.ekeberg
                                          last edited by

                                          Sorry Dan.....I was just finishing my argueing with Didier with a slightly different question....... β˜€

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            pe.ekeberg
                                            last edited by

                                            Thanks a lot Didier....now I have to study for some weeks/months to come......first learning it....then showing it to 'my' Upper Secondary Shool for students in some Building classes to use.....then explaining to the students why it's almost impossible to fully automate the process....

                                            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