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

    [Plugin] Roof.rb

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    170 Posts 73 Posters 156.8k Views 73 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Look for Roof on the Depot site at crai...
      Tut and link here... http://vimeo.com/2254304

      TIG

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

        Great work man, I am only a beginner and you have made my life a whole lot easier. Keep up the good work. Thanks Selvin

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

          I dropped this in my plugin folder but its not showing up under "Plugins". Am I doing something wrong TIG?

          --

          SketchUpNoobie: the complete noob in all things SketchUp.

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

            TIG,

            Great plugin which I put through much use.

            Recently however I went to use the roof plugin and noticed that it was missing from the plugins menu. Checked my plugin directory and it was in the correct location. Downloaded it again, just in case, and again placed it in the plugins directory but it still didn't show up in the plugins menu.

            It finally showed up after I moved roof.rb into the tools menu which is something I've done in the past.

            Only thing I've installed since I last used roof.rb has been "SDS2 Artisan". Probably conflict? Otherwise it works in the tools directory.

            Thanks.

            ➑ Update

            I renamed artisan_loader.rb to artisan_loader.rbx and put roof.rb back in the plugins directory and it once again shows up.

            www.instagram.com/gusrobatto/

            www.facebook.com/gusrobatto

            www.flickr.com/photos/gusrobatto

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

              @unknownuser said:

              I dropped this in my plugin folder but its not showing up under "Plugins". Am I doing something wrong TIG?

              Did you see the post by Gus R? I did the same thing that he did with the Artisan loader file extension and it shows up. It does appear to be a conflict between the two plugins. I guess moving it to Tools isn't a big deal though.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                @unknownuser said:

                I dropped this in my plugin folder but its not showing up under "Plugins". Am I doing something wrong TIG?

                I assume you mean you put the Roof.rb file into the Plugins folder ?
                There are also 'help' files available...
                Where there any error messages at startup...
                There should be no conflicts with the other scripts...
                I have artisan AND Roof running together without issues πŸ˜•
                It would be better if Roof.rb remained in the Plugins folder...
                It will work inside the Tools folder but that is really for Google's own scripts...
                You could try it in the Plugins but add a # to the start of its name [#Roof.rb] so that it loads before Artisan - then see if Artisan works too...

                You can also test if it's loading [even if the menu item isn't there] by typing this into the Ruby Console...
                Roof::hip
                Working ? Messages ?
                Please report back...

                TIG

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

                  TIG, it does load as the entry into the Console works. I changed the name to #Roof.rb and that works, too. The menu entry shows near the top of the Plugins menu instead of alphabetically.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    @dave r said:

                    TIG, it does load as the entry into the Console works. I changed the name to #Roof.rb and that works, too. The menu entry shows near the top of the Plugins menu instead of alphabetically.

                    BUT does Artisan then work ?
                    It already works for me either way, so I can't see what Artisan might be doing to screw up 'Roof' loading properly and making its menu?
                    Here's my [unscrambled] 'current' version - please see if this version of 'Roof.rb' works ?? NOTE: this pre-v.4 one is for 'testing only'...*** EDIT: I have removed the temporary version - please get this one [i.e. the 4 of you who tried it and any v3 users!] http://forums.sketchucation.com/viewtopic.php?p=17156#p17156

                    TIG

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

                      Oops. No, the toolbar for Artisan doesn't show up now nor does it appear in the menu.

                      The unscrambled version does work and Artisan seems to work with it, too.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

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

                        Yep, the latest version works for me too and doesn't mess up Artisan. Thanks.

                        --

                        SketchUpNoobie: the complete noob in all things SketchUp.

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

                          Here's a slightly improved version http://forums.sketchucation.com/viewtopic.php?p=17156#p17156
                          It avoids the clash with Artisan [which is quite frankly completely inexplicable!] and fixes one or two other internal glitches...
                          I have removed the test version from the recent post - please replace it with this linked one asap.....
                          ALL users should download it asap........

                          TIG

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

                            Why inexplicable?

                            Download the free D'oh Book for SketchUp πŸ“–

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

                              Thanks TIG. I'll do that when I get home and check it. I expect it'll be just fine though.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

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

                                @unknownuser said:

                                Why inexplicable?

                                Because I can't explain [explicate] it ! πŸ˜’

                                My original code was encrypted [a simple encryption, as used by Didier Bur too].
                                If that loads after Artisan then it has no menu BUT works from the Ruby Console [files load in alphanumeric order].
                                If you renamed it so it loaded before Artisan then it was fine... BUT then Artisan didn't load at all πŸ˜’
                                I used a decrypted version that worked fine with Artisan, so I was unaware of the problem...
                                My own version had some minor coding tweaks BUT nothing I can see that should make it behave any differently to the encrypted one... There are almost 4,000 lines of code so I don't want to trawl all of them to find the possible culprit... there are no error messages to help and 'Roof' and 'Artisan' now work fine together with this version anyway...

                                This new 'unencrypted' & tweaked version works fine now - I recommend everyone to change to it... πŸ˜’

                                TIG

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

                                  Nice explication πŸ‘

                                  My comedic timing must be a little off today... πŸ˜’

                                  Download the free D'oh Book for SketchUp πŸ“–

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

                                    Thanks very much for the update TIG.

                                    www.instagram.com/gusrobatto/

                                    www.facebook.com/gusrobatto

                                    www.flickr.com/photos/gusrobatto

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

                                      Yep. The update seems to be working fine. Thanks.

                                      --

                                      SketchUpNoobie: the complete noob in all things SketchUp.

                                      1 Reply Last reply Reply Quote 0
                                      • W Offline
                                        Whaat
                                        last edited by

                                        Thanks for updating the plugin, Tig. If you can figure out the problem, let me know. Maybe there is something I can change to fix this. I also have no idea what would cause this.

                                        SketchUp Plugins for Professionals

                                        1 Reply Last reply Reply Quote 0
                                        • CAntonisC Offline
                                          CAntonis
                                          last edited by

                                          Thank U TIG!
                                          This plugin will be appreciated as every thing else you created!
                                          BRAVO!!!!

                                          1 Reply Last reply Reply Quote 0
                                          • tbdT Offline
                                            tbd
                                            last edited by

                                            @tig said:

                                            If that loads after Artisan then it has no menu BUT works from the Ruby Console [files load in alphanumeric order].
                                            If you renamed it so it loaded before Artisan then it was fine... BUT then Artisan didn't load at all πŸ˜’

                                            after some debugging at 2am I found the problem - scrambled scripts and pack eval encrypted scripts both return (eval) for FILE , so when tested with file_loaded? the one that gets loaded second it will not execute the block after (usually menu creation code)

                                            workaround: use file_loaded("your_filename") or file_loaded("reverse URI")
                                            eg file_loaded("roof.rb") or file_loaded("ro.plugins.drop")

                                            SketchUp Ruby Consultant | Podium 1.x developer
                                            http://plugins.ro

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

                                            Advertisement