[Plugin] LSS Toolbar 2.0 Beta
-
@mtr said:
For the correct path, you must extract Plugin content into Sketchup/plugin and Resources content into Sketchup/Resources.
See below:See install guide here:
https://sites.google.com/site/lssoft2011/home/lss-toolbarproblem 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...
-
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.
-
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 barError: #<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:inread_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:inactivate' 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:inblock 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 helpok 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
-
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.
-
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 usingself.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
-
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. -
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
-
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.
-
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!Someone can post the file lss_mshstick.rb modified for 2016 ?
-
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.
-
@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!Someone can post the file lss_mshstick.rb modified for 2016 ?
I had the same problem. NOw it works.
-
-
I am also having the issue where it cant find the support html files. Every tool replies with the same pathing issue.
-
@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
-
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?
-
I also have the same question please!
-
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... -
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.
-
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
-
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.
Advertisement