• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] LSS Toolbar 2.0 Beta

Scheduled Pinned Locked Moved Plugins
68 Posts 39 Posters 63.0k Views
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.
  • D Offline
    DreamPsi
    last edited by 1 Dec 2015, 00:45

    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 27 Dec 2015, 01:55

      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 27 Dec 2015, 01:58

        @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 17 Jan 2016, 12:37

          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 19 Jan 2016, 12:37

            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 19 Jan 2016, 13:18

              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
              • P Offline
                pilou
                last edited by 19 Jan 2016, 16:36

                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 8 Feb 2016, 20:14

                  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 17 Jun 2016, 10:17

                    @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
                    • P Offline
                      pilou
                      last edited by 17 Jun 2016, 12:28

                      @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 18 Jul 2016, 05:11

                        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 18 Jul 2016, 18:29

                          @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
                          • C Offline
                            crazyteaboy
                            last edited by 19 Jan 2017, 12:08

                            Does this work with SU2017? The folders mentioned to copy the files to, the Plugin one doesn't exist!!! Will there be an update for SU2017?

                            1 Reply Last reply Reply Quote 0
                            • majidM Offline
                              majid
                              last edited by 23 Jan 2017, 04:32

                              I also have the same question please!

                              My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by 23 Jan 2017, 11:24

                                Use the RBZ version in the PluginStore to install, but also read the posts in this thread about finding the 'resources' folder, and ensuring files are in the right place etc...
                                It is an old tool so its efficacy is uncertain...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  crazyteaboy
                                  last edited by 26 Jan 2017, 12:45

                                  That's my point. I followed all the instructions on where to put the extracted files, and the Plugin folder does not exist. I did find where to put the so called Plugin files, and the toolbar runs, but no matter which tool I use, it reports an error that it cannot find an html file, so I can only guess this version is not compatible with SU2017.

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by 26 Jan 2017, 19:57

                                    This is an old Plugin, so its usefulness is unsure...

                                    If you install it from its RBZ, it goes directly into the Plugins folder, that step is sorted.
                                    Now you are missing some files in the Resources folder...
                                    The folders in the RBZ are badly arranged !

                                    Do not forget that this Plugin is old and poorly configured...

                                    But if you want to try it out, then you'll need to either rewrite its code to look into the correct folder [needs some coding ability***] OR you need to look into the subfolders added within its installation

                                    C;\Users\USERNAME\AppData\Roaming\SketchUp\SketchUp 2017\SketchUp\Plugins\lss_toolbar
                                    

                                    and you then need to copy all of the the files / subfolder+files from within there

                                    C;\Users\USERNAME\AppData\Roaming\SketchUp\SketchUp 2017\SketchUp\Plugins\lss_toolbar\Resources\en-US
                                    

                                    *1
                                    and paste them into here [NB: you will probably be prompted for admin-rights etc...]

                                    C;\Program Files\SketchUp\SketchUp 2017\Resources\en-US
                                    

                                    Restart SketchUp and the missing files are now found...

                                    ***Alternative, edit the RB files and re-path them to look into the shipped plugin's own subfolder's contents for the html files etc... *1

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kirill2008
                                      last edited by 29 Jan 2017, 17:22

                                      Hello All,
                                      LSS Toolbar is an outdated plugin (as TIG correctly stated) and last version of SketchUp, which LSS Toolbar is compatible with is unfortunately SketchUp 2013.
                                      The point is that I'm not able to continue developing of freeware projects like LSS Toolbar at the moment, so I highly recommend to look for some other alternatives to LSS Toolbar, which have similar functionality.

                                      1 Reply Last reply Reply Quote 0
                                      • majidM Offline
                                        majid
                                        last edited by 1 Feb 2017, 19:13

                                        @kirill2008 said:

                                        Hello All,
                                        LSS Toolbar is an outdated plugin (as TIG correctly stated) and last version of SketchUp, which LSS Toolbar is compatible with is unfortunately SketchUp 2013.
                                        The point is that I'm not able to continue developing of freeware projects like LSS Toolbar at the moment, so I highly recommend to look for some other alternatives to LSS Toolbar, which have similar functionality.

                                        ๐Ÿ˜ฎ ๐Ÿ˜ฎ What a pity!

                                        My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          Einstein
                                          last edited by 29 Dec 2017, 21:21

                                          I guess the plugin should be working with SU 8. The toolbar opens with errors in all tools:

                                          "No definition "callRuby"", "No definition "get_settings"", "No definition "obtain_defaults""

                                          They don't let me continue working with this plugin, regardless I answer YES or NO.

                                          Unfortunately, Ruby console is empty.

                                          I have rather put the files into correct folders.


                                          Bez tytuล‚u.png

                                          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