[Plugin] OnScreen Display UPDATE May 23, 2013
-
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.
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
-
It'd be nice with a screenshot of the plugin in action.
-
heeeey.... that thing calculates correctly the area of faces inside nested scaled components! Will have to probe the source code...
-
Oh yes, good idea on the image. Its now been added. Hope you figure out your transformations and scale stuff.
Chris
-
Thanks chris this script is usefullness for user interface , and I though that it is good way for learning to develop SU more efficiency
-
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
-
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
-
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? -
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? -
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
-
Auto-activation plug-ins, or selective, not every time to activate?
-
Hey Chris is there any way to display count components when select them too?
Advertisement