[Plugin] LSS Toolbar 2.0 Beta
-
@pep75 said:
Will there be still any updates on this plugins? This is actually one of the best plugins ever made for SU...
true to that.
It rivals Fredo6s collection for the first place -
Hello All,
I tried several times to run this plugin ( or toolbar) but doesn't work for me.
I have SK 2008 and I follow the installation instructions. It could be a problem about language ? ( mine SK is in spanish). I say that about the "en-US" folder that must bé extracted on "sources" SK folder.
Thanks in advance
Kind Regards
-
would love to have the lss toolbar and matrix in 2014!~
-
Is there a new version of this plugin for sketchup 2014?
-
I ve already tested it. LSS toolbar also works in sketchup 2014. Thank you so much.
The follow edges tool is brilliant.
-
I get the attached error (and similar other errors with other buttons) when trying to use the Toolbar
-
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 thehtml
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...
-
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-toolbar -
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:inread_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:inactivate' 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:inblock in initialize' SketchUp:1:in
call' -
@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.
Advertisement