[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
0
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

MartinRinehart 
 

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

Howard leslie 
 

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.
0
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

MartinRinehart 
 

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
0

ktkoh 
PluginStore Author
PluginStore Author
 

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.
0
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

MartinRinehart 
 

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 !!
0

Panga 
Premium Member
Premium Member
 

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.
0
Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

MartinRinehart 
 

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

Panga 
Premium Member
Premium Member
 

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:
0

Ecuadorian 
 

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:
0

Ecuadorian 
 

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:
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

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:
0

bizmen 
 

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

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

not working to me....
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

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

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

Love organization and simplicity! Thanks Martin
0

small08 
 

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)
0

function 
 

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:
0

function 
 

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.
0
User avatar
boofredlay 
Global Moderator
 

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? :?:
0

smb5823 
Premium Member
Premium Member
 

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 ?
0

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
0

haynesc 
 

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

Postby josephkim626 » Tue Dec 09, 2014 9:46 am

Hi, I have been using this plugin until 2014 came out. It hasn't been working for sometime. Will there be any future development?
0
User avatar
josephkim626 
 

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

Postby Jim » Tue Feb 03, 2015 8:56 pm

Martin gave me the ok to update this for Sketchup 14/15. I might not have time until the weekend.
1
Hi

Jim 
Global Moderator
 

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

Postby driven » Wed Feb 04, 2015 1:55 am

can you leave out the dated css??

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

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

Postby db11 » Wed Feb 04, 2015 3:27 am

Jim wrote:Martin gave me the ok to update this for Sketchup 14/15. I might not have time until the weekend.


That's great news Jim. Will look forward to the update.
1

db11 
 

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

Postby josephkim626 » Wed Feb 04, 2015 5:22 am

db11 wrote:
Jim wrote:Martin gave me the ok to update this for Sketchup 14/15. I might not have time until the weekend.


That's great news Jim. Will look forward to the update.



Same here!
1
User avatar
josephkim626 
 

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

Postby Jim » Sun Feb 08, 2015 4:26 pm

Here is version 2.1.

* Updated to work with Ruby 2 versions of SketchUp (version 14 or later.) Use the original version if you want to use Vismap2 on earlier versions of SketchUp.
* Made a SketchUp Extension to allow enabling/disabling in extension managers.

I am not sure how to handle distribution. I am unable to put it in the Plugins Store under Martin's name. That would make it harder to do further updates. I could post it under my plugins, but not sure if it would cause much confusion.
1
Hi

Jim 
Global Moderator
 

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

Postby Jim » Sun Feb 08, 2015 4:35 pm

driven wrote:can you leave out the dated css??

john


At some point. Can you help? Do you do Bitbucket/git?
0
Hi

Jim 
Global Moderator
 

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

Postby driven » Sun Feb 08, 2015 6:30 pm

Jim wrote:At some point. Can you help? Do you do Bitbucket/git?

git, a bit...

I clone things to my mac, mess about, then panic when it asks if I want to commit changes...
I may still even have css for this one, a 'native' os look...
john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

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

Postby glro » Sun Feb 08, 2015 9:03 pm

Jim wrote:Here is version 2.1.

* Updated to work with Ruby 2 versions of SketchUp (version 14 or later.) Use the original version if you want to use Vismap2 on earlier versions of SketchUp.
* Made a SketchUp Extension to allow enabling/disabling in extension managers.

I am not sure how to handle distribution. I am unable to put it in the Plugins Store under Martin's name. That would make it harder to do further updates. I could post it under my plugins, but not sure if it would cause much confusion.


works perfectly again in SU15

thank you
0

glro 
 

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

Postby Bob James » Mon Feb 09, 2015 12:41 am

Thank you for updating it! Once again, a very useful tool.
0
i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60
User avatar
Bob James 
Premium Member
Premium Member
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: zul6041 and 22 guests

Visit our sponsors: