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

    [Plugin] OnScreen Display UPDATE May 23, 2013

    Scheduled Pinned Locked Moved Plugins
    12 Posts 8 Posters 18.5k Views 8 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by Chris Fullmer

      Description:
      This script shows the cursor location and screen position, and the name of the selected component. If no component is selected, it names what is selected (group, face, edge, 3d polyline, etc)
      (Please note that most of the base functionality of this script was written by Google in their Querry Tool in the Tools>Utilities menu. I've just expanded that script's abilities. Eventually I'll re-write the whole thing if it shows promise).

      Usage:

      • Activate the script in Plugins > Chris Fullmer Tools > OnScreen Display
      • As the curcor moves, notice that the status window (bottom left corner of the screen) is showing the cursor position and other things.
      • There is a tooltip added to the cursor that shows a few things too.
        *MOST IMPORTANTLY: Left Click and hold to get a display in the upper left side of the screen. It shows The Component Instance name (in my workflow that is normally left blank) and the component definition name. That is what shows up most prominently in the component browser. If you select and edge, it says "Edge", "Face" for face, and group, 3dpolyline, etc. Its just trying to tell you what you selected. Also it shows the location of what you selected in relation to the x,y,z origin. It also shows the screen position. Not terribly useful to most people, but something I found interesting. If the text is jumbled together, make your screen larger if possible.

      Plugin in action!

      So how does the script work? Sometimes its hard to see the text. I wanted to have a white box drawn behind it, but I couldn't figure it out. Hopefully later. I could also add the component name to the tooltip and the status bar so you didn't have to click. Any sugestions would be nice.

      0.3.0 2013-23-2013

      • Extension Class Compatibility

      Chris
      681


      clf_onscreen_display_0-3-0.rbz

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        It'd be nice with a screenshot of the plugin in action.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          heeeey.... that thing calculates correctly the area of faces inside nested scaled components! Will have to probe the source code...

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            Oh yes, good idea on the image. Its now been added. Hope you figure out your transformations and scale stuff.

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • H Offline
              Heven7_floor
              last edited by

              Thanks chris πŸ‘ this script is usefullness for user interface , and I though that it is good way for learning to develop SU more efficiency πŸŽ‰

              1 Reply Last reply Reply Quote 0
              • JClementsJ Offline
                JClements
                last edited by

                Chris:

                Since more and more models in my work are geolocated, do you you think that the script could toggle the mode so the true elevation using the geolocation info (that is the elevation to sea level rather that to the model's origin) could be displayed?

                Also, not sure how practical it would be or if it is possible but it might be a good exercise see if the latitude and longitude could be displayed as another option.

                John


                Mt Hood.skp

                John | Illustrator | Beaverton, Oregon

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  Yeah, I totally agree John. That has been a nig frustration for me when working with geolocated terrains and its often inpossible to know what the lat/long coordinates are on the terrain, there by making it really hard to know where on earth to put stuff on the model. So I'll look into that and see if I can get it working.

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pout
                    last edited by

                    Hey Chris,

                    Thanks, this script gave me some ideas.
                    Do you know if you can set the font and/or height of the text in a note?

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      emfemsem
                      last edited by

                      Thanks Chris,
                      Can you get the measurement and display them too? For example, some local architects can "translate" metter (or other suported units by sketchup) to their traditional units?

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        Yeah, that is possible. I have not looked at this script since I released it. Let me look it over and I can add imperial and metric display support.

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • guanjinG Offline
                          guanjin
                          last edited by

                          Auto-activation plug-ins, or selective, not every time to activate?

                          I come from China, is to learn

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            rubenamaroh
                            last edited by

                            Hey Chris is there any way to display count components when select them too?

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

                            Advertisement