sketchucation logo sketchucation
    • Se connecter
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🚨 Skimp | 25% Off until March 30 Buy Now

    [Plugin] Roof.rb

    Planifier Épinglé Verrouillé Déplacé Extensions & Applications Discussions
    extensions
    174 Messages 75 Publieurs 173.4k Vues 75 Abonné
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • Dave RD Hors-ligne
      Dave R
      dernière édition par

      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 réponse Dernière réponse Répondre Citer 0
      • TIGT En ligne
        TIG Moderator
        dernière édition par

        @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 réponse Dernière réponse Répondre Citer 0
        • Dave RD Hors-ligne
          Dave R
          dernière édition par

          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 réponse Dernière réponse Répondre Citer 0
          • S Hors-ligne
            SketchUpNoobie
            dernière édition par

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

            --

            SketchUpNoobie: the complete noob in all things SketchUp.

            1 réponse Dernière réponse Répondre Citer 0
            • TIGT En ligne
              TIG Moderator
              dernière édition par

              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 réponse Dernière réponse Répondre Citer 0
              • Rich O BrienR Hors-ligne
                Rich O Brien Moderator
                dernière édition par

                Why inexplicable?

                Download the free D'oh Book for SketchUp 📖

                1 réponse Dernière réponse Répondre Citer 0
                • Dave RD Hors-ligne
                  Dave R
                  dernière édition par

                  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 réponse Dernière réponse Répondre Citer 0
                  • TIGT En ligne
                    TIG Moderator
                    dernière édition par

                    @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 réponse Dernière réponse Répondre Citer 0
                    • Rich O BrienR Hors-ligne
                      Rich O Brien Moderator
                      dernière édition par

                      Nice explication 👍

                      My comedic timing must be a little off today... 😒

                      Download the free D'oh Book for SketchUp 📖

                      1 réponse Dernière réponse Répondre Citer 0
                      • Gus RG Hors-ligne
                        Gus R
                        dernière édition par

                        Thanks very much for the update TIG.

                        www.instagram.com/gusrobatto/

                        www.facebook.com/gusrobatto

                        www.flickr.com/photos/gusrobatto

                        1 réponse Dernière réponse Répondre Citer 0
                        • S Hors-ligne
                          SketchUpNoobie
                          dernière édition par

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

                          --

                          SketchUpNoobie: the complete noob in all things SketchUp.

                          1 réponse Dernière réponse Répondre Citer 0
                          • W Hors-ligne
                            Whaat
                            dernière édition par

                            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 réponse Dernière réponse Répondre Citer 0
                            • CAntonisC Hors-ligne
                              CAntonis
                              dernière édition par

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

                              1 réponse Dernière réponse Répondre Citer 0
                              • tbdT Hors-ligne
                                tbd
                                dernière édition par

                                @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 réponse Dernière réponse Répondre Citer 0
                                • utilerU Hors-ligne
                                  utiler
                                  dernière édition par

                                  Thanks TIG, much appreciated!! 👍

                                  Just Curious...

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • TIGT En ligne
                                    TIG Moderator
                                    dernière édition par

                                    @unknownuser said:

                                    @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")

                                    Thanks for the info...OR we could just separate the menu code from the scrambled part so that it's not eval'd...

                                    TIG

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • CAntonisC Hors-ligne
                                      CAntonis
                                      dernière édition par

                                      Thank U very much TIG. You made a great plugin even greater!

                                      Antonis

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • jim smithJ Hors-ligne
                                        jim smith
                                        dernière édition par

                                        Thanks for the update TIG

                                        "Out of clutter find simplicity,
                                        from discord find harmony,
                                        In the middle of difficulty lies opportunity"
                                        Albert Einstein

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • Gus RG Hors-ligne
                                          Gus R
                                          dernière édition par

                                          ➡ Not to be a pest but something isn't right. The "eaves soffit size" is resulting in erroneous dimensions on opposing sides. For instance I input and eaves soffit size of 24" all around but I wind up with 1'-9 3/16" on one side and 2'-2 1/2" on another. Another conflict perhaps or am I imagining things. Did this with a "new" skp as well. Any ideas? Thanks.

                                          www.instagram.com/gusrobatto/

                                          www.facebook.com/gusrobatto

                                          www.flickr.com/photos/gusrobatto

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • TIGT En ligne
                                            TIG Moderator
                                            dernière édition par

                                            @gus r said:

                                            :arrow: Not to be a pest but something isn't right. The "eaves soffit size" is resulting in erroneous dimensions on opposing sides. For instance I input and eaves soffit size of 24" all around but I wind up with 1'-9 3/16" on one side and 2'-2 1/2" on another. Another conflict perhaps or am I imagining things. Did this with a "new" skp as well. Any ideas? Thanks.

                                            I assume this is with 'gable-roof' ?
                                            The other tools all offset equally anyway ?
                                            I can't reproduce any error...
                                            On a hipped-roof the overhang is always equal too ?
                                            Can you post a SKP that will give you the error [or PM it]...
                                            I can't break it 😕

                                            TIG

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8
                                            • 9
                                            • 3 / 9
                                            • Premier message
                                              Dernier message
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement