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
2006-07-03Lots of scripts are using Object.Get() where ↵Campbell Barton
Scene.GetCurrent().getChildren() is what is needed. When through and replaced the obvious ones but there are still a a few Id rather not touch without more about whats going on. Did quite a few changes to export-iv also.
2006-07-03Modernized radiosity i/o - better errors, optimized with LC's modifiers and ↵Campbell Barton
matricies applied.
2006-07-03remove this mesh cleaning function, have alredy added a new Mesh based one ↵Campbell Barton
(as opposed to NMesh).
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-02Scripts:Willian Padovani Germano
- Jean-Michel Soler (thanks!) pointed that the 3ds importer was missing license info. Added a GPL license block copied from the 3ds exporter by the same author.
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-27bugfix 4501Campbell Barton
changed maximum length of the text entry to 399 to conform with Blenders limit.
2006-06-26removed numerious spelling mistakesCampbell Barton
2006-06-26removing this script because editmode select group replaces it.Campbell Barton
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-18Scripts:Willian Padovani Germano
- Jean-Michel Soler updated the svg to obj module used by Paths Importer (thanks!) - user request: added option to control whether user prefers per face (uv face select "TwoSided" toggle) or per mesh ("Double Sided") single / double face info in ac3d exporter. BPY: - Blender_ShowHelp() was now crashing Blender when called for the second time, due to EXPP_dict_set_item_str decrementing the reference count of an object passed as argument to Blender_ShowHelp() (so not owned by that function).
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-16Cleanum, remove unneeded 'raise'sCampbell Barton
Stupid hack- added 0,0,0 dummyvert so UVs import right (unrotated). This script aparently dosent work on powerpc... (endian issues Im guessing)
2006-06-16== UV Export ==Martin Poirier
Based on Ed Halley's report. * Default size is now 512, min is 64, max 8192 * Loading saved params check that Editor path is valid.
2006-06-15BUG #4323:Willian Padovani Germano
Help->System->Benchmark (the Tkey benchmark) returned timings even if user cancelled the pupmenu. Was just missing a check for -1 in toets.c -- wonder how old this one was... Reported by Wim Van Hoydonck. Scripts: - Updated Jean-Michel's hotkeys script for Blender 2.42. - Followed Pieter Visser's suggestion and added version info to the menu names of the older collada scripts (v1.3.1). Thanks guys! Note for builders: nevermind if you already compiled 2.42RC1, these updates are not critical at all and can be left for the release or RC2.
2006-06-12Bug #4279: doc browser script broken.Willian Padovani Germano
http://projects.blender.org/tracker/?func=detail&aid=4279&group_id=9&atid=125 Thanks Wim Van Hoydonck for report / fix.
2006-06-07use f.area where possible over python function and use len(mface) over ↵Campbell Barton
len(mface.v)
2006-06-061 liner, bug that raised an error with textureless materials.Campbell Barton
2006-06-06Added the option to import as a group instance (creates own scene) - works ↵Campbell Barton
the same as OBJ Import.
2006-06-06JMS Updates the script, and I did some fixes too. now works with more models.Campbell Barton
2006-06-05Removed wings support, both apps are free and have good obj support. wings ↵Campbell Barton
import was not maintainded and would not load some files.
2006-06-04* removed lint functionsCampbell Barton
* replaced foobar==[]: with if foobar: - no reason to make empty lists for comparison. * Would raise an error is importing a mesh with a blender that had objects in more then 1 scene. * sped up some of the XML reading functions.
2006-06-04==kmz importer==Tom Musgrove
This script adds support for importing kmz mesh files (google maps model format) - the script was written by jmz, thanks
2006-06-04==bvh removal for cambo==Tom Musgrove
removing to fix some commit problems - cambo will add them back
2006-06-04Fixed mistake in calculating the collapse position (surprising it worked as ↵Campbell Barton
well as it did)
2006-06-03Added an option to OBJ import "As Instance" - so people can import all the ↵Campbell Barton
objs objects into a new scene and have a group instanced in the current scene. some extra details in Epydocs about how groups work.
2006-06-02Simple fix, args from the UI were out of allignmentCampbell Barton
2006-05-31Bit the bullet and put a py2.3 blender on my system :/ ro fix ↵Campbell Barton
http://projects.blender.org/tracker/index.php?func=detail&aid=3959&group_id=9&atid=125 py2.4 set issue with bevel_center.py (use dicts for now) - set's commented.
2006-05-30Braught back saveRenderedImage now I have a clue about what it does.Campbell Barton
Cleaned up functions and optimized loops, extra checks and better defaults.
2006-05-28saveRenderedImage is broken? - isnt working anymore for some resion. ↵Campbell Barton
switched back to renderAnim. More efficient texture usage, packer now rotates the convex hull of the UV's for each image to fit the most image into the smallest rectangle.
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-28comments on how edge weighting for collapsing works.Campbell Barton
uv_auto_layout_tex now uses the recently fixed saveRenderedImage - I needed to make clean and make to get it working.
2006-05-28Use Kens hide/sel mesh props to save some python looping.Campbell Barton
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-26==md2 export update==Tom Musgrove
[ #4237 ] MD2 export Light Normal is rotated incorrectly fixed by Bob Holcomb
2006-05-25==md2 export update==Tom Musgrove
centers object to export correctly by Bob Holcomb
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-19Hrmm, this is a bit nasty: I am now using a different call to get a meshChris Want
for export depending on whether the object containing the data has modifiers or not. For an object without modifiers, things are nice since the mesh can be properly instanced and reused. For an object with modifiers there are problems, since a new Mesh has to be created, akin to doing an Alt-C on the mesh, and we end up using more memory after the use of the script than we used beforehand. (I wonder if I would be better off porting the thing to C.)
2006-05-19From __bpydoc__Campbell Barton
This script makes a new image from the used areas of all the images mapped to the selected mesh objects. Image are packed into 1 new image that is assigned to the original faces. This is usefull for game models where 1 image is faster then many, and saves the labour of manual texture layout in an image editor. - Realy needs an image example to see why this is usefull.
2006-05-19Two issues:Chris Want
* a misuse of the Mesh module meant that I kept creating new meshes each time the script was run; * the commas in the vertex color export looked weird.
2006-05-18A fairly major revision of the VRML97 export script.Chris Want
Changes include, but may not be limited to: * Support for meshes with multiple materials/face images * Mode modular design that more closely reflects Blender's internal workings * Position, scale, and orientations are now exclusively dealt with in Transform nodes, making the math more unified and way easier to understand. * vertex colors either written when mesh has SHARED_COL face property, or when mesh has vertex colors and first material with VCOL_PAINT (a little crufty, but maybe will try a better way later) * Support for debugging output to the console by setting the 'rt' button to 42 (for mild verbosity) or 43 (for more verbosity) * Potentially long lists like vertex coordinates, face indices, etc. are now unindented (why potentially waste thousands of tab characters?) * All lines in the script are under 79 characters (as per the python style guide). A major revision will usually beget major bugs, so please test, test, test to make sure I haven't broken your favorite feature in this script! (I've done a number of tests loading output into the Bitmanagement viewer and into 3DSMax.)
2006-05-18Stoped a list that didint need to be made.Campbell Barton
~20% faster and memory saved by re-using the face and edge lists and their classes each pass rather then __init__'ing new ones. Stupid mistake- was only collapsing edges with UV's
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.