SketchUcation Premium Membership

 

 

[Plugin] VisTools

Re: [PLUGIN] Utilities

Postby ishboo » Sat Jul 23, 2011 5:12 am

pptoppto wrote:thanks!

3dita wrote:AWESOME utility!!! working just like a 3ds max fundamental tool!!

Must have, congrats :sketchstatic:


You're both welcome! Glad you like it!
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 Dan Rathbun » Tue Aug 23, 2011 11:55 pm



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>'

words.txt

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
Please, register (free) to access all the attachments on the forums.
Last edited by Dan Rathbun on Thu Aug 25, 2011 3:22 am, edited 2 times in total.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby Dan Rathbun » Wed Aug 24, 2011 12:48 am

OK.. here's the basic hash template file:

The 'XX' in the name needs to be replaced with a 2 char. language code.
Within the file, change the "XX" hash values to the local translation.

Please use parenthesis ( ) as I have, and punctuation periods, or '...' where I have, in the translations.
Also repeat the use of capitalized words, as they are in the English keys.

The %s params can be moved in the translated strings, to where they are more appropriate for the particular language.

basic_utf8_XX.hash.txt




Here is the template file for the debug strings.

The technical terms should match those in the localized editions of Sketchup.

debug_utf8_XX.hash.txt
Please, register (free) to access all the attachments on the forums.
Last edited by Dan Rathbun on Thu Aug 25, 2011 6:27 pm, edited 1 time in total.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] Utilities

Postby Dan Rathbun » Wed Aug 24, 2011 2:01 am

Dan Rathbun wrote:
    Language translators, and proofreaders needed.

    I did the German (de) ..., and they need proofing.


    Good news... Aerilius has volunteered to proof / edit the 'de' German files.

    UPDATE: Aerilius finshed proofing / editing the German 'de' files... great job!
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby Dan Rathbun » Wed Aug 24, 2011 10:20 pm


    Thanks go to Tomot, for knocking out a first edition of the basic Polish 'pl' hash file !!

    UPDATE: We will need a proofreader, who's first language is polish.
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [PLUGIN] Utilities

    Postby Dan Rathbun » Thu Aug 25, 2011 3:14 am

    ishboo wrote:
    Jim wrote:Just a note - Toolbar image sizes are 24x24 px for the large size and 16x16 px for the small size. SketchUp does a poor job of resizing your 32x32 icons on the toolbar which is why they don't look as nice as they should. Tool cursors are expected 32x32.

    You're right Jim, I'll have to get around to changing them for the next release.

    This action item is complete: Here's the corrected images, for those of you who want to use them right away with ver 1.0

    Unzip into your "Plugins/SU_Utils" directory (folder) [you can rename the current "images" folder to "images_bak" first if you desire.]

    images.zip
    Please, register (free) to access all the attachments on the forums.
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby thomthom » Thu Aug 25, 2011 7:29 am

    You can try the translaters I used: http://www.thomthom.net/software/vertex ... anslations
    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund
    User avatar
    thomthom
    Global Moderator
     
    Posts: 17545
    Joined: Tue Nov 13, 2007 12:47 pm
    Location: Trondheim, Norway
    Name: thomthom
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: architecture
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby Dan Rathbun » Thu Aug 25, 2011 6:24 pm


    Thanks go out to Defisto for proofing and editing the Spanish 'es' files !!! :berserk:
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby Dan Rathbun » Thu Aug 25, 2011 6:35 pm

    Added the "debug" string template file in the post above...
    see: viewtopic.php?f=323&t=36465&p=350210#p350210
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby ishboo » Thu Aug 25, 2011 6:49 pm

    Great to see all this activity!
    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 Pilou » Thu Aug 25, 2011 8:55 pm

    I am on the road for the French language! ;)
    Frenchy Pilou
    Is beautiful that please without concept!
    Speedy Galerie
    User avatar
    Pilou
    Top SketchUcator
     
    Posts: 10027
    Joined: Wed Jan 23, 2008 10:33 pm
    Operating system: Windows
    SketchUp version: 6
    License type: Free
    SketchUp use: hobby
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby Gaieus » Thu Aug 25, 2011 9:29 pm

    I can do some Hungarian - need to install the plugin and see what it exactly does so that I understand why the expressions are what they are.
    Gai...
    User avatar
    Gaieus
    Administrator
     
    Posts: 27601
    Joined: Sat Oct 20, 2007 8:24 am
    Location: Pécs, Hungary
    Name: Csaba Pozsárkó
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: historical reconstruction
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby ishboo » Thu Aug 25, 2011 9:33 pm

    Pilou wrote:I am on the road for the French language! ;)


    Excellent!
    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 Pilou » Thu Aug 25, 2011 9:42 pm

    limit=%s

    I have translated the word "limit" by "limite" in French : must or not ? (I suppose yes :)

    Not yet tested :oops:
    you must rename them ...utf8_fr.hash.txt I suppose?
    Please, register (free) to access all the attachments on the forums.
    Frenchy Pilou
    Is beautiful that please without concept!
    Speedy Galerie
    User avatar
    Pilou
    Top SketchUcator
     
    Posts: 10027
    Joined: Wed Jan 23, 2008 10:33 pm
    Operating system: Windows
    SketchUp version: 6
    License type: Free
    SketchUp use: hobby
    Level of SketchUp: Advanced

    Re: [Plugin] Utilities

    Postby Dan Rathbun » Fri Aug 26, 2011 1:27 am

      Looks good... Thank you.

      But... we need the Plugin Description in Francais, Si vous plaît:

      "Adds some useful tools within SketchUp, like Hide / Show entities and layers, Freeze / Unfreeze for components, and Show / Unfreeze all."

      Combination of Google & Microsoft Translators:

      "Ajoute quelques outils utiles dans SketchUp, comme Cacher / Montrer des entités et des calques, Gel / Dégel pour des composants, et de Montrer / Dégeler tous."

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

      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: 10027
      Joined: Wed Jan 23, 2008 10:33 pm
      Operating system: Windows
      SketchUp version: 6
      License type: Free
      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: 4069
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 8
      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: 4069
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 8
      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: 4069
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 8
      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: 13903
      Joined: Mon Nov 12, 2007 7:24 pm
      Location: Northumbria UK
      Name: TIG
      Operating system: Windows
      SketchUp version: 8
      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: 4069
      Joined: Tue Oct 06, 2009 3:06 am
      Location: Florida, USA
      Name: Dan Rathbun
      Operating system: Windows
      SketchUp version: 8
      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: 1924
      Joined: Wed Nov 14, 2007 11:35 am
      Location: Queensland, Australia
      Name: utiler
      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: 1924
      Joined: Wed Nov 14, 2007 11:35 am
      Location: Queensland, Australia
      Name: utiler
      Operating system: Windows
      SketchUp version: 8
      License type: Pro
      SketchUp use: architecture
      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

      Next


       

      Return to Plugins

      Who is online

      Users browsing this forum: blajnov, dariusdarkelf, Krisidious, slave, Stesosaso and 9 guests