[undoc] Camera info window

[undoc] Camera info window

Postby tbd » Tue Apr 29, 2008 12:05 pm

Code: Select all
Sketchup.send_action 10624

tested in SU 6.4.112

undocumented feature that allows realtime information about the camera position (eye,dir,up) and view size. good when you are playing with camera and need quick debug info.
0
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd 
 

Re: [undoc] Camera info window

Postby ilay7k » Tue Apr 29, 2008 2:22 pm

Thanks for this tip!
0

ilay7k 
 

Re: [undoc] Camera info window

Postby Pixero » Fri May 02, 2008 9:35 am

Great tip!
Question: How do you find these if they're undocumented?
0
User avatar
Pixero 
 

Re: [undoc] Camera info window

Postby tbd » Fri May 02, 2008 9:48 am

Pixero: trade secret :mrgreen:
it is an item from Debug menu - I just made it more easily accessible
0
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd 
 

Re: [undoc] Camera info window

Postby a4chitect » Sat May 03, 2008 4:59 pm

I wonder how many Sketchup.send_action ##### numbers do something useful?!
thanks TBD, keep them coming!
0

a4chitect 
PluginStore Author
PluginStore Author
 

Re: [undoc] Camera info window

Postby tbd » Sat May 03, 2008 5:58 pm

see this post for other send_action numbers
0
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd 
 

Re: [undoc] Camera info window

Postby ilay7k » Sat May 03, 2008 6:39 pm

thanks
----
# 21513: display a tree of the model with selectable items !!!
i can't see anything in outliner...sorry, understand
----
# 21245: display a Polygon Offset Factors dialog box (?)
more flexible offset tool?
0

ilay7k 
 

Re: [undoc] Camera info window

Postby a4chitect » Sat May 03, 2008 8:02 pm

does someone understand this dialog?: Sketchup.send_action 21245
0

a4chitect 
PluginStore Author
PluginStore Author
 

Re: [undoc] Camera info window

Postby tbd » Sat May 03, 2008 10:16 pm

some were undoc in previous version, now are part of toolset
* 21513 is Outliner
* 21406 Fog
...

some don't work anymore
* 21082 Macro

some are development tools
* 21560 and up Bugsplat tests

have fun discovering things. and post the results here
0
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd 
 

Re: [undoc] Camera info window

Postby urgen » Sun May 04, 2008 12:07 pm

TBD wrote:
have fun discovering things. and post the results here

.....ok,let,s discover :D ...use 6.0.515 version
# 21591:?
# 21593:?
# 21597: display import
# 21598: display open
# 21542: display import 2d grafic
# 21599: display import 2d grafic
# 21588: display scenes
# 21581: display scenes
0
--pupil forever...------
User avatar
urgen 
 

Re: [undoc] Camera info window

Postby Pixero » Sun May 04, 2008 6:44 pm

Sketchup.send_action 10627
Sets camera to two point perspective.

Sketchup.send_action 10629
Perspective.

Sketchup.send_action 10630
Parallell projection.
0
User avatar
Pixero 
 

Re: [undoc] Camera info window

Postby thomthom » Wed Apr 01, 2009 12:49 pm

Hey! That window lets you set the Angle of View in the Horizontal plane. Once I've unticked "Fov = H" I can use the Zoom tool and type in an angle and it still affects horizontally. can this be set somewhere in ruby?
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: [undoc] Camera info window

Postby thomthom » Wed Apr 01, 2009 1:05 pm

What's this 2D, with the cx,cy and scale values?
cx and cy seems to offset the camera taking values 0-1. Scale appears to Zoom, less than 0 zooms in, more than zooms out.
But the 2D checkbox and the "2d->3D" button still puzzles me.
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: [undoc] Camera info window

Postby jiminy-billy-bob » Mon Feb 13, 2017 11:50 am

Guys... Guys!
Through this dialog we can now force the near clipping plane! It seems to have been added in SU2017.

OMFG
1
User avatar
jiminy-billy-bob 
PluginStore Author
PluginStore Author
 

Re: [undoc] Camera info window

Postby Pixero » Mon Feb 13, 2017 1:01 pm

Yeah, it's really cool. One has to reset it after use though or there might be issues with other views.
I just wish there was a way of accessing that parameter through ruby for simpler handling.
0
User avatar
Pixero 
 

Re: [undoc] Camera info window

Postby JQL » Mon Feb 13, 2017 2:47 pm

That is cool JBB!

Pixero this values can be saved per scene so you should be able to have several different clipping planes per model, depending on which scene you start from.
0
User avatar
JQL 
Premium Member
Premium Member
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Developers' Forum

Who is online

Users browsing this forum: No registered users and 5 guests

Visit our sponsors: