dbcb73c033
Merged changes in the trunk up to revision 28911.
2010-05-21 22:01:47 +00:00
45444ceee3
include game engine docs in sphinx doc generation:
...
bge.events, logic, render & types (others still need work)
Updated http://www.blender.org/documentation/250PythonDoc
2010-05-17 20:38:54 +00:00
cfc351afee
Merged changes in the trunk up to revision 28772.
2010-05-14 21:50:15 +00:00
c598d90899
Sphinx theme from Alex Sytnik (smerch) for API Docs
...
You wouldnt know its not blender.org :D
http://www.blender.org/documentation/250PythonDoc/mathutils.html
from revision 39 of https://svn.blender.org/svnroot/blend-doc/trunk/python/doc
2010-05-14 10:21:57 +00:00
6d8cb93f71
building docs failed when the output directory didnt alredy exist.
2010-05-09 17:18:57 +00:00
8a20433f0f
Merged changes in the trunk up to revision 28600.
2010-05-05 22:57:58 +00:00
914d5e5f62
sphinx doc generation
...
- include default values as well as min/max.
- partial rebuilds, so we dont have to build all docs each time, only the changed files.
2010-05-03 15:52:15 +00:00
dfe2f8dc03
Merged changes in the trunk up to revision 28247.
2010-04-18 02:03:19 +00:00
11fc330f7e
Fix for including docstrings of static methods.
2010-04-13 00:55:37 +00:00
67cfc427ee
PyAPI
...
- added new mathutils.Color() type, use with rna so we can do for eg:
material.diffuse_color.r = 1.0
# also has hsv access
material.diffuse_color.s = 0.6
- made Mathutils and Geometry module names lowercase.
2010-04-11 14:22:27 +00:00
9eb838ce24
bpy.app was writing members more then once.
2010-04-10 19:06:18 +00:00
6e3920e8fa
rna/py/reference doc improvements..
...
- vectors now respect min/max settings.
- keyframing and adding drivers raises an error in an index is set on a non array, keyframing raises an error if it fails.
reference docs...
- added docstrings for remaining python bpy_struct functions
- added fake class for docs, bpy_struct, which is the base class of everything in bpy.types
- improved inherictance references for struct classes, include bpy_struct members.
2010-04-10 18:35:50 +00:00
c3ab6bc509
rna reference docs, list inherited properties and functions at the bottom of each type.
2010-04-09 20:43:58 +00:00
bad41fcff5
- new docstrings for bpy.type.Struct methods & some corrections.
...
- struct.path_to_id() --> path_from_id().
2010-04-06 07:49:10 +00:00
e302f33be7
document bpy.types.Struct methods C methods, currently only keyframe_delete() and keyframe_insert() have useful docstrings.
...
http://www.blender.org/documentation/250PythonDoc/bpy.types.Struct.html?highlight=bpy.types.struct#bpy.types.Struct.keyframe_insert
2010-04-05 22:37:09 +00:00
f85bcac8ae
Added an entry for the documentation of the Freestyle Python API.
...
Also fixed a minor bug in sphinx_doc_gen.py that raised a TypeError
when a C extension function does not have a docstring.
2010-04-05 21:06:32 +00:00
Dalai Felinto
822dcc48cd
bgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw (it draw only for the last overlayed scene)
...
1) glCopyTexImage2D - www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage2D.xml
2) dome post_draw. Now dome mode can also use scene.post_draw. It only runs for the last scene. It's really useful. I'm working on a nice showcase for this (a dome visualizer for the dome mode running with bgl. In the mean time this is a (lame) example of both working together (the buffer is being copied and draw on top of the window):
http://blenderecia.orgfree.com/blender/tmp/dome_bgl_copytex2d.jpg
2010-03-28 10:20:26 +00:00
d55cf90bb6
SVN maintenance.
2010-03-20 23:43:50 +00:00
391cc2d004
merge own commits into render branch into trunk since 27560
...
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-20 16:41:01 +00:00
d975351f51
parts of the Python API are unstable, big discalmer in API docs main page, API Docs title and interactive console banner.
2010-03-01 10:34:54 +00:00
ed7f4f2e3c
make BGL and BLF modile names lowercase
2010-02-28 14:57:26 +00:00
c1cd33e166
examples for autogenerated docs are now implicit and used when available.
...
This means adding the file "bpy.props.py" in the examples dir will automatically be used when generating docs, unused examples give warnings.
2010-02-28 13:45:08 +00:00
fc1cb1670e
include BLF in automated doc generation
...
http://www.blender.org/documentation/250PythonDoc/BLF.html
2010-02-28 11:54:48 +00:00
768f20d537
update for missing docs & dont include operator classes in sphinx docs.
2010-02-16 15:01:34 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
f776303de1
setting invalid vector swizzle attributes (from blender2.4x docs for instance), could crash blender.
...
- disallow setting swizzle's that have duplicate values: vec.xxx = [1,2,3]
- raise an error if the list setting a swizzle's longer.
- mathutils write callback was running on the wrong vector, which could crash blender.
2010-01-31 22:50:07 +00:00
fd3842f3a2
Mathutils doc improvements + other small things
...
- bpy.app moved into PyStructSequence (used by sys.float_info)
- added buildinfo into bpy.app.build_*
- bpy.ui removed (wasnt used)
- include external example files in Mathutils docs (only Mathutils and Vector are currently written)
- added support to auto document PyStructSequence's
- CMake had "'s inside all its strings.
2010-01-31 21:52:26 +00:00
478dc000b3
* Mathutils attributes documented - http://www.blender.org/documentation/250PythonDoc/Mathutils.html
...
* Vector.difference() needed normalized vectors
* bpy.DEUBG -> bpy.app.debug
2010-01-27 21:33:39 +00:00
0a0f4c9d81
Mathutils refactor & include in sphinx generated docs, (TODO, include getset'ers in docs)
...
- Mathutils.MidpointVecs --> vector.lerp(other, fac)
- Mathutils.AngleBetweenVecs --> vector.angle(other)
- Mathutils.ProjectVecs --> vector.project(other)
- Mathutils.DifferenceQuats --> quat.difference(other)
- Mathutils.Slerp --> quat.slerp(other, fac)
- Mathutils.Rand: removed, use pythons random module
- Mathutils.RotationMatrix(angle, size, axis_flag, axis) --> Mathutils.RotationMatrix(angle, size, axis); merge axis & axis_flag args
- Matrix.scalePart --> Matrix.scale_part
- Matrix.translationPart --> Matrix.translation_part
- Matrix.rotationPart --> Matrix.rotation_part
- toMatrix --> to_matrix
- toEuler --> to_euler
- toQuat --> to_quat
- Vector.toTrackQuat --> Vector.to_track_quat
2010-01-25 09:44:04 +00:00
120c72e368
remove deprecated functions
2010-01-24 13:11:43 +00:00
2cfd3b6586
copy of docs from 2.4x for python modules that have been kept
2010-01-24 12:58:38 +00:00