blender/doc/python_api/examples
Lukas Toenne 4638e5f99a Merge of the PyNodes branch (aka "custom nodes") into trunk.
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements.

=== Dynamic node type registration ===
Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes.

Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2].

=== Node group improvements ===
Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3].

The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there.

[1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes
[2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender
[3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-18 16:34:57 +00:00
..
aud.py Fix for [#28792] Invalid 'aud' documentation examples. 2011-10-02 18:00:06 +00:00
bge.constraints.py rst bge touch ups: making the title of the examples slightly more noticeable 2012-01-23 19:53:23 +00:00
bge.texture.1.py rst bge touch ups: making the title of the examples slightly more noticeable 2012-01-23 19:53:23 +00:00
bge.texture.py rst bge touch ups: making the title of the examples slightly more noticeable 2012-01-23 19:53:23 +00:00
blf.py pep8 cleanup, also print message when attempting to run in animation player mode. 2011-07-29 01:24:03 +00:00
bmesh.ops.1.py add bmesh.free() to example & template 2012-12-01 07:16:08 +00:00
bpy.app.handlers.1.py cmake & pep8 tidy up, also some style edits. 2011-11-08 01:32:34 +00:00
bpy.app.handlers.py cmake & pep8 tidy up, also some style edits. 2011-11-08 01:32:34 +00:00
bpy.data.py optparse module is deprecated, use new argparse module in background job template. 2011-03-26 03:42:59 +00:00
bpy.ops.1.py document calling operators with undo enabled. 2012-06-28 08:17:28 +00:00
bpy.ops.2.py code cleanup: assign mode to a variable in the 3d view header and remove some unused imports 2012-07-29 14:07:57 +00:00
bpy.ops.3.py style cleanup 2012-06-19 22:17:19 +00:00
bpy.ops.py document calling operators with undo enabled. 2012-06-28 08:17:28 +00:00
bpy.props.1.py examples for bpy.props 2011-02-18 14:27:18 +00:00
bpy.props.2.py - background job style cleanup. 2011-04-10 15:24:05 +00:00
bpy.props.3.py add NDEBUG to scons release flags + some pep8 cleanup for examples. 2011-02-25 16:19:50 +00:00
bpy.props.4.py pep8 compliance 2011-06-21 17:17:51 +00:00
bpy.props.5.py code cleanup: 2013-01-15 23:17:45 +00:00
bpy.props.py examples for bpy.props 2011-02-18 14:27:18 +00:00
bpy.types.AddonPreferences.1.py code cleanup: use BMW_begin insode for loops body. 2013-01-14 09:53:56 +00:00
bpy.types.BlendDataLibraries.load.py picky style edits with screen/view/drawing, also remove own bad example doc. 2011-08-25 15:49:52 +00:00
bpy.types.bpy_struct.keyframe_insert.1.py can't include titles in function examples. 2011-04-08 05:03:02 +00:00
bpy.types.bpy_struct.keyframe_insert.py can't include titles in function examples. 2011-04-08 05:03:02 +00:00
bpy.types.ID.user_clear.1.py - include enum names and descriptions in sphinx generated documentation 2011-09-15 16:15:24 +00:00
bpy.types.Menu.1.py remove *.select_inverse operators where the *.select_all operator has an invert option. 2012-01-14 06:58:03 +00:00
bpy.types.Menu.2.py add NDEBUG to scons release flags + some pep8 cleanup for examples. 2011-02-25 16:19:50 +00:00
bpy.types.Menu.py remove *.select_inverse operators where the *.select_all operator has an invert option. 2012-01-14 06:58:03 +00:00
bpy.types.Mesh.py style cleanup 2012-06-25 07:24:48 +00:00
bpy.types.NodeTree.py Merge of the PyNodes branch (aka "custom nodes") into trunk. 2013-03-18 16:34:57 +00:00
bpy.types.Object.py code cleanup: includes, also correct some py example typos 2012-06-16 20:20:07 +00:00
bpy.types.Operator.1.py spelling corrections. 2011-04-29 04:43:36 +00:00
bpy.types.Operator.2.py add sphinx api reference note that menu's layout.operator_context defaults to EXEC_REGION_WIN rather then INVOKE_DEFAULT. 2011-03-17 22:49:46 +00:00
bpy.types.Operator.3.py examples for bpy.props 2011-02-18 14:27:18 +00:00
bpy.types.Operator.4.py * Fix small bug in Python operator example; improved example of modal operator 2012-10-12 18:19:39 +00:00
bpy.types.Operator.5.py * Fix small bug in Python operator example; improved example of modal operator 2012-10-12 18:19:39 +00:00
bpy.types.Operator.py fix for misc py errors + some pep8 edits. 2011-09-08 05:42:44 +00:00
bpy.types.Panel.1.py code cleanup: includes, also correct some py example typos 2012-06-16 20:20:07 +00:00
bpy.types.Panel.2.py add NDEBUG to scons release flags + some pep8 cleanup for examples. 2011-02-25 16:19:50 +00:00
bpy.types.Panel.py SVN maintenance. 2011-02-18 19:33:19 +00:00
bpy.types.PropertyGroup.py correct example 2011-02-22 04:42:21 +00:00
bpy.types.RenderEngine.py fix for example 2011-07-07 21:14:36 +00:00
bpy.types.UIList.py Fix uilists showing data names translated (reported on bf-translations ML by Satoshi Yamasaki aka yamyam, thanks!). 2013-02-08 16:01:21 +00:00
mathutils.Color.py docs / clenup (no functional code changes) 2011-10-17 02:20:53 +00:00
mathutils.Euler.py docs / clenup (no functional code changes) 2011-10-17 02:20:53 +00:00
mathutils.Matrix.py docs / clenup (no functional code changes) 2011-10-17 02:20:53 +00:00
mathutils.py [#26768] 2.57 - sys.path not initialized properly 2011-04-04 05:47:04 +00:00
mathutils.Quaternion.py docs / clenup (no functional code changes) 2011-10-17 02:20:53 +00:00
mathutils.Vector.py py api: 2011-07-26 07:39:00 +00:00