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
2009-09-28- removed 2.4x release/scriptsCampbell Barton
- moved release/io and release/ui into release/scripts/io, ui - updated scons, cmake, make When porting 2.4x scripts back, use a command like this so as not to loose the commit history... svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/raw_import.py release/scripts/io/import_raw.py
2009-05-22Removed use of CrossVecs, DotVecs, CrossQuats and DotQuatsCampbell Barton
for all scripts except import_dxf and colladaImEx/translator.py
2008-12-14bugfix in pickMeshRayFaceWeight() in bpymodules/BPyMesh.pyRemigiusz Fiedler
2007-08-12left a print in and didnt account for no vgroups BPyMesh also had an error ↵Campbell Barton
when meshWeight2List was called on a mesh with no vgroups
2007-04-28Draw.c - error setting the callback button values when using UIBlock (was ↵Campbell Barton
not offset) BPyMesh.py - own dumb error, was using dir as an arg (which is a py keyword) object_drop.py - new script, the first to use UIBlock, it drops objects into terrain, either a group or the active object. on teh Z axis or view axis.
2007-04-18PyAPI.Campbell Barton
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module. currently we have bpy.library bpy.config and bpy.data
2007-04-08Adding a 'solid wire' script.Campbell Barton
http://members.optusnet.com.au/cjbarton/teapot.jpg
2007-04-07appending libdata no longer breaks all external references.Campbell Barton
Existing data is flagged with LIB_APPEND_TAG and all_local only has an option to only operate on un-flagged data. If you append an object thats linked to a material alredy linked in your scene, the material will not be made local. So at worst youll need to make local some of the datablocks. This is fairly simple and though my tests show it to work, do some tests on your own libraries before assuming its problem free. scripttemplate_mesh_edit wasnt updated with PyAPI changes and moved some functions into generic places.
2007-03-26py apiCampbell Barton
* stopped bpy from importing automaticaly as decieded in the meeting. * removed Blender.Main, since we agree it will be called bpy, renamed files also. * updated epydocs from this and last commit. * updated scripts to use bpy.*, and bugfix's for widgetwizard
2007-02-22Updating own scripts to use Blender.Main, remove Base files.Campbell Barton
2007-02-01fixed nieve use of type()..Campbell Barton
type(foo) == type(list()) can be done as type(foo) == list:
2007-01-29removed copy_facedata_multilayer from BPyMesh since it changes the selection ↵Campbell Barton
and flips the faces (needed for solidify) but not for general purpose use.
2007-01-29fixed own bug indroduced when switching to use f.edge_keysCampbell Barton
MultiUV/Color support - all layers are copied to new faces. as well as hole filling faces.
2007-01-11tested export scripts with a large scene and resolved errors that came up as ↵Campbell Barton
well as some speedups- mostly problems with lightwave_export
2007-01-09ply export patch 5576 applied with parts rewritten.Campbell Barton
BPyMesh getMeshFromObject bugfix in some cases non mesh object types could be a problem.
2006-12-28Mech cleanup use new edge_keysCampbell Barton
continual script stuff, minor stuff.. fix for bad return in group. Added back group.objects.append/remove but print deprectaed warning. also some epydoc changes.
2006-12-27Added a function to BPyMesh - getFaceLoopEdges(faces, seams=[])Campbell Barton
returns all face loops as a list of their edge keys Used this in uvcalc_follow_active_coords to speed it from 5.53sec to 0.098 on a 1000 face mesh.
2006-12-27weightpaint_clean, option to clean all vgroupsCampbell Barton
weightpaint_envelope_assign - can update active vgroup only weightpaint_normalize - fixups BKE_plugin_types - made the max length 32 ratehr then 16 so you can fill the text space in pupBlock
2006-12-17Use ed.key and face.edge_keys to build connectivity data faster.Campbell Barton
2006-12-14new Uv-Calculation tool,Campbell Barton
Click project, a nifty 3 click way to use a face to set a projection aurientation and then 2 more clicks for the U and V scales with realtime updating as you move the mouse should be faster then using view project all the time because you dont have to line the view up with the faces.
2006-12-12added many checks to uvcopy so it dosnt raise errors.Campbell Barton
Minor changes to radiosity_export, updated to work with the new API (vertexColors MTFace) obdatacopier - was getting the selection but not using it. made it ignore some read only properties. BPyMesh - minor change: use face iterator rather then making a tuple()
2006-11-13made mesh.getFromObject() accept a python object as well as the object name.Campbell Barton
accepting the name only was causing big problems when exporting library data, because duplicate names are possible the wrong data was exporting.
2006-11-10new image names were being created with 2 ..'sCampbell Barton
added a function to BPyMesh.py to get faces in linked groups (like split by loose parts) - but returns lists of faces only.
2006-09-07removed inverted and normalized from py scriptsCampbell Barton
2006-08-15fixed a problem with UV coords and vert col's when reducing the mesh.Campbell Barton
2006-08-02Made this script test 4 different collapse locations and use the one that ↵Campbell Barton
results in the least error. locations are: smart, middle, v1, and v2 where smart is an attempt to generate a loc that will collapse without loosing volume. This can now collapse a subdivided cube properly.
2006-07-27updated py scripts for changes in mathutilsCampbell Barton
2006-07-26removed the now unneeded resize4d operation for instant 2.43 incompatability. :/Campbell Barton
2006-07-09clicking on the second point of the gradient outside the mesh should have ↵Campbell Barton
blended to alpha zero, but was raising an error, fixed.
2006-07-08vertexpaint_selfshadow_ao adds face uv to the mesh if there not alredy there...Campbell Barton
added GPL header and docstrings to other scripts removed double batch_name_edit, same file is object_batch_name_edit
2006-07-07added list2MeshWeight and meshWeight2List - faster then the dict equivilents ↵Campbell Barton
and better in some cases. Speedup for bpymesh_redux (poly reducer) with reducing vertex weights. use list2MeshWeight and meshWeight2List. renamed vertex gradient files Removed reload()'s - 3ds_import.py - mesh_cleanup.py - mesh_poly_reduce.py - vertexpaint_selfshadow_ao.py
2006-07-04more updates, mostly 2.3 error checking, nice messages when pythons not ↵Campbell Barton
installed and some nendo import optimizations. BPyMesh will work with the exception of the redux function in py2.3
2006-07-03BPyMesh getMeshFromObject was failing to copy the vert weights because is a ↵Campbell Barton
dumb mistage within a try - Thanks lightbringer for finding the error
2006-07-03Update to ply export, give nice messages to the user rather then throwing ↵Campbell Barton
errors at the user. Export mesh data with modifiers and objects matrix applied. export not only mesh data but text, nurbs etc (thanks to BPYMesh getMeshFromObject) Small updates to ply import, dont set the TEX of a face (no pink faces anymore)
2006-07-03added python 2.3 set importer for BPyMesh_reduxCampbell Barton
made ngon loop-reduce function faster by replacing dicts with sets off_export has some errors, modernized the script. added a python 2.3 reversed compat function - just uses ls[::-1] Further 2.3 compat testing needed.
2006-07-03Made geometrys polyfill work with all iterators (not just lists) and updated ↵Campbell Barton
bpymeshes ngon to ignore polylines with <3 verts.
2006-07-02finish adding Geometry module, removed polyfill from mathutils, updated ↵Campbell Barton
epydoc links and updated BPyMesh NGon function
2006-07-02More fixes to lightwave ngon filling, fallback to fan fill- ngon function ↵Campbell Barton
has working optimized loop detection, uses PolyFill function. LWO cheats by having multiply poly lines in 1, by doubling back on the line. BPyMeshes NGON function splits this into multiple NGons so PolyFill can fill properly. Tested with 1711 LWO files - (2 had unreadable faces) 77meg and 103 OBJ files- all worked.
2006-07-02Further tweaking to the scanfill stuffCampbell Barton
2006-06-30Made BPyMesh's ngon a lot better- handels polylines that loop back on ↵Campbell Barton
themselves, vert length edges and removes doubles (also slower :/ ) Lightwave importer uses this and also makes FGons from imported ngons.
2006-06-30NGon fan fill fallback had an error in the indicies it returned.Campbell Barton
Further changes need to be added but theres a bug in Blender that prevents the NGon function from working. https://projects.blender.org/tracker/index.php?func=detail&aid=4544&group_id=9&atid=125 Lightwave major update by Alessandro Pirovano (uaraus) intergrated with my changes. Tested with ~ 500 models to import without throwing an error. Added subsurf back, image loading fixes and removed meshtools dependancy
2006-06-29Made lightwave import work with images by removing internal image loading ↵Campbell Barton
wrapper and use BPyImage.comprehensiveImageLoad Sped up with LC's for vert loading. tried to removing meshtools as a dependancy, but cant do that everywhere.
2006-06-19Made 3ds import remove 0,0,0 dummy vert (Thanks Ken)Campbell Barton
removed set() from BpyMesh and added some uv utility functions.
2006-06-16Updated this script and added some functions, this wont effect eny existing ↵Campbell Barton
python tools. added functions pickMeshRayFace(me, orig, dir): pickMeshGroupWeight(me, act_group, orig, dir): pickMeshGroupVCol(me, orig, dir): facePlanerIslands(me): edgeFaceUserCount(me, faces= None):
2006-06-07use f.area where possible over python function and use len(mface) over ↵Campbell Barton
len(mface.v)
2006-05-28Added a 2d convex hull function to BPyMathutilsCampbell Barton
Added a 2D Line intersection function Added a function to BPyMesh that gets the mesh space vertex location of a Faces UV Pixel.
2006-05-27Poly reduction fixesCampbell Barton
Added remove doubles as a keyword option, Fixed Triangulate (need to select the faces first) Fixed boundry weighting (defaults reduced boundries first more then non boundry verts!) Made face area weighting give better results.
2006-05-21optional reuse list for meshCalcNormals, which makes decimation abt 5% faster.Campbell Barton
Workaround for a problem where badly predicted positions are further then half the edge length, on these cases just collapse to the weighted middle of teh edge. Added docs for "PolyReduce" (Uses BPyMesh_Redux) and WIP Docs for AutoTex Layout. http://mediawiki.blender.org/index.php/Manual/PartXIII/Modelling_Scripts
2006-05-18Fixed some evil bugs in the poly reducer messing up UV's every now and then.Campbell Barton
Added support for "Weighted Collapse" Before an edge could only collapse into its middle, Now the edge collapses into a point bias'd by the 2 verts Concave/Convec "Pointyness" value as well as boundry weighting. This works much better for boundry verts. - UV's Vcols and Weights are correctly interpolated into the new location. Added a tool in the mesh menu for accessing the poly reduction tool.
2006-05-15BPyRegistry was throwing errors with blank config files. made it check for ↵Campbell Barton
this and be quiet. fixed some bugs in BPyMesh_redux, tweaked to work well for test cases. much better use of error levels for edge weighting. better collapsing to the desired target. triangulates before reduction be default now.