sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] LSS Toolbar 2.0 Beta

    Scheduled Pinned Locked Moved Plugins
    68 Posts 39 Posters 63.1k Views 39 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.
    • B Offline
      boilingsnow
      last edited by

      Is there a new version of this plugin for sketchup 2014?

      1 Reply Last reply Reply Quote 0
      • B Offline
        boilingsnow
        last edited by

        I ve already tested it. LSS toolbar also works in sketchup 2014. Thank you so much.

        The follow edges tool is brilliant.

        1 Reply Last reply Reply Quote 0
        • Bob JamesB Offline
          Bob James
          last edited by

          I get the attached error (and similar other errors with other buttons) when trying to use the Toolbar

          lss.PNG

          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

            This tool has an overly complex installation requirement. ๐Ÿ˜’

            Some files go in the Plugins folder but some others go in the Resources folder.
            It's explained in the tool's installation guide.

            It must find some files in the Resources folder because in several places like this:
            Plugins\lss_toolbar\lss_crvsmth.rb
            The tool has code:
            resource_dir = File.dirname(Sketchup.get_resource_path("lss_toolbar.strings")) html_path = "#{resource_dir}/lss_toolbar/crvsmth.html"

            If ' resouce_dir' is not found, then the empty folder path used for the html file will mean it's broken !

            Use this in the Ruby Console to find your Resources folder:
            ` File.dirname(Sketchup.get_resource_path("."))

            C:/Program Files (x86)/SketchUp/SketchUp 2014/Resources/en-US)`

            If you have this tool's files in the right places the strings file should be found too, when using.
            ` File.dirname(Sketchup.get_resource_path("lss_toolbar.strings"))

            C:/Program Files (x86)/SketchUp/SketchUp 2014/Resources/en-US)`
            If you don't get a 'path' some files are mis-filed...

            The returned paths will vary depending on your setup and SketchUp version etc...

            TIG

            1 Reply Last reply Reply Quote 0
            • M Offline
              mtr
              last edited by

              For the correct path, you must extract Plugin content into Sketchup/plugin and Resources content into Sketchup/Resources.
              See below:

              https://image.slidesharecdn.com/lsstoolbaroverview-120827110847-phpapp02/95/lss-toolbar-overview-3-728.jpg?cb=1346084753

              See install guide here:
              https://sites.google.com/site/lssoft2011/home/lss-toolbar

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

                I get this error when I try to use the stick group tool.
                All other tools work fine.
                If possible, how do I fix this?

                Thanks!

                Error: #<NoMethodError: undefined method to_a' for "":String> C:/Users/INDIGO SOLUTIONS/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1078:in settings2hash'
                C:/Users/INDIGO SOLUTIONS/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1073:in read_defaults' C:/Users/INDIGO SOLUTIONS/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1153:in create_web_dial'
                C:/Users/INDIGO SOLUTIONS/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1282:in activate' C:/Users/INDIGO SOLUTIONS/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:23:in select_tool'
                C:/Users/INDIGO SOLUTIONS/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:23:in block in initialize' SketchUp:1:in call'

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

                  @mtr said:

                  For the correct path, you must extract Plugin content into Sketchup/plugin and Resources content into Sketchup/Resources.
                  See below:

                  https://image.slidesharecdn.com/lsstoolbaroverview-120827110847-phpapp02/95/lss-toolbar-overview-3-728.jpg?cb=1346084753

                  See install guide here:
                  https://sites.google.com/site/lssoft2011/home/lss-toolbar

                  problem is that we are told all the time here at Sketchucation we should in no way do manual installations of plugins like it was done in old Sketchup 8 times...

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

                    First and Foremost I would like to say this plugin is amazing and thank you for you time and effort. for it makes my life easier,

                    now with that said I seem to have run into a problem with the stick group tool on your lss toolbar for sketchup 2016 when I click on it nothing happens, it doesn't bring up the html page for editing, but all the other tools work just fine.

                    i use windows 10 os

                    i was thinking it just might be a file pathing problem seeing how sketchup 2016 uses two different directories for plugins and resources.

                    I.E for the resources folder is located in C:\Program Files\SketchUp\SketchUp 2016\Resources\en-US

                    meanwhile for the plugins them selves is located in C:\Users\AppData\Roaming\SketchUp\SketchUp 2016\SketchUp\Plugins

                    but if all the other tools work i don't think its a pathing problem. i tried looking at your code to see if there was a discrepancy but i couldn't find anything wrong with it logic wise although I'm not too good with programming ๐Ÿ˜’

                    i saw on one of your youtube posts that it might be six months before you get around to updating lss toolbar ๐Ÿ˜•

                    please help i installed the plugin to the correct folders and unistalled then reinstalled and nothing seems to work.

                    oh and by the way your lss_arch is also pretty amazing. which i like a lot reminds me of the functionality of the good ol halflife 2/ source level editor i started using when when i got into modeling and level design. ๐Ÿ˜Ž

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

                      Hi first of all i think your plugins are amazing, thank you for your time and effort on them

                      but with your lss toolbar plugin in sketchup 2016 most of them work but the stick group plugin
                      doesn't for some reason i get this in the ruby console window whenever i click on it in the tool bar

                      Error: #<NoMethodError: undefined method to_a' for "":String> C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1078:in settings2hash'
                      C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1073:in read_defaults' C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1153:in create_web_dial'
                      C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1282:in activate' C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:23:in select_tool'
                      C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:23:in block in initialize' SketchUp:1:in call'

                      it doesn't even load up the dialog html command window for this specific function
                      everything is installed in there right places please help

                      ok I have seemed to have found a solution for the stickgroup function in sketchup 2016.

                      sketchup 2016 uses the newer version of ruby code. which makes the method to_a function not work unless you put it as lines.t_a first.

                      so in the lss_mshstick.rb

                      the problematic code is this
                      line1078 @settings_hash["stick_vec"]=[@stick_vec.to_a.join(";"), "vector_str"]
                      line1082 @settings_hash["bounce_vec"]=[@bounce_vec.to_a.join(";"), "vector_str"]

                      the new fixed code is this
                      line1078 @settings_hash["stick_vec"]=[@stick_vec.lines.to_a.join(";"), "vector_str"]
                      line1082 @settings_hash["bounce_vec"]=[@bounce_vec.lines.to_a.join(";"), "vector_str"]

                      so that fixed it for me though I'm still getting error msgs in the ruby console but its not affecting the function as far as I can tell.

                      so hope this helps you guys

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

                        thanks I will try my hand... but seing how I'm rusty at programing that hand will probably find my face several times before finding the other hand lol.

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

                          @DreamPSI,

                          I imagine you are now getting a 'less fatal' No Method error for 'lines'...

                          but you could try to fix it properly...

                          the to_a method used to take a String and 'split' it into an array...

                          as it's no longer available you need to 'split' any String yourself...

                          so to find what we need to 'split' we first need to know what @stick_vec is...

                          on line 108 @stick_vec=Geom::Vector3d.new(0,0,-1), but if you do a test in 'Ruby Console' it's not a String and @stick_vec.to_a will work, so we keep digging...

                          on line 1063 @stick_vec=Sketchup.read_default("LSS_Mshstick", "stick_vec", nil), will return a String and
                          on line 1073 we see it's being passed to the method that's failing using self.settings2hash...

                          so now we have a String and we know it was once in the format of (n,n,n) we can try splitting it using ','...

                          @stick_vec.to_a.join(";") >> @stick_vec.split(',').join(";")

                          but, there is another place as well, so use search and replace for @stick_vec.to_a to find it...

                          @bounce_vec.to_a possibly has the same solution...

                          john

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            elizabeth001au
                            last edited by

                            Please excuse me if I have missed something. I am excited about this plugin. Downloaded it today and went to use it. Can not
                            use any tool. Each tool give me the message " Cannot find file LSS_toolbar/pathface.html" I have read the installation instructions and have checked that everything is in correct folder. The same message repeats for each different tool. Thanks.

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

                              open ruby script console, copy and then post the results here, when you try to click on the tool bar buttons

                              idk maybe you dled a baddy

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                elizabeth001au
                                last edited by

                                Thankyou DreamPSI. Yes, I was able to make the toolbar appear to be active. However, unfortunately this tool is not working with Sketchup Pro 2016. The last version it is compatible with is Sketchup 2013. This is due to some changes in API. Shame really...I was very keen to play with this, as it appears to be just what I need.

                                1 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  What tool exactly?
                                  Seems Lss works fine in 2016!
                                  Ah Yes The Stick tool : curious I have seen the Stick Dialog Box one time but then after to close it impossible to re-appear! ๐Ÿ˜ž

                                  http://s6.postimg.org/lilkfpzwx/lss.jpg

                                  Someone can post the file lss_mshstick.rb modified for 2016 ?

                                  Frenchy Pilou
                                  Is beautiful that please without concept!
                                  My Little site :)

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

                                    I would but unfortunately I had to reinstall windows ten due to a virus but if you look at the post by driven a few posts up you would see exactly where in the rb file you need to change the code to the corrected code. it can be edited in any text editor, I find notepad++ to be an excellent fast and easy app that's free for editing minor script changes

                                    ill will reinstall sketchup and re dl the lss tool bar and post the updated rb for mshstick.rb in lss tool bar plugin at a later date.

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      frankleng
                                      last edited by

                                      @pilou said:

                                      What tool exactly?
                                      Seems Lss works fine in 2016!
                                      Ah Yes The Stick tool : curious I have seen the Stick Dialog Box one time but then after to close it impossible to re-appear! ๐Ÿ˜ž

                                      http://s6.postimg.org/lilkfpzwx/lss.jpg

                                      Someone can post the file lss_mshstick.rb modified for 2016 ?

                                      I had the same problem. NOw it works.


                                      lss_mshstick.zip

                                      1 Reply Last reply Reply Quote 0
                                      • pilouP Offline
                                        pilou
                                        last edited by

                                        @unknownuser said:

                                        NOw it works.

                                        Not yet! Even more it's bugsplat and crashes! ๐Ÿ˜‰

                                        Frenchy Pilou
                                        Is beautiful that please without concept!
                                        My Little site :)

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          haydenr
                                          last edited by

                                          I am also having the issue where it cant find the support html files. Every tool replies with the same pathing issue.


                                          Error Dialogue.JPG

                                          1 Reply Last reply Reply Quote 0
                                          • Bob JamesB Offline
                                            Bob James
                                            last edited by

                                            @haydenr said:

                                            I am also having the issue where it cant find the support html files. Every tool replies with the same pathing issue.

                                            This problem has existed for almost two years!! ๐Ÿ˜

                                            See earlier post in this thread dated..Mon Sep 22, 2014 12:15 pm

                                            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                                            Advertisement