sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Balustrade with components plugin seems to fail in SU8

    scheduled pinned locked moved SketchUp Discussions
    sketchup
    12 Posts 8 Posters 3.6k Views 8 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • J Offline
      julyyen
      last edited by

      Hello,

      Long time no posting, but reading all your interesting ideas about SketchUp.
      In SketchUp 8, when I try to work with balustrade with components plugin, I receive the next message:

      Error Loading File balustrade_components.rb
      C:/Program Files/Google/Google SketchUp
      8/Plugins/balustrade_components.rb:228:syntax error,
      unexpected',',expecting')'
      if (n1.between?(n2-interval),(n2+interval))

      Any advice?

      one-reply-to-this-post last-reply-time reply quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        It's a known issue - the problem is that the newly shipped version of Ruby is less forgiving of bad syntax.
        So while dosomething (a+b), c used to work it now returns an error as it thinks the first () contains the argument[s] and the trailing ", c" is then 'wrong'...
        dosomething a+b, c will work [as long as the first argument can work without its ()]
        BUT it's better to put all of a function's arguments inside (...)
        so the better version is
        dosomething((a+b), c)
        Note how there should not be a <space> before the first enclosing (...
        Didier has some scripts showing this type of error-message when used in v8.
        Some are encrypted and can't be readily edited - however balustrade.rb is in plain-text and I have attached a version where all arguments are now correctly parenthesized [i.e. not just the 'problem' one]...balustrade_components.rb

        TIG

        one-reply-to-this-post last-reply-time reply quote 0
        • kenK Offline
          ken
          last edited by

          TIG

          This is the error I receive with the modified file.

          Thanks for your help.

          Ken


          ScreenHunter_01 Sep. 12 10.11.jpg

          Fight like your the third monkey on Noah's Ark gangway.

          one-reply-to-this-post last-reply-time reply quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Ken

            Sorry about that... my mistake - the version is now corrected - please download it again... 😳

            TIG

            one-reply-to-this-post last-reply-time reply quote 0
            • jim smithJ Offline
              jim smith
              last edited by

              Thanks for the update TIG, I have been keeping a lookout for any and all fixes to the SU8 problem. I do use this plugin but haven't tried since the update. Now I don't need to worry ☀

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

              one-reply-to-this-post last-reply-time reply quote 0
              • kenK Offline
                ken
                last edited by

                @tig said:

                Ken

                Sorry about that... my mistake - the version is now corrected - please download it again... 😳

                TIG

                I went thru the plugin to see if I could find the problem, however, I darn sure wasn't going to post a correction. Not even close to being that smart.

                So thank you TIG

                Ken

                Fight like your the third monkey on Noah's Ark gangway.

                one-reply-to-this-post last-reply-time reply quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  Thanks Ken 😉
                  Another error has appeared...
                  I have corrected this new error - so please download the updated version again
                  http://forums.sketchucation.com/viewtopic.php?p=270788#p270788
                  which should now be sorted 😳

                  [Thanks Ken, again]

                  TIG

                  one-reply-to-this-post last-reply-time reply quote 0
                  • J Offline
                    julyyen
                    last edited by

                    Thanks a lot, TIG, I use this script a lot. 😄

                    one-reply-to-this-post last-reply-time reply quote 0
                    • S Offline
                      STUDIO.B
                      last edited by

                      So sorry, but steel not work for me. merci d'avance.

                      one-reply-to-this-post last-reply-time reply quote 0
                      • E Offline
                        elthanos
                        last edited by

                        Doesn't work for me either. The component face of handrail doesn't extrude to the line path and generaly it "sees" only one part of polyline even after weld plugin. help please!

                        one-reply-to-this-post last-reply-time reply quote 0
                        • A Offline
                          alumiroi
                          last edited by

                          Thanks for the update.

                          one-reply-to-this-post last-reply-time reply quote 0
                          • JQLJ Offline
                            JQL
                            last edited by

                            Guys this does not show up at Sketchucation Plugin Store, though it's a great plugin!

                            Shouldn't it be there?

                            Best regards,

                            JQL

                            www.casca.pt
                            Visit us on facebook!

                            one-reply-to-this-post last-reply-time reply quote 0
                            • 1 / 1
                            • first-post
                              last-post
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement