16371 Commits

Author SHA1 Message Date
Tom Musgrove
c34dd4d5f2 ==python api==
tex2uvbaker and hotkeys update by jms
2006-01-17 11:34:33 +00:00
Campbell Barton
5494927714 Speed up for edge list's
Remove doubles on mouseup to minimizie editMode cycling.
2006-01-17 11:05:45 +00:00
Campbell Barton
9b2640aa93 Added edge collapsing when adaptive geometry enabled. 2006-01-17 09:58:24 +00:00
Campbell Barton
0ea84e4a07 Fixed a problem with non mesh objects
Stopped seams from tearing away with xclip enabled.
2006-01-17 06:14:52 +00:00
Tom Musgrove
4734a2db7e ==python scripts==
updated version of bevel center by Loic Berthe
2006-01-16 21:42:53 +00:00
Campbell Barton
2c9a4eb6ef Fix for useing with modifiers, dosent check for subsurf flag when copying vgroups.
Leaves all new objects selected.
Faster and cleaner operation- naming etc.
2006-01-16 21:28:09 +00:00
Campbell Barton
9cbf04ca9a Added user interface to OBJ import.
With options.
	('Material (*.mtl)', IMPORT_MTL, 'Imports material settings and images from the obj\'s .mtl file'),\
	('All *.obj\'s in dir', IMPORT_DIR, 'Import all obj files in this dir (avoid overlapping data with "Create scene")'),\
	('Create scene', IMPORT_NEW_SCENE, 'Imports each obj into its own scene, named from the file'),\
	'Geometry...',\
	('Edges', IMPORT_EDGES, 'Import faces with 2 verts as in edge'),\
	('Smooths all faces', IMPORT_SMOOTH_ALL, 'Smooth all faces even if they are not in a smoothing group'),\
2006-01-16 06:33:55 +00:00
Campbell Barton
cc183db483 Hopefully clear up the last of the obj import bugs.
* 8% speedup by using list comprehension.
* Slightly better smoothing group import.
* Handles bug in python that puts spaces before every line with '\r\n' line endings.
2006-01-16 05:28:34 +00:00
Willian Padovani Germano
bb9cadbb77 BPython:
- minor: added missing theme options (bone_solid, bone_pose, strip,
strip_select) to Blender.Window.Theme and also updated accordingly
(version info) the script that saves themes as scripts and the module's
doc.
2006-01-16 03:51:32 +00:00
Tom Musgrove
9137d364df ==python scripts==
slight bug fix update to ply importer by Bruce Merry
2006-01-15 20:05:28 +00:00
Campbell Barton
afb0f2ff24 In fixing for negative indicies I broke positive indicies. Fixed. not helped by the fact the files I had for testing were 32 and 70 meg..
ALso modified the MTL loader for Object.Get's new ValueError.
- Should be good for release now.
2006-01-15 17:56:40 +00:00
Campbell Barton
c5fd40f0bf Mesh sculpting event handeler script,
see http://www.elysiun.com/forum/viewtopic.php?t=56101 for details,
2006-01-15 14:44:09 +00:00
Campbell Barton
1752c03441 Fixed bug in importing OBJ files with negative indicies (UV and VERTS, normals are ignored)
Have alredy tested 100's of obj files and cant believe this is the first I have found with negative coords.
May fix the UI before 2.41, Importing a whole dir isnt very user friendly. and may want to support sequence import.
- Cam
2006-01-13 15:26:15 +00:00
Tom Musgrove
9b597819d6 ==python scripts==
added xfig exporter by Dino Ghilardi

ply import and export in previous commit were by Bruce Merry
2006-01-13 00:24:23 +00:00
Tom Musgrove
b367da593b ==python scripts==
added ply import and export, extensively tested on files from

http://www.cs.virginia.edu/~gfx/Courses/2001/Advanced.spring.01/plymodels/

they give correct results for both import and export, however they could use some speed optimization for large mesh
2006-01-12 21:33:42 +00:00
Campbell Barton
5dba8e798a Renamed clean_mesh.py to mesh_cleanup.py
Rewrote to use Kens Mesh module, much faster, cleaner and nicer UI. - Another use for PupBlock.
2006-01-12 12:39:14 +00:00
Campbell Barton
007b3b897a Added tri2quad script finds all possible quads to be made from selected triangle pairs, then joins the best first until the error limit is reached.
Just Updated and faster 8.5sec to 0.6sec for 2k triangles in my test.
Also my fav new function PupBlock for the UI input!
2006-01-12 05:28:47 +00:00
Campbell Barton
d498ae5104 Fixed a bug in boxpack that archimap not to clear data between uses, and become progressivly slower.
Updated Archimap to set UV's aslists (dont need to convert to tuples anymore)
2006-01-12 03:34:37 +00:00
Campbell Barton
8c205be66f Fixed a silly bug when copying images. 2006-01-11 10:12:03 +00:00
Campbell Barton
664f6026d5 update to obj export:
Added options.
	pup_block = [\
	('Apply Modifiers', EXPORT_APPLY_MODIFIERS, 'Use transformed mesh data from each object. May break vert order for morph targets.'),\
	('Selection Only', EXPORT_SEL_ONLY, 'Only export objects in visible selection.'),\
	('Edges', EXPORT_EDGES, 'Edges not connected to faces.'),\
	('Normals', EXPORT_NORMALS, 'Export vertex normal data (Ignored on import).'),\
	('Materials', EXPORT_MTL, 'Write a seperate MTL file with the OBJ.'),\
	('All Scenes', EXPORT_ALL_SCENES, 'Each scene as a seperate OBJ file.'),\
	('Animation', EXPORT_ANIMATION, 'Each frame as a seperate OBJ file.'),\
	('Copy Images', EXPORT_COPY_IMAGES, 'Copy image files to the export directory, never everwrite.'),\
	]

Obj import was updated to import edges (2 vert faces), will update some more later.
2006-01-11 09:47:17 +00:00
Ton Roosendaal
e7285229b8 Tuesday merger of bf-blender into orange branch. 2006-01-10 22:10:14 +00:00
Campbell Barton
185c6bb49c removed slow list handeling
faster vert comparisons
replaced spaces for tabs
removed unneeded getData() calls
general cleanup.
2006-01-10 17:40:50 +00:00
Campbell Barton
41a06c1ab5 Added openflight import/export- Blight v1.2 2006-01-10 13:42:20 +00:00
Campbell Barton
5b218a7651 * Added PupBlock for user options.
* Improved context, unwraps active object if not selected and makes sure it only unwraps a mesh once even if 2+ instances are selected.
* Added Option to stretch to bounds
* Added option to have a margin, thanks to letterrip
* Fixed bug whe nassigning UV's to zero area faces.
2006-01-09 03:43:48 +00:00
Ton Roosendaal
072c32bcea New plus/minus icons 2006-01-08 11:50:52 +00:00
Ton Roosendaal
6e4146f1e6 New icon image 2005-12-28 16:02:52 +00:00
Chris Want
e8f7ff2ffb Copy release/text/*.pdf into release tarball 2005-12-22 05:58:30 +00:00
Ton Roosendaal
a0d71f9534 Part 2 of commits for release, the release target name/version 2005-12-20 14:21:18 +00:00
Ton Roosendaal
c1a2851c0d Sync of blenderbuttons for orange and bf-blender, including Joilnens new
'sort by extension' icon.
2005-12-19 18:41:52 +00:00
Willian Padovani Germano
ad579abf00 Scripts:
Final (?) updates for 2.40 :) :

- Bob Holcomb sent a better version of his 3ds importer
- Added doc info to bvh2arm: links to doc and mocap tute from author
Jean-Baptiste Perin
- Alessandro Pirovano improved the Lightwave importer.
- Mikael Lagre updated the collada scripts (fixed a bug with camera
lens value)
- Adam Saltsman improved the wings importer (ongoing work with
his pal Toastie).
- Anthony D'Agostino GPL'd his scripts (used Blender's BAL
license previously)

Thanks to all script authors for their work, interest and kindness.
Again, Tom (LetterRip) has played an important part in this, thanks and
welcome :).
2005-12-19 17:21:55 +00:00
Campbell Barton
4a027d8124 Updated for new Mathutils (should be faster)
uses Mesh rather then NMesh
uses expernal box packer
uv coords are not stretched anynore.
2005-12-18 21:41:50 +00:00
Campbell Barton
c9de5c5b05 Seperated out archimaps generic 2d boxpacking function.
For anyone who is interested in boxpacking the logic isnt
that complex and lscm could benifit from using it.

Archimap will use this rather then having the boxpacker inline.
2005-12-18 21:35:31 +00:00
Joilnen Leite
41fbd282d9 added new ICON_SORTBYEXT
.
2005-12-18 20:24:19 +00:00
Ton Roosendaal
6f158b6f9b The png image for icons itself. 2005-12-18 13:27:47 +00:00
Willian Padovani Germano
9d55687d30 Scripts:
- A Vanpoucke (xand) updated Axis Orientation Copy.

- Additions:
  - Campbell Barton contributed the Archimap UV Unwrapper.
  - Mikael Lagre contributed Collada importer and exporter (ongoing
work, no support for animation yet).

Thanks to them!
2005-12-18 01:29:15 +00:00
Campbell Barton
f5121b2496 BVH Export updated for 2.4x, also small updates in many areas. 2005-12-15 23:18:48 +00:00
Willian Padovani Germano
d3f964084d Scripts:
- Mirror bone weights contributed by Thomas Oppl.
- Softimage XSI exporter contributed by Elira (with updates by Mal
Duffin).

Again, thanks to the authors mentioned. And to Tom (LetterRip) for
contacting the authors and making suggestions about scripts we should
include.
2005-12-15 20:12:00 +00:00
Willian Padovani Germano
e1ba10d12e Scripts:
- Jean-Baptiste Perin updated his bvh to armatures script to use the new
armature module.
- Johnny Matthews (guitargeek) contributed "Shape Widget Wizard". (Moved
it to the Animation menu in Scripts win)
- Benoit Foucque (dienben) contributed "Blender Lip Synchro".

Thanks to the three authors!
2005-12-15 18:12:49 +00:00
Willian Padovani Germano
b662fcb694 Scripts:
- added import and export scripts for 3ds and md2 (Quake 2) models
contributed by author Bob Holcomb. Thanks!
- updated ac3d importer to be more forgiving and exporter to get rid of
deprecated call.

More additions and possibly fixes to come.

Note: we're forming a group to take care of importers and exporters and
improve the situation as a whole in Blender. Discussions should happen
at the bf-scripts-dev mailing list:
http://projects.blender.org/mailman/listinfo/bf-scripts-dev

Thanks Tom Musgrove (LetterRip) for helping a lot with scripts.
2005-12-15 01:42:45 +00:00
Campbell Barton
e61ebefd90 Added GPL licence header. possibly some other new stuff, not sure how old the CVS console script was. 2005-12-06 04:30:23 +00:00
Campbell Barton
9497b6dfb6 Updated bvh importer. tested on over 100 bvh files.
* Modified to use Mathutils for matrix math,
* Fixed possible joint naming bug,
* Imports BVH's with bad EOF gracefully
* Fixed duplicate joint names, make them unique
* Use \r as well as \n for newlines
* Added suppot for nodes with 0 motion channels
* Rotation IPOs never cross more then 180d
   fixes sub frame tweening and time scaling
* 5x overall speedup.
2005-12-06 03:53:35 +00:00
Kent Mein
34049def4e Modified the logic under linux.
My 64bit box fell through and didn't do anything
because it didn't match a CPU type, so changed the logic so there is a default.

Kent
2005-12-05 21:32:55 +00:00
Stephen Swaney
82956daab9 spellcheck scripts in response to IRC whining.
vertexes => vertices
2005-11-27 16:46:58 +00:00
Martin Poirier
eb8012d1a1 UV_Export rounding error fixed by Macouno (from elysiun).
Also standardized some indenting and export to black lines instead of red.
2005-11-26 15:25:21 +00:00
Willian Padovani Germano
a5aacefbfc Scripts: Jean-Michel updated his rvk1 to rvk2 script (thanks); small fix in BPyRegistry module to remove empty config keys instead of causing an error 2005-11-04 16:30:38 +00:00
Simon Clitherow
4cf3c94958 updated scons win32 installer script - uninstalling gives option to keep or remove
.blender/scripts folder.
2005-11-01 21:11:55 +00:00
Willian Padovani Germano
2cf66f90c5 Jean-Michel Soler's updated tex2uvbaker script (thanks), previous one was broken. 2005-11-01 19:50:45 +00:00
Simon Clitherow
0d734795db A few leftover py2.3 -> py2.4 changes:
- updated python24.zip to include all required module dependancies.
- updated zlib.pyd to py24 zlib.pyd - now it opens the zip file (thanks ianwill!)
- removed whrandom module from basic_modules (deprecated in py24)
2005-10-30 19:19:38 +00:00
Ton Roosendaal
d7be29b376 The new icon file, with the key markers for NLA and Action 2005-10-27 16:57:02 +00:00
Willian Padovani Germano
5c31e9f2b5 Scripts updated:
- Discombobulator by Evan R and DirectX8 Exporter by Ben Omari.

BPython:
- Crashed Blender while testing discombobulator: obj.setMaterials() was not checking if the passed obj had valid obj->data. If the object had been created and not linked yet to a mesh, a crash would happen when trying to sync ob and me material lists. Now an error is returned. Also made obj.setMaterials accept an empty list, since obj.getMaterials can return that.

Thanks to the script authors for the updated versions and special thanks to Tom (LetterRip) for collecting info about updated and new scripts, sending me updates I had missed, etc.
2005-10-11 19:05:56 +00:00