Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-17Cleanup: pep8Campbell Barton
2015-05-12Doc: add bpy.utils.previewsCampbell Barton
Updated sphinx_doc_gen.py to better handle pure py-classes.
2015-05-12Doc: minor fixesCampbell Barton
- check for class/static methods assumed nonzero args. - subclass references and set-flag items are now sorted. - use 'order' for Py operator mix-ins, so operator settings don't show in random order.
2015-04-10Python API docs, don't hard-code sphinx themesCampbell Barton
also set the theme to classic (as it was for 2.73)
2015-02-01Documentation: Support documenting constructors in class __doc__Sybren A. Stüvel
Python types defined in C can now start their docstring with a `.. class:: TypeName(args)` line, to document their constructor. In that case the documentation writer is responsible for indenting the remainder of the docstring by 3 spaces, matching the generated documentation.
2014-12-29fix for doc generatorCampbell Barton
2014-09-18Cleanup: use static sets where possibleCampbell Barton
2014-09-18Fix for a run-time error in sphinx_doc_gen.py on Windows.Tamito Kajiyama
2014-09-18Fix for missing Freestyle sections in the Blender Python API documentation.Tamito Kajiyama
Freestyle sections of the API docs were empty due to Freestyle module reorganization in commit rB6498b96ce7081db039354228213d72e8c70bd3aa. Module __all__ property was added to submodules so as to properly exclude irrelevant documentation elements such as mathutils.Vector.
2014-09-17Cleanup: pep8Campbell Barton
2014-05-08Add missing context member for doc genCampbell Barton
2014-04-24Code cleanup: unused python vars & importsCampbell Barton
Use frosted rather then pyflakes
2014-01-06Patch D133: Python wrapper for BLI_kdtree (adds mathutils.kdtree)Campbell Barton
Originally by Dan Eicher, with my own fixes and adjustments (see patch page for details). For details there are unit tests and api example usage. doc/python_api/sphinx-in-tmp/menu_id.png
2013-12-06BMesh Py API: add bmesh.geometry.intersect_face_point()Campbell Barton
patch originally by mont29 with some edits.
2013-11-29Python API Docs: update for using git buildinfo and change upload URLCampbell Barton
2013-10-15sphinx docgen wasn't including example scripts for python methods of RNA types.Campbell Barton
2013-09-18fixes for python api docs.Campbell Barton
also move foreach_get/set examples into their own py example files (prefer not to have example code built into blenders binary).
2013-04-29select loose wasn't working very usefully if you only wanted to select loose ↵Campbell Barton
verts, now select loose verts/edges/faces depending on the selection mode.
2013-04-29update sphinx docgenCampbell Barton
was missing context property attributes - context.mode for example. add RNA properties into context docs. also minor updates - exclude freestyle if its not enabled. - add missing context member.
2013-04-19Py API doc generation: add bpy.app.translations module, and fix a few errors ↵Bastien Montagne
found while building the doc. Thanks to Campbell for review.
2013-04-07use lowercase name for freestyle module (as with all other blender modules).Campbell Barton
2013-04-07Missing updates in the doc/ and intern/ folders during the merger in ↵Tamito Kajiyama
revision 55847.
2013-02-20edits to document uploading script so the latest release docs can always be ↵Campbell Barton
found at: http://www.blender.org/documentation/blender_python_api Easier for linking wiki docs.
2013-02-10BGE: Splitting up the bge.types docs so they are not all on the same page. ↵Mitchell Stokes
This should make them much easier to browse.
2013-02-05add python api docstring for 'bpy.types.Operator.bl_property'Campbell Barton
2013-01-16code cleanup:Campbell Barton
- cycles ui used 'cscene' for scene.cycles and scene.cycles_curves - style cleanup
2012-12-29patch [#33609] Syntax highlighting for OSL in Text EditorCampbell Barton
from Patrick Boelens (senshi). with modifications to split it into its own function. also added C style multi-line comment support /* ... */ I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block. For now it simply uses OSL syntax highlighting when the extension is '.osl'.
2012-12-07Add 2 documents to the python api reference.Campbell Barton
- Blender/Python Addon Tutorial: a step by step guide on how to write an addon from scratch - Blender/Python API Reference Usage: examples of how to use the API reference docs Thanks to John Nyquist for editing these docs and giving feedback.
2012-12-05add a message when solidify is used with only-edges, this isn't properly ↵Campbell Barton
supported. also minor edits to py-api-ref -- This line, and those below, will be ignored-- M doc/python_api/sphinx_doc_gen.py M doc/python_api/rst/include__bmesh.rst M source/blender/modifiers/intern/MOD_solidify.c
2012-11-27generate api reference for 'bmesh.ops', restructured text is extracted from ↵Campbell Barton
bmesh_opdefines.c. see: http://www.blender.org/documentation/blender_python_api_2_64_9/bmesh.ops.html
2012-11-14remove ifdef'd bevel code, current bevel works better then the previous code.Campbell Barton
reduce strlen check in texttool_suggest_add() use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists.
2012-11-03remove unneeded string in datatoc.c and correct some of the context types in ↵Campbell Barton
our documentation.
2012-11-03auto-generated py api now shows bpy.context.* items in the 'References' ↵Campbell Barton
section of each type.
2012-10-08style cleanup: pep8Campbell Barton
2012-09-03uncomment data identifiers from sphinx docs (own error made r41509)Campbell Barton
2012-07-30fix for building docsCampbell Barton
2012-06-11updates to context docs and add missing member to node context ↵Campbell Barton
'node_context_dir'.
2012-04-23rename Mesh.uv_loop_layers --> uv_layersCampbell Barton
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-20style cleanup: pep8, also quiet compiler warning.Campbell Barton
2012-03-27bmesh py api:Campbell Barton
added access to deform weights, access to weights acts like a python dict so you can do... print(group in dvert) dvert[group] = 0.5 print(dvert[group]) del dvert[group] print(dvert.items())
2012-03-24style cleanup: pep8, indentationCampbell Barton
2012-03-23rna/python api change: rename Mesh.faces --> tessfaces, since existing ↵Campbell Barton
scripts are using this to modify the mesh and its confusing that the edits are not kept. This also makes it clearer that the faces are for tessellated results only. Added a section on the Gotcha's about upgrading scripts, the pros and cons of MeshTessFace/MeshPoly/BMFace. and spesifically how to upgrade importers and exporters for 2.63+.
2012-03-21bmesh docs:Campbell Barton
- add examples for custom-data access - group BMesh types logically in docs - added missing docstrings needed to add grouping functionality to sphinx for this.
2012-03-21minor changes to sphinx doc generator title formattingCampbell Barton
2012-03-16== Python API docs ==Luca Bonavita
Small fixes (thanks Terry Wallwork for reporting) - adding logger filehandler in main () so that ARGS.output_dir exists, otherwise we get an IOError - the zip was not including files in a container directory
2012-03-16== Python API docs ==Luca Bonavita
Committing a patch similar to revision 44887 with fixes to my own bugs (sorry Campbell, and thanks for reviewing :) Fixes ------ - examples/ svn directory not removed anymore (in-source builds possible again) - fixed "include references somehow stopped working" + using shutils.makearchive() to zip the file New command line options ------------------------ -l: Log the output of the api dump and sphinx|latex warnings and errors If given, save logs in: * OUTPUT_DIR/.bpy.log * OUTPUT_DIR/.sphinx-build.log * OUTPUT_DIR/.sphinx-build_pdf.log * OUTPUT_DIR/.latex_make.log (using only one log directive instead of -l for bpy and -L for sphinx) -P: builds the pdf -R: pack the files in a dir ready for online deployment (including the zip and the pdf eventually) Example usage: ./blender.bin -b -P doc/python_api/sphinx_doc_gen.py -- -p bmesh* -o ./<OUTPUTDIR> -B -P -R -l
2012-03-15revert r44887, changes were OK but caused too many problems, better do this ↵Campbell Barton
as a smaller patch. sphinx_doc_gen.sh broke building docs - - examples/ svn directory was being removed since it assumed an out-of-source build. - include references somehow stopped working (didnt find why). also fixed an unrelated error with building docs in object_utils.py
2012-03-15== Python API docs ==Luca Bonavita
New command line options: -l: logs bpy dumping problems in OUTPUT_DIR/.bpy.log -L: logs sphinx|latex problems in: * OUTPUT_DIR/.sphinx-build.log (sphinx building html problems) * OUTPUT_DIR/.sphinx-build_pdf.log (sphinx building latex problems) * OUTPUT_DIR/.latex_make.log (latex make problems) -P: builds the pdf -R: pack the files in a dir ready for online deployment (including the zip and the pdf eventually) Example usage: ./cmake/bin/blender -b -P ./blender/doc/python_api/sphinx_doc_gen.py -- -p bmesh* -l -o ./python_api -B -P -R -L
2012-03-14bmesh py api: finished todo - editable select_historyCampbell Barton
eg: bm.select_history = vert, face, edge bm.select_history.add(edge)
2012-03-13bmesh py api: more comprehensive intro page, also fix some spelling errors.Campbell Barton