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

    New: HouseBuilder metric 1.2 (customizable)

    Scheduled Pinned Locked Moved Plugins
    44 Posts 14 Posters 15.8k 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.
    • J Offline
      Jan Vdb
      last edited by

      Hi, Didier

      Sorry to say that the new icons don't make any difference

      Greetings, Jan Vdb

      1 Reply Last reply Reply Quote 0
      • D Offline
        Daniel S
        last edited by

        Hi Didier,
        I install the new icons but still no lucky...
        i´m runing SU in PC with windows (but spanish version, maybe that´s the problem)
        The absolute path by default to the SU executable is:
        C:\Archivos de programa\Google\Google SketchUp 6\SketchUp.exe
        I think that everyone has "Program Files" instead "Archivos de programa"

        Daniel S

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

          What's going on with these icons
          ❓
          Still searching.
          Anyone has my layer manager script with similar problems ???

          DB

          1 Reply Last reply Reply Quote 0
          • kmeadK Offline
            kmead
            last edited by

            Didier:

            On a Mac the path will always be:

            /Library/Application Support/Google Sketchup 6/Plugins/Housebuilder/housebuilder_sections.txt

            if that helps.

            Many thanks, I haven't been by earlier so my apologies for taking so long to post the info.

            I was looking at the old housebuilder and the ruby wasn't encoded like it is now or I would have tried chasing this myself.

            Many thanks and have a great day.

            Karl

            I created Dilbertville, sorry about that...

            1 Reply Last reply Reply Quote 0
            • jujuJ Offline
              juju
              last edited by

              I've installed ruby as directed, activated the housebuilder menu under the view functions, also replaced the images with the new - still no icons though...

              Save the Earth, it's the only planet with chocolate.

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

                SORRY all for the inconvenience (related to icons) 😳
                I think I've got the solution: for an unknown reason scrambled extension code doesn't seem to work OK on some platforms (wether PC or Mac).
                I'll publish in a few hours a "non-scrambled" main script to replace the 'offender'.
                Regards,

                DB

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

                  💭 I'm sure this one will work !!!
                  Please download it at the depositary and re-install ALL files.
                  Regards,

                  DB

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Daniel S
                    last edited by

                    Now I can see the icons!!!
                    Thank you Didier!!! 😄

                    Daniel S

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      azuby
                      last edited by

                      Didier, some hint for the encrypted/scrambled version: The code is executed through "eval" and so some file infos are missed. If you want to build a nearly fully encrypted version, you can write a simple non-encrypted Ruby file, which only sets a global constant (make sure you are not using a variable) like

                      MY_FILEDIR = File.dirname(__FILE__).gsub(/[\\\/]/, File;;SEPARATOR) << File;;SEPARATOR unless defined? MY_FILEDIR # all in one line
                      

                      Within the encrypted file you -> require the non-encrypted file and are done. Say you have

                      • my.rbs
                      • my/mypath.rb
                        than you require like this:
                      require 'my/mypath.rb'
                      

                      The "defined?"-thing is done to avoid possible redefiniton of the constant - that would raise an error (or give a warning, not sure).

                      edit: One regular expression and one gsub is enough 😉

                      azuby

                      *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

                      Bad English? PM me, correct me. :smile:**

                      1 Reply Last reply Reply Quote 0
                      • kmeadK Offline
                        kmead
                        last edited by

                        Didier:

                        I still get:

                        Error Loading File HouseBuilder_extension.rb
                        private method `split' called for nil:NilClass

                        When SU starts and although one can bring up the House Builder tool pallette, it won't actually do anything when one clicks on the buttons.

                        Sorry for being a wet blanket

                        Karl

                        I created Dilbertville, sorry about that...

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jan Vdb
                          last edited by

                          Hi Didier,

                          Works now perfectly!! Thanks 😄

                          Karl,

                          Had the same problem as you, removed every housbuilder script from the plugin folder and did a re-install with the new script. Problem was solved.

                          [Jan Vdb]

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

                            Hi Kmead,

                            I noticed that the path to HouseBuilder is wrong:
                            /Library/Application Support/Google Sketchup 6/Plugins/Housebuilder/

                            Please rename the Housebuilder folder to HouseBuilder, because pathes are case-sensitive.
                            Hope this will solve the problem 😉

                            DB

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Daniel S
                              last edited by

                              Hi again Didier...
                              It woks perfect but everytime when i do a right-click on a selection it makes an annoying "beep" sound.
                              I remember that was a problem (?) of previous housebuilder´s versions, so i search in the old forum for an answer...
                              if i put in the console:
                              module UI; def self.beep; p caller; end; end
                              the problem is solved... but when i restart SU6 i have to put it again in the ruby console.
                              Another solution found in the old forum was to replace:
                              UI.beep
                              by
                              #UI.beep
                              in housebuilder. But i think that part is encrypted. Could you make this change for me?

                              Thanks in advance,
                              Daniel S

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

                                Hi Daniel,
                                Done. See depository and replace houseBuilderTool.rb in your HouseBuilder folder.
                                Cheers,

                                DB

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Daniel S
                                  last edited by

                                  Thank you Didier! I have no more the "beep" 😄
                                  And all the rest works perfect.

                                  Thank you again,
                                  Daniel S

                                  1 Reply Last reply Reply Quote 0
                                  • kmeadK Offline
                                    kmead
                                    last edited by

                                    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
                                    • Didier BurD Offline
                                      Didier Bur
                                      last edited by

                                      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
                                      • ton baetenT Offline
                                        ton baeten
                                        last edited by

                                        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
                                        • Didier BurD Offline
                                          Didier Bur
                                          last edited by

                                          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
                                          • ton baetenT Offline
                                            ton baeten
                                            last edited by

                                            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
                                            • 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