• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

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

Scheduled Pinned Locked Moved Plugins
41 Posts 21 Posters 28.3k Views 21 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    Howard leslie
    last edited by 29 Oct 2009, 15:59

    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'

    1 Reply Last reply Reply Quote 0
    • M Offline
      MartinRinehart
      last edited by 29 Oct 2009, 16:34

      @unknownuser said:

      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.

      1 Reply Last reply Reply Quote 0
      • K Offline
        ktkoh
        last edited by 30 Oct 2009, 12:45

        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

        1 Reply Last reply Reply Quote 0
        • M Offline
          MartinRinehart
          last edited by 30 Oct 2009, 19:26

          @ktkoh said:

          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.

          1 Reply Last reply Reply Quote 0
          • P Offline
            Panga
            last edited by 30 Oct 2009, 19:38

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

            1 Reply Last reply Reply Quote 0
            • M Offline
              MartinRinehart
              last edited by 30 Oct 2009, 19:51

              @panga said:

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

              
              
                		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.

              1 Reply Last reply Reply Quote 0
              • P Offline
                Panga
                last edited by 31 Oct 2009, 12:48

                Thanks πŸ˜‰ . It works perfectly !! I'll give you more feedback soon.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ecuadorian
                  last edited by 31 Oct 2009, 21:54

                  Thank you, Martin. There have been some situations when I get lost among my layers/scenes, so this will be useful. πŸ‘

                  -Miguel Lescano
                  Subscribe to my house plans YouTube channel! (30K+ subs)

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Ecuadorian
                    last edited by 13 Nov 2009, 03:47

                    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. πŸ‘

                    -Miguel Lescano
                    Subscribe to my house plans YouTube channel! (30K+ subs)

                    1 Reply Last reply Reply Quote 0
                    • bagateloB Offline
                      bagatelo
                      last edited by 19 Mar 2011, 01:42

                      I think this is not working in SU8. 😒

                      While the cat's away, the mice will play

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bizmen
                        last edited by 23 Mar 2011, 02:52

                        @bagatelo said:

                        I think this is not working in SU8. 😒

                        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 πŸŽ‰ πŸŽ‰ πŸŽ‰

                        1 Reply Last reply Reply Quote 0
                        • bagateloB Offline
                          bagatelo
                          last edited by 23 Mar 2011, 12:14

                          not working to me....

                          While the cat's away, the mice will play

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            small08
                            last edited by 23 Mar 2011, 20:39

                            Love organization and simplicity! Thanks Martin

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              function
                              last edited by 24 Mar 2011, 00:07

                              It's not working.
                              (worst first post ever)

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                function
                                last edited by 24 Mar 2011, 07:04

                                😲 to be more helpful - πŸ˜’ 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 πŸ‘

                                1 Reply Last reply Reply Quote 0
                                • boofredlayB Offline
                                  boofredlay
                                  last edited by 23 Sept 2011, 14:06

                                  Martin, I get this error when trying to run VisMap 2.
                                  The file has 44 layers and 40 scenes.


                                  ScriptError.jpg

                                  http://www.coroflot.com/boofredlay

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    smb5823
                                    last edited by 27 Nov 2011, 22:32

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

                                    1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      haynesc
                                      last edited by 31 May 2012, 12:22

                                      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 ?

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        haynesc
                                        last edited by 31 May 2012, 12:32

                                        ok im now getting this message:

                                        Error Loading File vismap2_menu.rb
                                        can't convert nil into String

                                        1 Reply Last reply Reply Quote 0
                                        • josephkim626J Offline
                                          josephkim626
                                          last edited by 9 Dec 2014, 08:46

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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement