sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] VisMap - Layer/Scene Visibility Map

    Scheduled Pinned Locked Moved Plugins
    126 Posts 15 Posters 50.3k Views 15 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.
    • M Offline
      MartinRinehart
      last edited by

      The current version now supports about 12k layer/scene intersections.

      Mac issues remain.

      "Monty", (I say to my pet python) "That's the dumbest idea you've ever had."

      "Yeah, hotshot, you got a better idea?"

      Lacking an answer, am now trying Monty's suggestion. You never know.

      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

      1 Reply Last reply Reply Quote 0
      • M Offline
        markozeta
        last edited by

        @martinrinehart said:

        The current version now supports about 12k layer/scene intersections.

        Buggy still, but the problem is in ruby! Here's the console dump on "send to model":

        (eval);259; warning; invalid character syntax; use ?\s
        (eval);259; warning; string literal in condition
        Error; #<LocalJumpError; return from proc-closure>
        (eval);259;in `call'
        

        BSME - Cal Poly Pomona
        Sketchup Pipe Maniac

        1 Reply Last reply Reply Quote 0
        • M Offline
          MartinRinehart
          last edited by

          @markozeta said:

          Buggy still, but ...

          Thanks for the dump. Line 259 is my EOF comment, so I'm not sure what to make of it.

          Are you PC or Mac?

          If it's PC, can you UL or send me a model? (MartinRinehart at Google's mail service).

          Martin

          Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

          1 Reply Last reply Reply Quote 0
          • M Offline
            MartinRinehart
            last edited by

            @markozeta said:

            but the problem is in ruby!

            Actually, it's in Ruby, but not the Ruby I wrote. See this:

            http://groups.google.com/group/sketchupruby/browse_thread/thread/17bff6988f12037b

            Google search is one of the wonders of the world. That said, how to find a workaround?

            Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MartinRinehart
              last edited by

              Thank you, markozeta, for your pipes! (A big model w/lots of scenes and layers, most helpful for finding the Ruby bug workaround.)

              A new version is up. Tested on the PC. Monty, my pet Python, thinks it might work on the Mac, too. Let me know.

              http://www.martinrinehart.com/models/rubies/vismapdoc.html

              Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jsteacy
                last edited by

                Just a heads up, I downloaded the most recent version and got an error hitting the button 'get data from model'

                line 157, char 2, error expected '}', code 0

                which causes nothing to happen after I continue to run the script on the page.

                I haven't read all the posts before this so maybe someone brought it up already but I figured since this was a new version, its a new problem.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  markozeta
                  last edited by

                  New to add to documentation:

                  Only update Vismap with sketchup closed. Updating with sketchup open is bad.

                  Mark

                  BSME - Cal Poly Pomona
                  Sketchup Pipe Maniac

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    markozeta
                    last edited by

                    New version works, even on my bigger model!

                    Now about that alphabetical layer sorting I asked for... πŸ˜„ πŸ˜„ πŸ˜„ πŸ’š πŸŽ‰

                    It helps when I can check vismap with a nice straight diagonal for these large maps, since I can just make sure that it works perfect.

                    xooo
                    oxoo
                    ooxo
                    ooox

                    vs.

                    xooo
                    ooxo
                    oxoo
                    ooox

                    It helps.

                    BSME - Cal Poly Pomona
                    Sketchup Pipe Maniac

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MartinRinehart
                      last edited by

                      @jsteacy said:

                      I downloaded the most recent version and got an error hitting the button 'get data from model'

                      Can you UL a model? I can't reproduce this. Thanks.

                      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MartinRinehart
                        last edited by

                        @markozeta said:

                        New version works, even on my bigger model!

                        Pat yourself on back. You had a major hand in that. Or at least your pipes did.

                        @markozeta said:

                        Now about that alphabetical layer sorting I asked for...

                        Hmmm. Sorting is trivial, of course. Takes a single line to sort an array. Problem is, if you check a box, how do I know which layer that is in the model? Requires some sort of mapping from unsorted to sorted order.

                        As names are unique, I could do a brute force mapping, I suppose. Hmmm.

                        Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                        1 Reply Last reply Reply Quote 0
                        • EdsonE Offline
                          Edson
                          last edited by

                          martin,

                          good news! it works on mac now!

                          although it must be a pain for you to have us always asking for more features, i second bob's request for a scroll bar: in a model with many layers there will be no way to reach the ones at the bottom.

                          THANKS!


                          vismap_1809.png

                          edson mahfuz, architect| porto alegre β€’ brasil
                          http://www.mahfuz.arq.br

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            markozeta
                            last edited by

                            Scroll bars pop up on the PC, but not on the Mac...

                            Interesting. That's pretty - ubergeek. πŸ€“

                            Mark

                            BSME - Cal Poly Pomona
                            Sketchup Pipe Maniac

                            1 Reply Last reply Reply Quote 0
                            • Bob JamesB Offline
                              Bob James
                              last edited by

                              Martin,

                              In addition to sorting, can you put in a scroll bar: I have more layers than can fit in the VisMap dialog box fully extended top to bottom. [MacPro]

                              This is an awesomely useful plugin, but, in addition to the above, I cannot load my large model: there doesn't seem to be a problem with the number of layers, but, apparently, with a large number of layers (as shown in the VisMap for another model) and a large number of scenes (in this case 15: reduced from 20 to see if that would help).

                              Super-super stuff 😍


                              Shows that VisMap can handle many layers, but needs a scroll bar

                              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

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                markozeta
                                last edited by

                                @martinrinehart said:

                                As names are unique

                                Only for Layers! Scenes can have same names...

                                *Hopes his cry of despair reaches the target before ... πŸ‘Š *

                                BSME - Cal Poly Pomona
                                Sketchup Pipe Maniac

                                1 Reply Last reply Reply Quote 0
                                • Bob JamesB Offline
                                  Bob James
                                  last edited by

                                  Thought I'd give it a try on my PC: when I clicked on "Load Model Data" I received the attached error dialog 😞


                                  Script Error.png

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MartinRinehart
                                    last edited by

                                    @bob james said:

                                    Thought I'd give it a try on my PC: when I clicked on "Load Model Data" I received the attached error dialog 😞

                                    Bob, that error reporting is exemplary. It is with some regret that I must inform you that MSIE's error reporting is near useless. Can you UL or email (MartinRinehart at Google's mail service) a model that generates this error?

                                    Mac folks:

                                    Attached is a replacement for .../Plugins/vismap/vismap.rb. It may give you the scrollbars we PC folks have. Let me know.


                                    scrollbars on Mac?

                                    Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                                    1 Reply Last reply Reply Quote 0
                                    • Bob JamesB Offline
                                      Bob James
                                      last edited by

                                      @martinrinehart said:

                                      Mac folks:

                                      Attached is a replacement for .../Plugins/vismap/vismap.rb. It may give you the scrollbars we PC folks have. Let me know.

                                      It works! πŸ‘

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • chrisglasierC Offline
                                        chrisglasier
                                        last edited by

                                        Anyone who has read any of my posts will know that I am very keen on promoting the use of web dialogs and as I see Vismaps a part of this I hope the following critique will be seen in that light:

                                        Notes are based on this screenshot of the plugin Vismap.png

                                        Sketchup windows generally seem pretty tightly designed as small as possible to minimise obstructing the display of the geometry. I think you could beneficially lose the rubies and title in the body.

                                        The idea of the table and scene code numbers is an awkward solution. At least the table should follow the scroll.

                                        I think the option to have layers and scenes in alphabetical/sequential order is important.

                                        In the screenshot you see I have used full screen and yet only display about half of the layers. I usually want to see the effect of turning layers on and off in the current scene using the scene tabs for example to check others. Maybe it is just my intuition and others are better able to visualise the outcome. If you consider making Vismap into a machine would be beneficial I would be happy to help with that.

                                        Chris

                                        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                                        1 Reply Last reply Reply Quote 0
                                        • fredo6F Offline
                                          fredo6
                                          last edited by

                                          Chris,

                                          I agree with your remarks, but then, you don't need a plugin, as it should be enough to show the SU Layers dialog, and click on the scene Tabs to see which layers are visible in the current scene. The Layers SU Window is small, redimensionable, fully interactive and has a table scrolling. Furthermore, it allows to add / remove layers and configure them dynamically. You will miss however the Sorting into alphabetical order!

                                          Alternatively, it is feasible to make Martin's Vismap plugin fully interactive (i.e. no need for Get data / Send data), sorted by alpha order and scrolling horizontally and vertically with freeze panes for first column and table header (which can be displayed vertically). But at the end, it would give the same result as the native solution above.

                                          Fredo

                                          1 Reply Last reply Reply Quote 0
                                          • EdsonE Offline
                                            Edson
                                            last edited by

                                            martin,

                                            i have the scroll bars now. thanks!

                                            edson mahfuz, architect| porto alegre β€’ brasil
                                            http://www.mahfuz.arq.br

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

                                            Advertisement