Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-09 Thread Gaia Clary
After chatting in the developer IRC i ended up creating a wiki page for collecting what sort of data could be added to an improved statistics page (and how such a page should be organised): http://wiki.blender.org/index.php/Dev:Ref/Requests/User_Interface/BlenderStatisticFlyout please comment

[Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Gaia Clary
hi. Blender currently exposes the number of vertices/edges/faces of the current visible scene. If i want to know the number of faces actually used for a single object (after modifiers have been applied!), then currently i have to do this: - move the object to an empty layer - switch to this

Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Campbell Barton
Why do you want this? The problem with API functions is, inlike the text display which is more of a `Useful Hint on Scene info` API calls are expected to be exact data - eg - you can allocate memory based on this info and know your arrays will hold the data - this makes me cautious to add in such

Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Gaia Clary
Am 08.03.2012 16:57, schrieb Campbell Barton: Why do you want this? My special usage scenario is this: When creating content for an online environment (like Second Life) the content creator must be aware of the derived face count of an object as that is a very critical number. But we only need

Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Gaia Clary
this patch seems to do what i propose: http://www.pasteall.org/29834 In object mode it shows the derived facecount and derived vertex count of the selected objects. In edit mode it displays the mesh facecount and the mesh vertex count . When i change the selection in Object mode, the

Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Ton Roosendaal
Hi, Such changes we better not do. This statistic should be a reliable piece of information for the scene. Selection can be drawn next to it, but not instead-of. -Ton- Ton Roosendaal Blender Foundation

Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Sean Olson
This has always bugged me. Pulling the information that I need out of that stats header always feels slower than it should be because you have to visually and mentally play puzzle games to figure out the information that you are after. (Even while righting this I looked at my header and said to

Re: [Bf-committers] proposal: python interface for object statistics ...

2012-03-08 Thread Gaia Clary
So i took another round on this and here is my idea after i have seen Sean's contribution. What about having 3 statistic sets for Scene, Object and Mesh. In Object mode the default is the Scene statistic. In edit mode the default is the Mesh statistic. Here are 3 images how it may look: Scene: