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

    Balustrade with components plugin seems to fail in SU8

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    12 Posts 8 Posters 3.5k Views 8 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
      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?

      1 Reply Last reply Reply Quote 0
      • TIGT Online
        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

        1 Reply Last reply 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.

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

            Ken

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

            TIG

            1 Reply Last reply 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

              1 Reply Last reply 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.

                1 Reply Last reply Reply Quote 0
                • TIGT Online
                  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

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

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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      STUDIO.B
                      last edited by

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

                      1 Reply Last reply 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!

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

                          Thanks for the update.

                          1 Reply Last reply 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!

                            1 Reply Last reply 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