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
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-14attempt to fix build error on msvcCampbell Barton
2010-03-14remove unused includesCampbell Barton
2010-02-28examples for autogenerated docs are now implicit and used when available.Campbell Barton
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-21move include where it's needed and won't break other things.Martin Poirier
2010-02-20Mathutils API: Euler support for rotation order.Campbell Barton
Examples. euler = Euler(1, 2, 3) euler.order = 'ZXY' euler = matrix.to_euler('XZY') Still missing rna support. this still wont give the right order, defaulting to XYZ. eul = object.rotation_euler
2010-02-12correct fsf addressCampbell Barton
2010-02-01Mathutils doc improvements + other small thingsCampbell Barton
- 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-30utility functions is_negative_m3 & is_negative_m4, added python Mathutils ↵Campbell Barton
access Matrix.is_negative renamed Mathutils attribute wrapped -> is_wrapped
2010-01-28* Mathutils attributes documented - ↵Campbell Barton
http://www.blender.org/documentation/250PythonDoc/Mathutils.html * Vector.difference() needed normalized vectors * bpy.DEUBG -> bpy.app.debug
2010-01-25Mathutils refactor & include in sphinx generated docs, (TODO, include ↵Campbell Barton
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-03editbone.transform(matrix) function, requested by Cessen.Campbell Barton
Also added matrix.median_scale attribute to get the average scale from the matrix, use for scaling bone envalopes.
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-08-16- typos in boxpack comments (incorrectly had comment that it was from NAN)Campbell Barton
- removed unused defines STREQ, STREQ2, STREQ3 and MINSIZE
2009-08-152.5: warning fixesBrecht Van Lommel
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
2009-08-10remove python2.x supportCampbell Barton
2009-07-092.5Ton Roosendaal
Monthly cleaning round to make it compile warning free. Mostly it was const stuff (strings, Context), but also a couple useful fixes, like wrong use of temp pointers. Only Mathutils callback struct I left alone... design issue.
2009-06-30Python APICampbell Barton
Mathutils support for subclassing Vector, Quat, Euler and Matrix types. Removed C docstrings, prefer to make sure our epydocs are well maintained rather then duplicate, vague doc strings. Will convert scripts to detect missing docs from the BGE.
2009-06-28PyNumberMethods needed ifdefs for python3.x and some other corrections.Campbell Barton
2009-06-26Made Mathutils use radians rather then degrees. defining USE_MATHUTILS_DEG ↵Campbell Barton
for testing existing scripts. Added conversion for BGE Quaternion WXYZ (Blender/C) -> XYZW (Moto C++). BGE Python API now uses WXYZ following mathutils (break script warning).
2009-06-25PyAPI RNA/BGECampbell Barton
* all mathutils types now have optional callbacks * PyRNA returns mathutils quat and euler types automatically when they have the rotation subtype. * PyRNA, reuse the BPy_StructRNA PyObject rather name making a new one for each function returned. * use more arithb.c functions for Mathutils quaternion type (less inline cruft). * BGE Mathutils integration mostly finished- KX_PyMath now converts to Mathutils types rather then lists. * make all mathutils types share the same header so they can share a number of functions - dealloc, getWrapped, getOwner.
2009-06-23SVN maintenance.Guillermo S. Romero
2009-06-20ObColor wasnt converted into an RNA string.Campbell Barton
Updated Mathutils.Vector/Euler/Quaternion/Matrix so these are types rather then module methods, each type now has a tp_new function, matching python builtins float/int/str. Also cleaned up float conversion and arg passing. Changed buttons_objects.py... if ob in groups.objects: # no longer works if ob.name in groups.objects: # is the new syntax ...its more dict like and a lot faster (avoids python iterating over each item and comparing each, use a single rna lookup instead).
2009-06-18Some generic modules from blender 2.4x building with py3k and mostly working.Campbell Barton
* Mathutils, Geometry, BGL, Mostly working, some //XXX comments for things to fix with py3 python import override (bpy_internal_import.c) so you can import python internal scripts from the BGE and running blender normally.