sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Estimates (extended)

    Scheduled Pinned Locked Moved Plugins
    50 Posts 23 Posters 50.1k Views 23 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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      @unknownuser said:

      the result of the "compute estimate" is always 0.00
      😲

      Maybe you didn't assign a cost to the default material and tested the script on "non-painted" faces ?

      1.jpg

      DB

      1 Reply Last reply Reply Quote 0
      • sadyoS Offline
        sadyo
        last edited by

        @didier bur said:

        @unknownuser said:

        the result of the "compute estimate" is always 0.00
        😲

        Maybe you didn't assign a cost to the default material and tested the script on "non-painted" faces ?

        [attachment=0:1yjqif92]<!-- ia0 -->1.jpg<!-- ia0 -->[/attachment:1yjqif92]

        But Mr. Didier, I Allready did assign a cost to the default material and didn't tested the script on "non-painted" faces.
        Mmmm... if you don't mind, would you please to give us the screenshot of how you Assign prices to your materials and components, pleeeease... 😒

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

          Hi,
          Here is a quick screencapture video: choose settings, assign 2 costs for 2 materials, and calculate total estimate by material;
          Hope this helps,


          2.zip

          DB

          1 Reply Last reply Reply Quote 0
          • sadyoS Offline
            sadyo
            last edited by

            @didier bur said:

            Hi,
            Here is a quick screencapture video: choose settings, assign 2 costs for 2 materials, and calculate total estimate by material;
            Hope this helps,

            Thanks Mr. Didier, now it worked well

            1 Reply Last reply Reply Quote 0
            • mariochaM Offline
              mariocha
              last edited by

              Hum... I wonder, considering the folder they are in, will a re-install or update of SU replace those files with the standard non-customized ones ?

              %(#008000)[Mario C.
              Every rule has exceptions, but some.]

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

                @unknownuser said:

                will a re-install or update of SU replace those files

                yes, I think so. Make a backup first 😉

                DB

                1 Reply Last reply Reply Quote 0
                • fionmacoolF Offline
                  fionmacool
                  last edited by

                  Hi All, I'm desperately looking for cost plugin. I am hoping this one will work but when I load this on my Mac I get the following message:

                  Error Loading File attributes.rb undefined method `GetString' for nil:NilClass

                  Any idea what this is about? I really appreciate you creating this plugin. I am hoping to show it to others as a great tool for SU.

                  Thanks.

                  Zere are still some architectes zat do not know ow to use ze SketchUp..... Zis is unbelievable....

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

                    Hi,
                    Did you install the '.strings' files in your resources/en-US folder (as said in the readme.txt) ?

                    DB

                    1 Reply Last reply Reply Quote 0
                    • fionmacoolF Offline
                      fionmacool
                      last edited by

                      Yes thanks for that. i didnt read the readme file as usual. anyway, having struggled with this problem I now realise that there are no plugins that will provide material quantities for groups or components. (Please correct me if i'm wrong in this.)

                      Thanks for your help and your useful plugin.

                      Zere are still some architectes zat do not know ow to use ze SketchUp..... Zis is unbelievable....

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by

                        @unknownuser said:

                        desperately looking for cost plugin

                        Al Hart's Space Design

                        favicon

                        (www.renderplus.com)

                        Download the free D'oh Book for SketchUp 📖

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Pink
                          last edited by

                          How can I add another currencies because I don't use DOLLAR,EURO,SEK.
                          currencies={"Euro"=>"€","Dollar"=>"$","SEK"=>"SEK","BAHT"=>"BAHT"}
                          I save as to replace the attributes.rb , but it cannot be display in the sketchup.

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

                            Hi,
                            Go to line 26 and add your currency to the list that appears in the dialog box:

                            curList=["Euro","Dollar","SEK","BAHT"].join("|")
                            

                            Regards,

                            DB

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              gia_ginanjar
                              last edited by

                              how about change the unit to square meters? because in indonesia we use square meters unit, thanks in advance

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

                                Hi,
                                I don't understand the question. No foolish feet/inches unit here in France too 🤣 .
                                The script uses the unit you set in your model and outputs areas converting internal inches to your current unit. So whatever unit you use, no problem...

                                DB

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rmagoncillo49179
                                  last edited by

                                  hi i have a question, the estimate cost for component always shows the "susan" word.and i can't get it to work for component costing can you help me on this. thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    Susan is the 2D figurine who is inserted into some of the templates

                                    http://www.sketchucation.hu/wp-content/uploads/2010/09/Susan.jpg

                                    Now to get rid of her, delete the figurine in a new, empty file, go to Window > Model info > Statistics and Purge everything. Then save your file as a template under the file menu and set SU to make this your default template (there is a checkbox at the bottom left for it in the save as template dialog)

                                    Gai...

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thaigringo
                                      last edited by

                                      Great plugin.
                                      How can I change the default currency that loads when I create a new Model. I have added Baht (I am in Thailand) but when I load a new model the default currency is SEK and I would like it to be Baht.

                                      Thanks
                                      Fred

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        Edit the tool's attributes.rb file with Notepad or a similar plain-text editor.
                                        Find the line:
                                        currencies={"Euro"=>"€","Dollar"=>"$","SEK"=>"SEK"}
                                        Add [or delete]...
                                        To add 'Baht' insert a new lash member at the end thus:
                                        currencies={"Euro"=>"€","Dollar"=>"$","SEK"=>"SEK"**,"Baht"=>"฿"**}
                                        Or perhaps ... **=>"B"** depending on your PC's Unicode settings ?
                                        Also change the line:
                                        curList=["Euro","Dollar","SEK"].join("|")
                                        to include it...
                                        curList=["Euro","Dollar","SEK"**,"Baht"**].join("|")

                                        To make that currency your default, find the line:
                                        $estimates_currency="Euro" if !$estimates_currency
                                        change it to...
                                        $estimates_currency=**"Baht"** if !$estimates_currency

                                        Hope this helps...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thaigringo
                                          last edited by

                                          Thanks for the quick reply...
                                          Made the changes but still Defaults to SEK...
                                          Any other suggestions?

                                          Fred

                                          1 Reply Last reply Reply Quote 0
                                          • TIGT Offline
                                            TIG Moderator
                                            last edited by

                                            I hope that you are editing the correct 'attributes.rb' file in the 'Examples' subfolder within the 'Plugins' folder... AND restarting Sketchup so the change is activated ?
                                            Are you sure you added "Baht" in the 3 places just as I said ?

                                            There is an alternative way...
                                            If you are always going to use "Baht" then you could set every thing to always use that.
                                            Change the dialog part as follows to avoid asking about 'Currency':
                                            prompts = [$exStrings.GetString("Unit: "), $exStrings.GetString("Default Material cost: ")] values = [units.index($estimates_unit), $estimates_cost_default_material]
                                            and also the line
                                            dropdowns=[curList,unList]
                                            must become
                                            dropdowns=[unList,""]
                                            and also the line after the dialog...
                                            Then the line
                                            $estimates_currency=currencies[results[0]]
                                            must become
                                            $estimates_currency="Baht"
                                            or
                                            $estimates_currency="฿"
                                            to use a 'symbol'...
                                            The other results must also be adjusted from
                                            $estimates_unit=units[results[1]] $estimates_cost_default_material=results[2]
                                            to
                                            $estimates_unit=units[results[0]] $estimates_cost_default_material=results[1]
                                            ...

                                            TIG

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

                                            Advertisement