SketchUcation Premium Membership

 

 

[Plugin] VisTools

Re: [Plugin] Utilities

Postby Pilou » Fri Aug 26, 2011 2:18 am

Quasi perfect ;)
"Ajoute quelques outils utiles dans SketchUp, comme Cacher / Montrer des entités et des calques, Geler / Dégeler pour des composants, et Montrer / Dégeler tous."
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10070
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby Dan Rathbun » Fri Aug 26, 2011 4:14 am

OK.. thanks Pilou ... got and updated the file.

FEI (For Everyone's Information): I finally quit "fiddling" and sent Dana the "FreezeTools" ver 2.0.0 package, so he can have a first look. He'll likely put the package up on Github, until we are satisfied, that there are no major issues. Then he or I, will put the package on the EXTENDSketchup site.

Known "to do":
  1. Reformat and expand the Help html file.
  2. Tweak the "All" commands so they are correctly walking the nested groups / components, and performing their tasks the way they should.
  3. Make sure if possible we do not have strange behavour during Undo and Redo operations.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby Dan Rathbun » Fri Aug 26, 2011 8:07 pm

Note: Dana will be away till late next week (Thursday or so,) and will not be able to begin reviewing the new version til then.
Your patience is appreciated.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby ishboo » Fri Aug 26, 2011 9:54 pm

Actually, I'll be back around the 5th of September :/
SketchUp plugin marketplace: http://extendsketchup.com/
ishboo
 
Posts: 57
Joined: Wed Oct 27, 2010 8:23 pm
Location: Northern California, USA
Name: Dana Woodman

Re: [Plugin] Utilities

Postby bimboombang! » Tue May 15, 2012 10:27 pm

THE ISOLATE LAYER DOESN'T WORK. i'M RUNNING SKETCHUP 8 PRO.

Here's the ruby console errors.

C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:241
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:45:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:45

Is there a fix or version 2.0 for skecthup 8 pro?

Thanks. :(
bimboombang!
 
Posts: 1
Joined: Fri Nov 20, 2009 3:25 am
Name: bimboombang!

Re: [Plugin] Utilities

Postby Dan Rathbun » Wed May 16, 2012 12:39 am

First of all, the Active Layer cannot be hidden, so if you expected that, it will not happen.

Isolate Layer seems to work OK in my v2.0.0 ...

I had sent it to Dana for his approval, but he had just started a new job, and was heavily working on the ExtendSketchup plugin... so nothing has happened.

Dana.. how about if we have TIG and/or ThomThom take a look ??
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby TIG » Wed May 16, 2012 10:35 am

If you have v1... zip downloaded from the direct link, then it doesn't contain the begin..rescue..end protection of the newer version that you can download manually from the site that is linked to :?
However, as even this could also jump out of the layer manipulation loop prematurely you can fix the tool's code thus...

Edit the Utilities.rb file in the SU_Utils subfolder, using Notepad or a similar plain text editor like Notepad++...
Use its 'Find and Replace' tool to change the two lines of code that say
l.visible = false
with this
l.visible = false unless l == @model.active_layer
This will stop you trying to make the active layer invisible which is disallowed...
Save it and restart Sketchup.
Now the two layer tools that try to switch layers 'off' should work without errors...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13998
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby ishboo » Wed May 16, 2012 10:40 pm

Thanks Dan/TIG for replying! You guys rock.
SketchUp plugin marketplace: http://extendsketchup.com/
ishboo
 
Posts: 57
Joined: Wed Oct 27, 2010 8:23 pm
Location: Northern California, USA
Name: Dana Woodman

Re: [Plugin] Utilities

Postby dbehrens9000 » Wed Sep 26, 2012 10:27 pm

Ishboo,

I use this utility alot with large projects and it no longer works with sketchup 8.0.15158. Could you please check why it does not load? Was there a change in the sdk that conflicts with your ruby scrpit?

Many thanks,

David
dbehrens9000
 
Posts: 1
Joined: Tue Sep 18, 2012 9:29 pm
Name: David

Re: [Plugin] Utilities

Postby ishboo » Thu Sep 27, 2012 9:57 pm

dbehrens9000 wrote:Ishboo,

I use this utility alot with large projects and it no longer works with sketchup 8.0.15158. Could you please check why it does not load? Was there a change in the sdk that conflicts with your ruby scrpit?

Many thanks,

David


Hi David, I will look into and get back to you. I've been working on re-writing the application recently. Will update!
SketchUp plugin marketplace: http://extendsketchup.com/
ishboo
 
Posts: 57
Joined: Wed Oct 27, 2010 8:23 pm
Location: Northern California, USA
Name: Dana Woodman

Re: [Plugin] Utilities

Postby ishboo » Thu Sep 27, 2012 11:22 pm

I've finished a new release of the plugin. I've renamed it to VisTools so it's not so confusing and ambiguous.
SketchUp plugin marketplace: http://extendsketchup.com/
ishboo
 
Posts: 57
Joined: Wed Oct 27, 2010 8:23 pm
Location: Northern California, USA
Name: Dana Woodman

Re: [Plugin] VisTools

Postby Dan Rathbun » Fri Sep 28, 2012 2:18 am

So you are settling on "IntrepidBear" as your toplevel namespace and filespace, then ?
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] VisTools

Postby utiler » Wed Oct 24, 2012 11:23 pm

Hi Dana, nice clean set of Utilities.. well done and thank you on behalf of everyone who has downloaded it!!

I had a think about the Isolate Entitles: its great to be able to isolate something particularly in a large model when you want to just work on that specifically however it would is just as important to be able to revert back to the entities that were visible. The same applies to the Hide Entities tool: mostly I would think that once you've finished with the hiding what you need you'd want the option to revert back....


Just a thought

Thank you again. :thumb:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1928
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] VisTools

