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
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-05-01bmesh py api:Campbell Barton
add mtexpoly image access
2012-04-30bmesh - python apiCampbell Barton
- bm.*.layers.*.verify() - bm.*.layers.*.is_singleton - bm.*.layers.*.copy_from(other) also added api functons - BM_data_layer_copy(...) - CustomData_layertype_is_singleton(type)
2012-04-30- improve select grouped prefix/suffix from recent patchCampbell Barton
- added select similar direction (Y axis)
2012-04-26fix [#31113] bmesh.types.BMLayerCollection getter calculate key indices ↵Campbell Barton
wrong (own fault) also add check so layer.name won't crash incase the layer becomes invalid.
2012-04-23corrections from an article about using PVS-Studio static checker with ↵Campbell Barton
blender - http://www.viva64.com/en/b/0145/
2012-04-23bmesh py api: functions to add/renmove customdata layers, eg.Campbell Barton
bm.loops.layers.color.new("Testing")
2012-04-23code cleanup: change C naming convention (so py and C api match), eg:Campbell Barton
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-22bmesh py api: expose BM_face_split_n() to the python api;Campbell Barton
face_fill(..., coords=(v1, v2, ...)) This is the same function the knife tool uses. should be handy for dicing up geometry in py.
2012-04-20bmesh py api: remove bmesh.loops.index_update(), it wasn't working, as joe ↵Campbell Barton
noticed.
2012-04-19bmesh py api: expose BMVert.calc_shell_factor()Campbell Barton
2012-04-19code cleanup: remove unused BMesh args.Campbell Barton
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-19bmesh api function: BM_edge_face_tangent()Campbell Barton
was used by inset but make into an api function since scripts can use this too.
2012-04-15add 'idprop' module so we can document idprop.types.*, currently doc ↵Campbell Barton
generator has no access to ID Property types.
2012-04-15make ngon_perimeter into a public api function and expose to python.Campbell Barton
2012-04-07code cleanup: no functional changesCampbell Barton
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions.
2012-04-04add option not to delete edges/verts when joining faces, needed so we can ↵Campbell Barton
loop over edges and join them without having to check if they have been removed.
2012-03-31code cleanup: use uppercase defines and change drawFCurveFade into static ↵Campbell Barton
function.
2012-03-29added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits.Campbell Barton
also add py api BMDeformVert.clear()
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-27style cleanup: py apiCampbell Barton
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-22bmesh py api:Campbell Barton
added BMFace.material_index
2012-03-22code cleanup: remove BMesh * args from query functions which don't need itCampbell Barton
2012-03-21style cleanup: bmeshCampbell Barton
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-20style cleanupCampbell Barton
2012-03-20style cleanup: minor change to bmesh py repr + comment on loop radial ↵Campbell Barton
next/prev to avoid confusion.
2012-03-18spelling cleanupCampbell Barton
2012-03-18bmesh py api:Campbell Barton
use different types for bm.verts.layers, bm.faces.layers, otherwise the layers look to have customdata type that isnt compatible, UV's on edges for eg.
2012-03-18swap BMLoopCol r/b color, requires subversion bump.Campbell Barton
old mesh MCol 'r' was blue, 'b' was red, but theres no reason to keep this for bmesh with MLoopCol. Loading old files works, saving legacy format works too. What wont work is loading a file after this revision and loading it in an older revision since the bmesh merge. (it wont crash but the blue and red will be swapped on vertex color layers).
2012-03-17bmesh py api:Campbell Barton
access to MLoopCol as mathutils.Color type
2012-03-17bmesh py api:Campbell Barton
added per loop UV layer access
2012-03-17bmesh py api:Campbell Barton
split up BMElemSeq into BMVertSeq, BMEdgeSeq, BMFaceSeq and BMLoopSeq Was becoming cumbersome since each needed their own new() function, and other methods only worked for some of these types. Added BMesh.loops - since you cant iterate over loops this is for customdata access only.
2012-03-17style cleanup: py/capiCampbell Barton
2012-03-16bmesh py api:Campbell Barton
initial support for editing bmesh customdata per vert/edge/face/loop shapes, crease, bevel weights working, missing UVs and Vertex Colors still.
2012-03-16bmesh py api:Campbell Barton
Wrap customdata, so far you can access the data layers in a pythonic way but not manipulate the customdata yet. provides dictionary like access to customdata layers, eg: texpoly = bm.faces.tex["UVMap"] print(bm.verts.shape.keys()) # un-intended pun, keys() works on all layers. print("MyInt" in bm.edges.int) # __contains__ layer = bm.faces.get("CheckForLayer")
2012-03-15missed these last commitCampbell Barton
2012-03-15prepare for adding bmesh py api for customdata layer access - no functional ↵Campbell Barton
changes.
2012-03-14mathutils py api:Campbell Barton
Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit.
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-14documentation edit to address bmesh py api bug [#30453]Campbell Barton
warn when addons are not found when running cmake.
2012-03-13bmesh py api: more comprehensive intro page, also fix some spelling errors.Campbell Barton
2012-03-13bmesh python api:Campbell Barton
BMesh.select_history.remove/clear/validate functions.
2012-03-11remove Object member from BMesh struct - was only used for undo and ↵Campbell Barton
BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-11bmesh python api additions:Campbell Barton
- BMesh.is_wrapped - BMesh.copy() - BMesh.clear() - BMesh.free() - BMesh.from_object(obj, apply_modifiers=True) - BMEdge.calc_length() - BMLoop.calc_normal() - BMLoop.calc_tangent()
2012-03-11bmesh py api - correct class references in docs and rename mesh conversion ↵Campbell Barton
funcs to ne less confusing.
2012-03-11bmesh py api: change .from_mesh() / .to_mesh() to be class methods of BMesh ↵Campbell Barton
rather than functions in the module. added example script which converts a mesh to a bmesh, edits and converts back again.