[Plugin] OnScreen Display UPDATE May 23, 2013

[Plugin] OnScreen Display UPDATE May 23, 2013

Postby Chris Fullmer » Fri Feb 20, 2009 11:06 am

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.

onscreen image.jpg


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
0
Last edited by Chris Fullmer on Thu May 23, 2013 11:12 pm, edited 3 times in total.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] OnScreen Display

Postby thomthom » Fri Feb 20, 2009 11:30 am

It'd be nice with a screenshot of the plugin in action.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] OnScreen Display

Postby thomthom » Fri Feb 20, 2009 11:34 am

heeeey.... that thing calculates correctly the area of faces inside nested scaled components! Will have to probe the source code...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] OnScreen Display

Postby Chris Fullmer » Fri Feb 20, 2009 12:01 pm

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

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] OnScreen Display

Postby Heven7_floor » Tue Feb 24, 2009 3:32 pm

Thanks chris :thumb: this script is usefullness for user interface , and I though that it is good way for learning to develop SU more efficiency :bounce:
0

Heven7_floor 
 

Re: [Plugin] OnScreen Display

Postby JClements » Tue Feb 24, 2009 8:17 pm

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
0
John
Illustrator
Beaverton, Oregon
User avatar
JClements 
Premium Member
Premium Member
 

Re: [Plugin] OnScreen Display

Postby Chris Fullmer » Tue Feb 24, 2009 11:32 pm

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
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] OnScreen Display

Postby Pout » Mon Mar 02, 2009 12:24 pm

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

Pout 
 

Re: [Plugin] OnScreen Display (Updated March 10th, 2009)

Postby emfemsem » Mon Aug 10, 2009 5:20 pm

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

emfemsem 
 

Re: [Plugin] OnScreen Display (Updated March 10th, 2009)

Postby Chris Fullmer » Mon Aug 10, 2009 5:45 pm

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
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] OnScreen Display (Updated March 10th, 2009)

Postby guanjin » Wed May 16, 2012 6:54 am

Auto-activation plug-ins, or selective, not every time to activate?
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] OnScreen Display UPDATE May 23, 2013

Postby rubenamaroh » Fri May 08, 2015 7:14 am

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

rubenamaroh 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: raphaelbelt and 7 guests

Visit our sponsors: