Select face/edge/vertex by index. Dumps some info to the console. Useful to find problems with other addons giving index of problematic face/edge/vertex.
Works with Blender 2.62 (non-BMesh) and 2.63rc1 (BMesh) now. However, in 2.63 it is about 10-20 times slower, because accessing the UV-Mapping is much slower. Will look into this later.
Since code has been improved you should also update if you are only using Blender 2.62.
Because I had the need here I present to you my newest Blender Addon:
Copy Vertex Order By UVs
I did not continue the project after I started refactoring. The reason is that the code is getting much more complex than the previous version (basically 3 classes and 1 helper class). And since there did not seem to be much interest, I did cooler things first.
I will finish the upcoming version if I need the code myself, this can take a while.
I have uploaded the last working version before I started refactoring (built with vs2010, qt4.7.2): current release can always be found here:
Note that the upcoming version will be different, with a bloat of classes. Because I want to be able to use QWidges and QGraphicsItems the inheritance tree of QT forces me to separate things into many different classes. This previous version is not cleaned up, some messy code, but it works well.
Note: Look at ExampleApp, the example nodes are defined in mainwindow.h! Check that to see how it works.
However, you maybe have to adapt the build process. I did a quick test build with qmake and nmake on command line, seems to work. In VS2010 the includes in debug seem messed up (that version is one commit after restructuring dirs). The new version will use CMake.
Ever needed a node editor for QT with the following features?
- Simple and flexible
- Style with CSS
- Automatic connection path handling that still handles the basic cases nicely
- Provide signals and slots where useful
I already created one for an earlier QT version (4.5.2), but at that time QTs QGraphicsProxyWidget just sucked at proxying top-level QWidgets. Had to override many methods just to call the right super class, and many features of QWidget just did not work without ugly hacks. I today started updating it (ripping out the hacks, refactoring, bugfixing). But I’m sill having some issues with QGraphicsProxyWidget :(
So stay tuned for MIT licensed QTNodeEditor. Here some eyecandy: