[Plugin] VisTools v1.3.4
-
@dan rathbun said:
@simon: Are the français menu text and tooltips working correctly for you?
Everything looks perfect in the two areas
A suggestion:
May be a red icon or light to signal something is hidden or frozen as a reminder would be useful. I think that with a complex model stratified on numbered layers, things can be loosen into the hidden world easily.+++
simon -
-
Issue #19: Toolbar button ordinal positions
In the old pre v1.2.x versions, the plugin commands were added to the VisTools toolbar in a hard-coded manner.
In my versions (v1.2.0 to v1.3.0,) I first loaded all the commands into a
Hash
, and then later iterate this@@command
hash adding the commands to both the toolbar and menu.The problem is that in Ruby v1.8.x, the order of keys returned when using an
each
iterator, is not ALWAYS the same order in which they were added to the hash.Anyone notice the position of toolbar buttons changing from one session to the next ??
I may need to modify the code to be sure the buttons are always in the correct order.
ADD: Issue filed for milestone 1.3.1, and fix has been done. -
Pushed update into a forked GitHub online repository at:
https://github.com/DanRathbun/sketchup-vistoolsFeedback via: https://github.com/DanRathbun/sketchup-vistools/issues
-
@dan rathbun said:
Pushed update into a forked GitHub online repository at:
https://github.com/DanRathbun/sketchup-vistoolsFeedback via: https://github.com/DanRathbun/sketchup-vistools/issues
Aviso para cargar error
-
@__guanjin__:
The plugin should have just used English ...
... because I did NOT supply language files for zh-CN (Chinese Traditional), zh-TW (Chinese Taiwanese), ja (Japanese) or ko (Korean.)
%(#BF4000)[I do not know how to create UTF-8 encoded language files for these languages.
(I think they may use UTF-16 encoded characters.)]Questions:
Are you running SketchUp in chinese ? zh-CN or zh-TW ??
At the Ruby Console, what is the result of:
Sketchup.get_locale
and:
Sketchup.get_locale()[0,2]
-
Hey Dan, the script and organization is amazingly profesional. Indeed, I need to upergrade my scripting skills now...
-
Thank you Anton
-
I examined the Vis Tools.rb and find it strictly licened. What bugs me is the whole licence thing:
- How do I get it? I found a link here, though I'm still not sure.
- What kind of licence should I get? MIT?
- Is it required to pay for the licence?
Sorry if my post is a bit of topic though
-
@anton_s said:
I examined the Vis Tools.rb and find it strictly licened.
The MIT License is very NON-Strict.
Really there are only 2 requirements: that the copyright notices of the previous authors must stay in the code documentation (you add your own name if you make changes and distribute an edition of your own;) and the original License text (and it's requirements, along with it's 2 restrictions, AND ALL it's privileges,) must be passed on to any future users, or authors.
Basically.. the "MIT License" is a liberal, socialistic, community property type of license, that is meant to encourage "open source" projects that anyone can use, and improve. Since many people may put their valuable time into the product and do not want some entity "stealing" their work and turning it into a commercial product,... the license has the requirements that the contributor copyright notices and all privileges to use or modify the software, must be passed on.
@anton_s said:
How do I get it?
The license text IS distributed with the plugin in "
%(#004080)[**LICENCE.txt**]
", ...
and I also pasted it into the documentation headers of the "%(#004080)[Plugins/load_VisTools.rb]
" extension loader and the "%(#004080)[Plugins/IntrepidBear/VisTools/VisTools.rb]
" main script file.IF you installed the rbz archive, then you have the license files.
@anton_s said:
I found a link here, though I'm still not sure.
That website has nothing to do with THIS VisTools SketchUp plugin nor it's license.
That website is a form guide that helps you decide what license to use with YOUR OWN projects, that have never before been subject to any "End-User License Agreement" (EULA), "Terms of Service" (TOS) or "Terms of Use".)@anton_s said:
What kind of licence should I get? MIT?
The license attached to the plugin IS the MIT license.
The terms of the MIT license (as distributed with the plugin,) along with the Warranty Disclaimer / Limitations on Liabilities, apply to your use of the software as it is now; and grant you privileges (subject to those 2 restrictions,) to modify or extend the software, and distribute your own edition.
@anton_s said:
Is it required to pay for the licence?
No ... but I would not mind donations to help pay for my time, or new features.
I could have charged a fee for the updates (under the terms of the MIT license,) but chose not to, because I really did not add any new features. I just cleaned up the code mostly, and fixed a few things. The language support files were done by volunteers back when I forked off the edition that was temporarily called "FreezeTools".
I do not use the VisTools plugin much myself, because I really do not feel it Freezes things the way they are frozen in AutoCAD. But I suppose it is better than nothing.
Unless I get feedback from users who really like to use the plugin, and likely get some donations to do more work on it,... I probably will not do much more to it, other than fix any glaring bugs, that are easily fixed.
-
Thank Dan, that explains it well.
-
@dan rathbun said:
@__guanjin__:
The plugin should have just used English ...
OK I found the error.
It was me:
VisTools.rb: line 95
@@lang == 'en' %(#008000)[# just use English]
should be making an assignment:
@@lang **=** 'en' %(#008000)[# just use English]
'tupid booboo!
I'll make changes and push an update.
-
Pushed update into a forked GitHub online repository at:
https://github.com/DanRathbun/sketchup-vistoolsFeedback via: https://github.com/DanRathbun/sketchup-vistools/issues
-
Added Asian language support:
-
Chinese Simplified (zh-CN) language support by Xiao Long (guanjin)
-
Other Asian language support files (preliminary):
-
Chinese Traditional (zh-TW)
-
Japanese (ja)
-
Korean (ko)
THANK YOU to :
- Xiao Long (guanjin)
Chinese Simplified (zh-CN) language file.
Pushed update into a forked GitHub online repository at:
https://github.com/DanRathbun/sketchup-vistoolsFeedback via: https://github.com/DanRathbun/sketchup-vistools/issues
-
-
I have installed vistools with ThomThom's install plugin,
but I get these startup errors:
Error Loading File load_VisTools.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/load_VisTools.rb:4: syntax error, unexpected '<'
<!DOCTYPE html>
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/load_VisTools.rb:5: syntax error, unexpected '<'
<html>
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/load_VisTools.rb:7: syntax error, unexpected '<'
<meta charset='utf-8'>
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/load_VisTools.rb:8: syntax error, unexpected '<'
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/load_VisTools.rb:8: syntax error, unexpected tIDENTIFIER, expecting $end
<meta http-equiv="X-UA-Compatible" content="IE=edge"> -
These errors are not caused by VisTools.
VisTools has NO html files, and therefor NO <!DOCTYPE> nor <META> tags,... so the errors are caused by ThomThom's installer in some way. (But may be meaningless.)
Restart SketchUp... see if VisTools runs normally after a restart.
I have never used ThomThom's installer tool,... NOR DID I EVER SAY VisTools was compatible with it!
I recommend using the built-in "Install Extension..." button on the Extensions panel of the Preferences dialog (via the Window menu.)
-
sorry to have upset you, I am only asking for help
Thomthom's install pugin has always worked fine for me
I have restarted Sketchup several times, to no avail
I deleted the intrepidBear folder,
the errors remainedI then reinstalled the plugin through the built-in "Install Extension..." button on the Extensions panel of the Preferences dialog (via the Window menu.)
the error messages still remained,
I could not find the menu bar, the plugin was not workingI deleted the intrepidBear folder again,
now the errors still remain
is there anything else I shoud delete?might it be that there is a conflict with TIG' s selectionhideshow.rb ?
http://sketchucation.com/forums/viewtopic.php?t=19576greetings
Frank -
??
That's just bizarre. This Vistool is an RBZ, right? The Simple Installer uses the API to install RBZ so it should be the same as Install Extensions from the UI.
No idea what produces that.
Looks like the content of the .rb file is HTML ... ? :s
Tried re-downloading?
Have you looked at the content of the .rb file? Can you upload it for inspection?
-
Sorry, I was thinking of the .rb file.
-
here is the .rbz file
grts
Frank
Advertisement