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

New: HouseBuilder metric 1.2 (customizable)

Scheduled Pinned Locked Moved Plugins
44 Posts 14 Posters 15.7k Views 14 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.
  • K Offline
    kmead
    last edited by 23 Nov 2007, 22:13

    Still not enjoying the love. Still suffer the same error on a Mac. Its no fun being a minority... πŸ˜‰

    I created Dilbertville, sorry about that...

    1 Reply Last reply Reply Quote 0
    • D Offline
      Didier Bur
      last edited by 23 Nov 2007, 22:13

      Hi Kmead,
      Let's try something else:
      Could you open the Ruby console and type:

      a = Sketchup.find_support_file("Sketchup.exe") ENTER

      and then type:

      a + "Plugins\HouseBuilder\" ENTER

      Please post the 2 results you've got, just to check if really it's a path problem or a backslash string problem or ❓
      Let's debug online... πŸ˜†

      DB

      1 Reply Last reply Reply Quote 0
      • T Offline
        ton baeten
        last edited by 23 Nov 2007, 22:14

        Didier,

        Since I have the same problem as Kmead on my Mac (with OSX 10.4.9), I followed this thread with great interest. I did what you adviced him to do. The results are: nil and Error: #<NoMethodError: undefined method `+' for nil:NilClass> (eval)
        But, maybe the problem is of an other nature:
        It was adviced to put everything concerning HouseBuilder in a separate folder under ..../plugins. So I did. Well, this is the only ruby to be stored in this way.
        There are more rubies extracting information from separate folders located in the pluginsfolder, but they all have an "open" xxxxx.rb file in the pluginsfolder (as a startingpoint !?), except Housebuilder.
        I am just a 'simple' Mac SU pro user, using a lot of rubies, so anything but a ruby-specialist. The only thing I can offer is help in performing any 'test' you would ask me for.

        with appreciation and greetings,
        Ton

        greetings,
        Ton

        1 Reply Last reply Reply Quote 0
        • D Offline
          Didier Bur
          last edited by 23 Nov 2007, 22:14

          Hi Ton,
          Thanks for helping me track the bug πŸ˜‰
          If I'm not completely mad, I understand from your results that the method "find_support_file" doesn't work the same way on a Mac than on a PC 8O
          BUT just an idea comes to mind now: the Sketchup executable on Mac is not named "sketchup.exe" (no file extensions on Mac, right ?)
          That's why the method returns nil, eh eh...
          Could you try (sorry, no Mac here...) in the Ruby console:

          Sketchup.find_support_file("Sketchup") 
          

          If it returns something else than nil, problem is solved. πŸ˜„
          Thanks again for helping,

          DB

          1 Reply Last reply Reply Quote 0
          • T Offline
            ton baeten
            last edited by 23 Nov 2007, 22:15

            Didier,

            I presume you are anything but 'completely mad'.
            Indeed, Macs never use the extension .exe that is pure MS windows (why didn't I think of that).
            I just tried Sketchup.find_support_file("Sketchup") in the ruby console and the result still is: nil
            So, still no solution. The last hour I just tried a couple of things, but found no solution.
            Could you please describe me what files (rubys and/or non-ruby) I need to/should have and where they should be located.
            For now, I have, located in my plugins folder a folder HouseBuilder_metric_1.2.
            This folder contains

            • HouseBuilder_extensions.rb
            • readme.txt
            • HousebuilderTool.rb
            • Housebuilder.rb
            • another folder called 'Housebuilder' containing:
            • a number of png's and gif's
            • HouseBuilder-extension.rb(gif)
            • housebuilder_sections.txt
              As mentioned before, everythings is within one folder. None of the ..rb files are in the plugins folder itself. Maybe that is why nothing can be found to start 'Housebuilder'.

            Open for further info and tests,
            Greetings,
            Ton

            greetings,
            Ton

            1 Reply Last reply Reply Quote 0
            • D Offline
              Didier Bur
              last edited by 23 Nov 2007, 22:16

              Hi Ton,

              I'm sorry to say that your files/folders organization is completely wrong...
              A ruby script doesn't find its way by itself, so there are some rules to follow in order to make it work πŸ˜‰
              When I release a package I always save the folders information when building the Zip so the user have just to unzip it in his Plugins folder and that's it. No folder(s) creation needed, no file(s) renaming, no nothing.
              If you delete all "housebuilder" files you have installed and unzip the package again in your Plugins folder, it MUST work.
              After having unziped, you should have:

              • "HouseBuilder_extension.rb" in your Plugins folder, as well as "readme.txt"
              • a folder named "HouseBuilder" under the Plugins folder
              • in this HouseBuilder folder: all Gif's and PNG's, 2 rubbies and "housebuilder_sections.txt"

              If it doesn't work, I give up πŸ€“

              Hope this helps this time πŸ˜‰

              DB

              1 Reply Last reply Reply Quote 0
              • T Offline
                ton baeten
                last edited by 23 Nov 2007, 22:16

                Didier,

                Thanks for your info.
                My thinking was that my problems had to do with my file-organisation. So I followed your advice, erased all HouseBuilder files, put the Housebuilder-metric_1.2.zip in my plugins folder and unzipped.... The result (on my Mac) is a new folder (within plugins), called 'HouseBuilder_metric_1.2Folder. No HouseBuilder... files outside that folder, just that new folder. Following your info I moved the HouseBuilder_extensions.rb out of that folder into the open area of my 'plugins'.
                The result I get at restarting SU is :

                no such file to load -- HouseBuilder/HouseBuilderTool.rbError Loading File HouseBuilder_extension.rb
                private method `split' called for nil:NilClass

                I can understand that you have to give up now.
                I try to find some other Mac-users on the forum. Maybe he/she/they can help me out.
                Am I the only Mac encountering this this problem ????

                By the way, I looked on your own website for version 1.2 but I only found version 1.1
                Don't you make it available/downloadebale overthere.

                Thanks and Greetings,
                Ton

                greetings,
                Ton

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Didier Bur
                  last edited by 23 Nov 2007, 22:17

                  Hi Ton,

                  Don't worry, I don't give up πŸ˜„
                  You just have to RENAME your new folder "HouseBuilder".
                  Either your Zip app isn't configured as to maintain directory and pathes information (that's why it has renamed the new folder "HouseBuilder_metric_1.2Folder" by itself) or the Mac version of Winzip doesn't work the same way than on PC.
                  I'm sure you aren't the only one who uses HB on a Mac, and I've never heard of such problems so far.
                  Regards,

                  DB

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sabba
                    last edited by 26 Sept 2010, 20:25

                    Didier,
                    I am using a Mac and have the same issues loading the metric version of Housebuilder as the other mac users here.
                    The executable file for SketchUp is typically contained in ../Applications/Google SketchUp 8/SketchUp.app in the root of the system drive. ".app" files are some sort of folder with hidden contents. The path to the executable file within this folder is: ../contents/MacOS/SketchUp.
                    The plugins folder is typically ..Library/Application Support/Google SketchUp 8/SketchUp/plugins also in the root of the system drive.

                    The line with the offending code must be in one of the obfuscated files. Are there clear text versions of these files available for debugging or has this been solved somewhere else?

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Didier Bur
                      last edited by 29 Sept 2010, 19:07

                      Hi,
                      Try with the attached file: delete the old one and replace with this one (no need to rename it).
                      Tell me if it works,


                      HouseBuilder_extension_Mac.rb

                      DB

                      1 Reply Last reply Reply Quote 0
                      • deaneauD Offline
                        deaneau
                        last edited by 29 Oct 2010, 09:31

                        your attached file give me the error

                        Error Loading File HouseBuilder_extension.rb
                        No such file or directory - /Library/Application Support/Google SketchUp 8/SketchUp/Plugins\HouseBuilder\housebuilder_sections.txt

                        MADE, BORN AND LIVING IN BERLIN
                        Big Thank You to all Programmers
                        Some German words are so long that they have a perspective. M.Twain

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by 29 Oct 2010, 23:24

                          hi Didier,

                            #/HouseBuilder/housebuilder_sections.txt
                            $housebuilder_path = Sketchup.find_support_file("Plugins") + "/HouseBuilder/"
                          

                          this works on mac
                          housebuilder.jpg

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                          1 Reply Last reply Reply Quote 0
                          • deaneauD Offline
                            deaneau
                            last edited by 30 Oct 2010, 09:34

                            @driven said:

                            hi Didier,

                              #/HouseBuilder/housebuilder_sections.txt
                            >   $housebuilder_path = Sketchup.find_support_file("Plugins") + "/HouseBuilder/"
                            

                            this works on mac
                            [attachment=0:2ejy72bt]<!-- ia0 -->housebuilder.jpg<!-- ia0 -->[/attachment:2ejy72bt]

                            hi driven, what the linenumber you insert your code snipped?
                            i use bbedit on mac.

                            tnx deaneau

                            MADE, BORN AND LIVING IN BERLIN
                            Big Thank You to all Programmers
                            Some German words are so long that they have a perspective. M.Twain

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Didier Bur
                              last edited by 30 Oct 2010, 09:57

                              Hi,

                              @driven: $housebuilder_path = Sketchup.find_support_file("Plugins") + "/HouseBuilder/" is working ?? (still no Macs here)

                              In this case, deaneau you just have to download the file below:


                              HouseBuilder_extension_Mac.rb

                              DB

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                driven
                                last edited by 30 Oct 2010, 14:35

                                @didier bur said:

                                Hi,

                                @driven: $housebuilder_path = Sketchup.find_support_file("Plugins") + "/HouseBuilder/" is working ?? (still no Macs here)

                                seems to be working, but I've never used, I just loaded to see if the back slashes where the problem or not, had that problem before...

                                the only odd thing is where the generated report file (i.e. ** _wall.txt) ends up it's in the top level HD folder and I had to use Spotlight to find it, but it's all there

                                john

                                learn from the mistakes of others, you may not live long enough to make them all yourself...

                                1 Reply Last reply Reply Quote 0
                                • sketcpeppe75S Offline
                                  sketcpeppe75
                                  last edited by 3 Jun 2011, 18:20

                                  how can i insert other sections... 16x20cm, 20x24cm 20x28cm... these in program are small for european structure. thank you very much

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by 4 Jun 2011, 12:53

                                    @sketcpeppe75 said:

                                    how can i insert other sections... 16x20cm, 20x24cm 20x28cm... these in program are small for european structure. thank you very much

                                    Look in the subfolder, in the file 'housebuilder_sections.txt' there are the lists of section-types and sizes etc...
                                    Make a copy of that file, edit the file to show the sections you want in the single-line as shown for each of the four types; use the same 'syntax' as the original sizes in 'mm' [aaxbb|aaaxbbb|... etc], test it and if it works with your new custom sizes you've cooking-with-gas; if NOT then you've always got the original version to revert to...Capture.PNG

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • sketcpeppe75S Offline
                                      sketcpeppe75
                                      last edited by 15 Jun 2011, 16:11

                                      @tig said:

                                      @sketcpeppe75 said:

                                      how can i insert other sections... 16x20cm, 20x24cm 20x28cm... these in program are small for european structure. thank you very much

                                      Look in the subfolder, in the file 'housebuilder_sections.txt' there are the lists of section-types and sizes etc...
                                      Make a copy of that file, edit the file to show the sections you want in the single-line as shown for each of the four types; use the same 'syntax' as the original sizes in 'mm' [aaxbb|aaaxbbb|... etc], test it and if it works with your new custom sizes you've cooking-with-gas; if NOT then you've always got the original version to revert to...[attachment=0:36niodui]<!-- ia0 -->Capture.PNG<!-- ia0 -->[/attachment:36niodui]

                                      thank you very much TIG πŸ˜„)

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        KarlPals
                                        last edited by 29 Mar 2016, 12:45

                                        @sketcpeppe75 said:

                                        @tig said:

                                        @sketcpeppe75 said:

                                        how can i insert other sections... 16x20cm, 20x24cm 20x28cm... these in program are small for european structure. thank you very much

                                        Look in the subfolder, in the file 'housebuilder_sections.txt' there are the lists of section-types and sizes etc...
                                        Make a copy of that file, edit the file to show the sections you want in the single-line as shown for each of the four types; use the same 'syntax' as the original sizes in 'mm' [aaxbb|aaaxbbb|... etc], test it and if it works with your new custom sizes you've cooking-with-gas; if NOT then you've always got the original version to revert to...[attachment=0:e0cz8i6k]<!-- ia0 -->Capture.PNG<!-- ia0 -->[/attachment:e0cz8i6k]

                                        thank you very much TIG πŸ˜„)

                                        I'm using the TIG version of metric 1.2 plugin. I edited the housebuilder_sections.txt file as described but the new values I entered seem to be ignored by the script. They don't show up on the selection menu.

                                        Thanks,
                                        Karl

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

                                        Advertisement