SketchUcation Plugin Store

 

 

[Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

[Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby MartinRinehart » Mon Oct 26, 2009 2:36 pm

http://www.martinrinehart.com/models/ru ... apdoc.html

VisMap 2 replaces both VisMap and VisMap Pro. It's a big improvement for the models that have lots of layers and scenes. Here are a couple samples:

vismap_chci.gif


That shows how I've added vertical lines and three-line color groups to make it easy to locate individual check boxes. (And, if you're my age, you see that I've reinvented green-bar fanfold.)

The next shows the scenes list. It's now a separate window so you can minimize or close it to make more room for the map and your model.

vismap_chci_scenes.gif


Enjoy.

http://www.martinrinehart.com/models/ru ... apdoc.html
Please, register (free) to access all the attachments on the forums.
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.
MartinRinehart
 
Posts: 762
Joined: Mon Jul 27, 2009 1:13 pm
Name: Martin Rinehart

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby Howard Leslie » Thu Oct 29, 2009 4:59 pm

Martin,
I find your VisMap Script pretty useful.
I'm currently running VisMap2.
......
One model is a bit troublesome....
174 Layers, 50 or so Scenes.

Its probably the number of Layers that's giving it a headache.
........
I can get the script to run on all the other models I've tried (some also quite big) - apart from this real monster.
Unfortunately it won't be possible for me to post you the *.skp file.
........
If you can ever get VisMap to run on even more Layers than present it would be hugely appreciated.
.........
Thanks once again for producing this fantastic script
Regards

Howard L'
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby MartinRinehart » Thu Oct 29, 2009 5:34 pm

Howard Leslie wrote:One model is a bit troublesome....
174 Layers, 50 or so Scenes.


Very interesting. As models go, that's certainly huge. But as numbers go, those are small ones. Computer programs tend to break at, for instance, integers that cross 2 billion (the maximum for twos-complement, 32-bit integers).

What OS, and exactly what fails? How big is the model and how much RAM is available? Thanks.
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.
MartinRinehart
 
Posts: 762
Joined: Mon Jul 27, 2009 1:13 pm
Name: Martin Rinehart

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby ktkoh » Fri Oct 30, 2009 1:45 pm

I downloaded the script and will try it on my woodworking models as I seem to use lots of scenes and layers.

Question: In a ruby script when I know both the layer name and the scene name what would I have to do to add the layer as visible in the scene?

Thanks
Keith
ktkoh
 
Posts: 147
Joined: Mon Mar 31, 2008 1:40 am
Location: Bellefontaine OH
Name: Keith Krueger
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: woodworking
Level of SketchUp: Intermediate

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby MartinRinehart » Fri Oct 30, 2009 8:26 pm

ktkoh wrote:Question: In a ruby script when I know both the layer name and the scene name what would I have to do to add the layer as visible in the scene?


Scenes are called "Pages" in the API. And just to keep you on your toes, there's a Pages.count method, not Pages.length.

Each Page comes with a list of invisible layers. You find the layer you want in this list and delete it from the list.

More generally, I don't encrypt my code. You might find the classes I wrote useful.
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.
MartinRinehart
 
Posts: 762
Joined: Mon Jul 27, 2009 1:13 pm
Name: Martin Rinehart

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby Panga » Fri Oct 30, 2009 8:38 pm

Martin, happy to see progress on vismap. Can I suggest one thing that can follow your idea of having a better reading of the whole table. Could it be possible to have one scene number with the normal font and the next one with the bold font, in order to have this :

12345678910111213141516171819...

This way when the scene number has two digits, it'll be easier to read them. Or maybe find another way to dissociate scene numbers...just an idea...

Anyway, thanks for this wonderfull plugin !!
Panga
Premium Member
Premium Member
 
Posts: 357
Joined: Fri Dec 14, 2007 11:04 am
Location: FRANCE

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby MartinRinehart » Fri Oct 30, 2009 8:51 pm

Panga wrote:... when the scene number has two digits, it'll be easier to read them.


Good idea. They were all bold, but boldface is too fat. Doesn't reduce well.

On the other hand, if I alternated two colors, ...

Try this. Edit .../Plugins/vismap2/vismap2_main.js. Insert the middle line you see here, at line 83. (Other two lines shown so you can see exactly where it goes.)
Code: Select all

        cell.align='center';
      cell.style.background = colors[ i % 2 ];
      cell.style.fontSize = ( size_cb + 1 ) + 'px';

I think we'll call this the Panga imProvement.
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.
MartinRinehart
 
Posts: 762
Joined: Mon Jul 27, 2009 1:13 pm
Name: Martin Rinehart

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby Panga » Sat Oct 31, 2009 1:48 pm

Thanks ;) . It works perfectly !! I'll give you more feedback soon.
Panga
Premium Member
Premium Member
 
Posts: 357
Joined: Fri Dec 14, 2007 11:04 am
Location: FRANCE

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby Ecuadorian » Sat Oct 31, 2009 10:54 pm

Thank you, Martin. There have been some situations when I get lost among my layers/scenes, so this will be useful. :thumb:
Ecuadorian
 
Posts: 1621
Joined: Thu Jan 15, 2009 10:20 pm
Location: Ecuador
Name: Miguel
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby Ecuadorian » Fri Nov 13, 2009 4:47 am

Martin, this plug-in has now proved to be a life-saver. I now have a project with several scenes for an animation and when I added SketchyPhysics into the mix I had two options: Manually turn off the Physics Joints layer in every single scene... or do it in a couple of click with VisMap. :thumb:
Ecuadorian
 
Posts: 1621
Joined: Thu Jan 15, 2009 10:20 pm
Location: Ecuador
Name: Miguel
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby bagatelo » Sat Mar 19, 2011 2:42 am

I think this is not working in SU8. :cry:
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby bizmen » Wed Mar 23, 2011 3:52 am

bagatelo wrote:I think this is not working in SU8. :cry:

what do you mean its not working. Man its working perfectly.
This plugin is very efficient if you made your layers properly.
Thank you the plugin creator :bounce: :bounce: :bounce:
bizmen
 
Posts: 4
Joined: Sun Feb 27, 2011 4:20 am
Name: Bizmen

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby bagatelo » Wed Mar 23, 2011 1:14 pm

not working to me....
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby small08 » Wed Mar 23, 2011 9:39 pm

Love organization and simplicity! Thanks Martin
small08
 
Posts: 21
Joined: Thu Jan 31, 2008 2:35 am

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby function » Thu Mar 24, 2011 1:07 am

It's not working.
(worst first post ever)
function
 
Posts: 40
Joined: Mon Mar 29, 2010 6:24 am

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby function » Thu Mar 24, 2011 8:04 am

:shock: to be more helpful - :roll: the html dialog doesn't come up when accessed from the menu, no error messages or anything

edit: upon having some other issues in SKP, I flushed my plugins folder; visMap now works- I will update again if I can narrow down which plugin caused the conflict :thumb:
function
 
Posts: 40
Joined: Mon Mar 29, 2010 6:24 am

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby boofredlay » Fri Sep 23, 2011 3:06 pm

Martin, I get this error when trying to run VisMap 2.
The file has 44 layers and 40 scenes.
Please, register (free) to access all the attachments on the forums.
User avatar
boofredlay
Global Moderator
 
Posts: 9008
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby smb5823 » Sun Nov 27, 2011 11:32 pm

Hi Martin
Great Tool.
Would it be possible to extend VisMap 2 to include 'shadows ON/OFF'?
In large complex models it would be useful in particular to be able turn off shadows in one or more scenes without having to select, and then wait for the scene to be fully rendered with shadows before you can turn the shadows off.

I have models and animations which in the final output need shadows on, but for working and tweaking things the wait for the scene to be fully redrawn is frustrating. What do you think? :?:
smb5823
 
Posts: 5
Joined: Thu Apr 16, 2009 4:49 pm
Name: Steven M Brown

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby haynesc » Thu May 31, 2012 1:22 pm

Hi can anyone help me ?

For some strange reason this tolls has stopped working on my machine all of a sudden ... i activate the tool from plugins menu and nothing happens no dialog box opens nothing

why would this happen ?
haynesc
 
Posts: 170
Joined: Tue Jul 22, 2008 9:17 am
Location: London, England, UK
Name: haynesc

Re: [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

Postby haynesc » Thu May 31, 2012 1:32 pm

ok im now getting this message:

Error Loading File vismap2_menu.rb
can't convert nil into String
haynesc
 
Posts: 170
Joined: Tue Jul 22, 2008 9:17 am
Location: London, England, UK
Name: haynesc

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Not a Premium Member yet? Check out the great time-limited deal we are offering.

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: carlocki, davids90gt, jpvikholm, mhackee, miskoza, Nnnastya, onzki, rksalinas, tin22 and 10 guests