[Plugin] VisTools v1.3.4
-
Hi Dan,
Thank you to maintain these VISTools
IntrepidBear_VisTools_1_2_0.rbz downloaded thanks.Here are some informations about these tools . (after I have searched by myself this morning)
author site:
https://github.com/danawoodman/sketchup-vistools/tree/master/IntrepidBear/VisTools
https://github.com/danawoodman/sketchup-vistoolsSketchUcation:
[Plugin] VisTools
by ishboo » Fri Apr 08, 2011 12:03 am
http://sketchucation.com/forums/viewtopic.php?f=323&t=36465@ishboo said:
Hey Everyone,
I've written a collection of SketchUp visibility utility functions that allow you to:
- Hide selected entities (faces, edges, groups, components).
- Hide selected layers.
- Isolate (aka Show Only) selected entities.
- Isolate selected layers.
- Freeze selected groups and components (hide & lock).
- Unhide all entities (does not unfreeze frozen items).
- Unfreeze all groups/components (does not unhide all items).
These tools work in concert to allow you to mimic an AutoCAD like workflow when working with items in your model.
I've desired the ability to "Freeze" items in a model so I can work on other items without affecting them. This can be accomplished by using the Freeze tool to lock and hide items which allows you to modify and hide/show other entities without affecting the frozen items.
Download:
You can download the newest version of the plugin here: http://extendsketchup.com/plugins/dana/vistools/The code for the tool is released under an MIT license and hosted at GitHub:
https://github.com/danawoodman/sketchup-vistoolsReport any bugs or issues here:
https://github.com/danawoodman/sketchup-vistools/issuesUpdate (9/27/12): I've changed the name of the plugin from the generic "Utilities" to "VisTools" to avoid confusion with other plugins. I've also updated the location of the Github repo and fixed a few bugs. It is now hosted on ExtendSketchUp.com as well.
Please let me know what you think!
Page 2:
http://sketchucation.com/forums/viewtopic.php?f=323&t=36465&start=15#p350198@dan rathbun said:
Version 2.x is coming .....
Language translators, and proofreaders needed.
I did the German (de) and Spanish (es) files, and they need proofing. (It's been 35 years since I took Spanish in high school, and I only 'dabble' in German when doing genealogy research.)
The files need to be Unix line endings (EOL) and UTF-8 encoded. They are named "basic_utf8_XX.hash" and "debug_utf8_XX.hash", where XX is replaced by the lowercase language code. (ie: 'en', 'es', 'pl', 'fr', etc...)
The plugin will "auto" find these files, or the user can choose a specific lang from those that are present. (In 'en' mode, the hash files are not actually loaded... as the Ruby code knows what the English strings are.)
<----<<<< PM me if you'd like to do a certain Language translation, or proofread/correct the 'de' or 'es' files.
If a debug hash file is not available for a certain language (but the UI strings in a basic hash file are present,) then the UI will be in that local language, and console output will be in English (if the user has turned it ON.)
So... the priority is on the 'basic' hash files, in order to show the UI elements in the local language.replaceable parameters
%s
will be replaced by a number, like:34
'%s'
will be replaced by an entity flag, like:'#<Sketchup::Face:0x624452c>'
[attachment=0:3t29cmjw]<!-- ia0 -->words.txt<!-- ia0 -->[/attachment:3t29cmjw]
NOTE! The above file, and the hash file in the next post, will be used with ver 2.x,... they do NOT work with ver 1.0 (if that's why y'all are downloading, but not volunteering to translate.)
Translator links: Google Translate : MicroSoft Translator....
Last post p4
http://sketchucation.com/forums/viewtopic.php?f=323&t=36465&start=45#p446921@dan rathbun said:
We are then gone back to the first post of this present thread
++ Simon
-
@simon le bon said:
Page 2:
@unknownuser said:
Utilities](http://sketchucation.com/forums/viewtopic.php?f) (renamed VisTools)":27wl27ao]Version 2.x is coming .....
... We are then gone back to the first post of this present threadSimon,
I suppose you are asking the question "What happened to FreezeTools v2.0 ?"(1) FreezeTools must be thought of as an experimental code fork of the original, that was never released.
(2) Some organizational ideas for the code were used by Dana in the VisTools v1.1 (or v1.0.1 ?) release.
I am guessing that I had made the codebase for FreezeTools much too complex, in too many files. Again (guessing,) I think Dana did not have the time to test it, but needed to update the original, and decided to keep the update as simple as possible, still in one file, and include only the most important revisions, which were the name change to VisTools, and wrapping the code within his new
IntrepidBear
module namespace.And probably, that was the correct decision. (I think I got carried away, and broke the code up into far too many files. Also, I likely introduced too many changes all at once. It is better to do changes in smaller increments, for debugging, and just in case that "fork" must be rolled back if it does not work out.)
But... since VisTools still needed an update to correct the multi-model situation on Mac, I said to myself,
"Why waste the work I and others did creating the language strings for FreezeTools?"I still have all those language hash files, so I used the language strings, but in a slightly different way. (I no longer read the file as a hash literal into a string object, and then
eval()
it. I just let the interpreter use the language file via theload()
method.)SO .... this really is where we should be.
Version
%(#000000)[1.2.0]
is just a small incremental change that adds multi-model support, and loads localized language strings for the menus, toolbar, and tooltips. -
Pushed v1.2.0 into a forked GitHub online repository at:
https://github.com/DanRathbun/sketchup-vistools -
UPDATE: v1.2.1
(see first post)
-
Hi Dan,
@dan rathbun said:
Simon,
I suppose you are asking the question "What happened to FreezeTools v2.0 ?"I am too new with these tools to ask such a question: but it is an interesting reply
This have made me realize that I hadn't enough noticed that we where in the Developers' Forum
Alas, I regret but coding matter is not my cup of theaAnyway, Thank you in advance for the future developments..
(I have some problems and things to understand with Vistools layers management but I go to [Plugin] VisToolsthread to discuss )
*simon
-
"Look Mom! No code outside the author's namespaces."
Looks like very tidy code. And well documented. Will study this.
-
@jolran said:
"Look Mom! No code outside the author's namespaces."
Yup.. you're the first to notice my little quip.
But it is true. There is usually never a need to write normal plugin code, that evals outside your author namespace.
@jolran said:
Looks like very tidy code. And well documented. Will study this.
Yes it should serve well as good, simple plugin example.
-
UPDATE v1.3.0 (see first post)
Pushed update into a forked GitHub online repository at:
https://github.com/DanRathbun/sketchup-vistoolsFedback via: https://github.com/DanRathbun/sketchup-vistools/issues
-
Hi Dan,
You surf on the lip of the wave.
After a little while of use; once we have begun to integrate its functionalities in our workflow, this tool appears as natural as a basic one !v1.3.0 Downloaded,
Thank you ++simon
-
@simon: Are the français menu text and tooltips working correctly for you?
-
@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.
Advertisement