Postby ishboo » Sat Oct 27, 2012 11:52 pm

utiler wrote:Hi Dana, nice clean set of Utilities.. well done and thank you on behalf of everyone who has downloaded it!!

I had a think about the Isolate Entitles: its great to be able to isolate something particularly in a large model when you want to just work on that specifically however it would is just as important to be able to revert back to the entities that were visible. The same applies to the Hide Entities tool: mostly I would think that once you've finished with the hiding what you need you'd want the option to revert back....


Just a thought

Thank you again. :thumb:


Glad you like the tool!

If I understand correctly, you're asking for the ability to "unhide all" which is actually a button on the menu, so you should be able to do that already. I apologize if I'm misunderstanding what you're looking for.
SketchUp plugin marketplace: http://extendsketchup.com/
ishboo
 
Posts: 57
Joined: Wed Oct 27, 2010 8:23 pm
Location: Northern California, USA
Name: Dana Woodman

Re: [Plugin] VisTools

Postby utiler » Sun Oct 28, 2012 11:54 pm

Thanks for the reply, Dana.
I see you have an 'unhide all' botton in the toolset but what I was thinking was if I isolate selected entities I would like to then go back to what I had shown before I did so, not necessarily unhiding all.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1928
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] VisTools won`t work

Postby atelierpaar » Mon Oct 29, 2012 3:27 pm

Hi there,
This seems to be a great tool and i would like to test it.
I try to figure out how to install "Vistools".
After downloading and unpacking the zipfile SU responses with the following Error message :

no such file to load-C/Programfiles (x86)/Google/GoogleSketchup8/Plugins/IntrepidBear/Vistools/VisTools.rb

After checking the zip -file, I found that the folder "IntrepidBear" misses the subfolder "Vistools" as well as "VisTools.rb "
Where ist the problem ?
thanks for your help
Uli
Please, register (free) to access all the attachments on the forums.
atelierpaar
 
Posts: 16
Joined: Mon Mar 23, 2009 12:03 pm

Re: [Plugin] VisTools

Postby TIG » Mon Oct 29, 2012 4:33 pm

Usually it is you, "the user", who has managed to mess up a tool's download and installation... BUT in this case it is in no way your fault ! :o

Something does indeed seem very awry ! :shock:

Both the current download-able ZIP and RBZ versions on Dana's site contain an empty 'IntrepidBear' folder.
This ought to contain a 'Vistools' subfolder, which in turn ought to have VisTools.rb and probably some other files in there too :roll:

I'm sure Dana can fix this... If you get no response/fix after a reasonable time - then nag him - perhaps by PM...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13998
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] VisTools

Postby ishboo » Sun Nov 18, 2012 9:52 pm

Sorry bout the broken download zip, I've fixed it.

Had made the zip on the command line and apparently my settings only zipped the folders, doh!

utiler wrote:Thanks for the reply, Dana.
I see you have an 'unhide all' botton in the toolset but what I was thinking was if I isolate selected entities I would like to then go back to what I had shown before I did so, not necessarily unhiding all.


Gotya. Like an "undo" button? I could look into adding this, just not sure when I'd have the time to get around to it! :?

Could be added with some sort of "history" buffer...
SketchUp plugin marketplace: http://extendsketchup.com/
ishboo
 
Posts: 57
Joined: Wed Oct 27, 2010 8:23 pm
Location: Northern California, USA
Name: Dana Woodman

Re: [Plugin] VisTools

Postby utiler » Mon Nov 19, 2012 12:07 am

Thanks Dana, Look forward to seeing what you come up with. :thumb:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1928
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] VisTools

Postby Dan Rathbun » Sun Dec 23, 2012 5:37 pm

    [Plugin] VisTools v1.2.0 ready for testing
    Last edited by Dan Rathbun on Sun Apr 21, 2013 1:49 am, edited 2 times in total.
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4091
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 2013
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [Plugin] VisTools

    Postby Dan Rathbun » Mon Dec 24, 2012 4:34 am

    simon le bon wrote:Page 2:
    Dan Rathbun in Re: [Plugin] Utilities (renamed VisTools) wrote:Version 2.x is coming .....
    ... We are then gone back to the first post of this present thread ;)

    Simon,
    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 the load() method.)

    SO .... this really is where we should be.

    Version 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.

    :ugeek:
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4091
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 2013
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [Plugin] VisTools

    Postby Dan Rathbun » Wed Dec 26, 2012 6:00 pm

      [Plugin] VisTools v1.2.1 ready for testing
      Last edited by Dan Rathbun on Sun Apr 21, 2013 1:48 am, edited 1 time in total.
      User avatar
      Dan Rathbun
      Top SketchUcator
       
      Posts: 4091
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 2013
      License type: Pro
      SketchUp use: education
      Level of SketchUp: Advanced

      Re: [Plugin] VisTools

      Postby Dan Rathbun » Wed Dec 26, 2012 6:10 pm

      Issue #15 - Feedback needed:

      Should commands that change entity states (hide, show, isolate, unfreeze & freeze,) touch entities that are already on hidden layers?

      Currently there is no test for this, and commands just change the states without testing if the entity is on a layer that is not displayed.

      Should we:

      (1) avoid changing entity states when the entity is already hidden by virtue of it's layer ?

      or

      (2) provide a toggle (both menu item and toolbar button,) to ignore hidden layers ?
      User avatar
      Dan Rathbun
      Top SketchUcator
       
      Posts: 4091
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 2013
      License type: Pro
      SketchUp use: education
      Level of SketchUp: Advanced

      Re: [Plugin] VisTools

      Postby Dan Rathbun » Wed Dec 26, 2012 6:15 pm

      Issue #13 - Feedback needed:

      The hide_entities() and isolate_entities() commands can unexpectedly cause freezing.

      If the entity is a group or component, and it is already locked, but not hidden, the above commands will cause freezing, by making them both hidden and locked. (Ie, there is no test to determine if the entity is a locked group or component.)

      This may be unexpected by the user. A subsequent show_all command will not then make everything that was hidden become visible again.

      Is this kind of freezing desired ?? ... or should these commands be changed to avoid causing freezing ?
      User avatar
      Dan Rathbun
      Top SketchUcator
       
      Posts: 4091
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 2013
      License type: Pro
      SketchUp use: education
      Level of SketchUp: Advanced

      Re: [Plugin] VisTools

      Postby Dan Rathbun » Wed Dec 26, 2012 6:18 pm

      Issue #12 - Feedback needed.

      Should the show_all() command be separated into a show_all_layers() and show_all_groups_and_components() command ??

      Reasoning: The layers are not tested for freezing (because they cannot be locked,) but the groups and components are tested for freezing.
      User avatar
      Dan Rathbun
      Top SketchUcator
       
      Posts: 4091
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 2013
      License type: Pro
      SketchUp use: education
      Level of SketchUp: Advanced

      Re: [Plugin] VisTools

      Postby Dan Rathbun » Wed Dec 26, 2012 6:20 pm

      Issue #11 - Feedback needed:

      The command methods show_all() and unfreeze_all() only work upon the model level entities collection.

      Should these instead iterate the definitions collection, and their instances collections, in order to act upon groups and components at ANY level, top or nested ??
      User avatar
      Dan Rathbun
      Top SketchUcator
       
      Posts: 4091
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 2013
      License type: Pro
      SketchUp use: education
      Level of SketchUp: Advanced

      Re: [Plugin] VisTools

      Postby ishboo » Thu Dec 27, 2012 10:50 pm

      Dan, you're at it again ;)

      You're correct in guessing that I was daunted by your changes, I appreciate you're understanding and your time.

      As you may have noticed, we've made the decision of closing down ExtendSketchUp and in turn I won't be doing any work on SketchUp plugins in the foreseeable future. Please feel free to use my code in any way you choose and I hope some of it becomes useful. Sorry to be disappearing but I don't use SketchUp much these days and don't feel I can adequately support any plugins at this time.

      Cheers!
      SketchUp plugin marketplace: http://extendsketchup.com/
      ishboo
       
      Posts: 57
      Joined: Wed Oct 27, 2010 8:23 pm
      Location: Northern California, USA
      Name: Dana Woodman

      Re: [Plugin] VisTools

      Postby Dan Rathbun » Sat Dec 29, 2012 2:00 am

        [Plugin] VisTools v1.3.0 ready for testing
        Last edited by Dan Rathbun on Sun Apr 21, 2013 1:51 am, edited 1 time in total.
        User avatar
        Dan Rathbun
        Top SketchUcator
         
        Posts: 4091
        Joined: Tue Oct 06, 2009 3:06 am
        Location: Florida, USA
        Name: Dan Rathbun
        Operating system: Windows
        SketchUp version: 2013
        License type: Pro
        SketchUp use: education
        Level of SketchUp: Advanced

        Re: [Plugin] VisTools

        Postby Dan Rathbun » Mon Dec 31, 2012 6:59 pm

          Issue: Toolbar button ordinal positions

          ADD: Issue filed for milestone 1.3.1, and fix has been done.
          Last edited by Dan Rathbun on Sun Apr 21, 2013 1:54 am, edited 1 time in total.
          User avatar
          Dan Rathbun
          Top SketchUcator
           
          Posts: 4091
          Joined: Tue Oct 06, 2009 3:06 am
          Location: Florida, USA
          Name: Dan Rathbun
          Operating system: Windows
          SketchUp version: 2013
          License type: Pro
          SketchUp use: education
          Level of SketchUp: Advanced

          Re: [Plugin] VisTools - update v1.3.1

          Postby Dan Rathbun » Mon Dec 31, 2012 9:22 pm

            UPDATE v1.3.1

            Pushed update into a forked GitHub online repository at:
            https://github.com/DanRathbun/sketchup-vistools

            :ugeek:

            Feedback via: https://github.com/DanRathbun/sketchup-vistools/issues
            Last edited by Dan Rathbun on Sun Apr 21, 2013 1:54 am, edited 1 time in total.
            User avatar
            Dan Rathbun
            Top SketchUcator
             
            Posts: 4091
            Joined: Tue Oct 06, 2009 3:06 am
            Location: Florida, USA
            Name: Dan Rathbun
            Operating system: Windows
            SketchUp version: 2013
            License type: Pro
            SketchUp use: education
            Level of SketchUp: Advanced

            SketchUcation One-Liner Adverts

            by Ad Machine » 5 minutes ago

            Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

            Premium Members get 20% discount!

            Ad Machine
            Robot
             
            Posts: 2012

            PreviousNext

            Return to Plugins

            Who is online

            Users browsing this forum: ETPhoneHome, jorge2011, mehdiZ, pmchads, slmndr, zerobmeister and 4 guests