Commit Graph

7333 Commits

Author SHA1 Message Date
4b01aa7aa5 Scripts:
The orange -> HEAD merge reverted some scripts to older versions. This only
affected the ones that already existed before the orange branch.
Minor issue, easy to fix.

All in all, kudos to kaito, Hos and others for all the hard work in
bringing (coding, merging) all these changes to the main branch.
2006-01-29 19:17:53 +00:00
no-author
e8afec9f9a This commit was manufactured by cvs2svn to create branch 'orange'. 2006-01-26 22:47:31 +00:00
6dbe25dd9d A little utility script I have been using for a long time but was recently able to improve with 2.41's features.
Edits the current image in an external application, esp usefull when dealing with projects that have lots of images.
Basicaly-- a quck way to have the image in the gimp (using gimp-remote) without rooting around in your project tree.
Added registry variable to save the external application... and some OS context for what app to run- could somebody test on macosx+win32.

How about a python slot in the Image Menu?
2006-01-26 22:47:31 +00:00
5e19642c55 Speedup by a factor of about 20% 2006-01-26 15:39:38 +00:00
4be671ec70 Bugfix- selection only didnt work & Fixed object name creation not using the real data name.
Added features.
- Triangulate
- Export Object is OBJ objects
- Objects as Groups
- Group by Materials

- Updated blender website from www.blender.org to www.blender3d.org and write blender version number too.
2006-01-22 23:32:46 +00:00
9baa7264ca Increased some of the defaults- very small brush sizes could make verts NAN location. 2006-01-22 21:41:06 +00:00
067c6717c5 ==scripts==
updated svg import - it is better than the last version, and apparently works perfect on linux - but some issues on windows? work done by jms
2006-01-22 21:15:23 +00:00
Chris Want
9b84a17321 Fixing the VRML ImageTexture for the pending release, so that the image
file name gets written instead of the blend file name.
2006-01-22 17:33:26 +00:00
cd1ad7f84e ==python scripts==
DirectX exporter now supports animation again.  Thanks Ben Omari for the update - there is a bug in armatures (not python?) that can leave the bones looking crazy after export - tab tab to make it return to correct
2006-01-22 16:38:46 +00:00
5adb010101 Bugfix with adaptive geometry- was over subdividing some edges.
Made sure all data is unselected before endering brush mode.
Also made adaptive geometry off be default.
2006-01-21 12:33:58 +00:00
eb553b39d0 Some minor changes & updates to keep in sync with my own version. 2006-01-20 06:05:28 +00:00
ce2b967d87 removing file with old name, 2006-01-20 04:41:55 +00:00
172e4760c8 was collapsing edges, even when adptive geometry was disabled. 2006-01-20 02:45:02 +00:00
d2478eaf7e Updated batch object renamer.
- Now  uses PupBlock where possible
- Uses Mesh for changing mesh names (saves us a full NMesh update)
- Fixed a bug renaming objects from their data - with emprys.
2006-01-20 02:40:05 +00:00
78cbd04d12 renaming python script... 2006-01-20 02:37:00 +00:00
9ea630196c Fixed up naming new objects/meshes when that name alredy existed - faster and better new names. 2006-01-18 22:57:55 +00:00
4100794153 ==python scripts==
Updated bvh to armatures script by Jean-Baptiste Perin (thanks).
2006-01-18 02:20:48 +00:00
c4a155cf39 fixed seam tearing with edge collapsing, should be last commit ;) 2006-01-18 00:22:22 +00:00
1395d7166c Added Mesh menu access for b-brush sculpter. 2006-01-18 00:14:33 +00:00
24b5e21c65 Moved script. Minor updates to subdivision and adaptive meshes. 2006-01-17 23:50:06 +00:00
f90b7a6906 moving to bpydata because it cant be accessed from the menus 2006-01-17 23:47:45 +00:00
9f47286673 Changed the URL to be the Image filename sans path, not the image name.
Sped up intentation writing a bit..
Many more changes need to be applied here...
2006-01-17 22:13:25 +00:00
3ebf0c9600 ==python scripts==
slight updates and cleanups to vrml97 and x3d exporter,  the ability to do gzip compression has been added.  The redundant vrml exporter has been removed.  Thanks Bart
2006-01-17 21:04:12 +00:00
c34dd4d5f2 ==python api==
tex2uvbaker and hotkeys update by jms
2006-01-17 11:34:33 +00:00
5494927714 Speed up for edge list's
Remove doubles on mouseup to minimizie editMode cycling.
2006-01-17 11:05:45 +00:00
9b2640aa93 Added edge collapsing when adaptive geometry enabled. 2006-01-17 09:58:24 +00:00
0ea84e4a07 Fixed a problem with non mesh objects
Stopped seams from tearing away with xclip enabled.
2006-01-17 06:14:52 +00:00
4734a2db7e ==python scripts==
updated version of bevel center by Loic Berthe
2006-01-16 21:42:53 +00:00
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
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
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
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
9137d364df ==python scripts==
slight bug fix update to ply importer by Bruce Merry
2006-01-15 20:05:28 +00:00
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
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
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
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
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
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
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
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
8c205be66f Fixed a silly bug when copying images. 2006-01-11 10:12:03 +00:00
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
e7285229b8 Tuesday merger of bf-blender into orange branch. 2006-01-10 22:10:14 +00:00
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
41a06c1ab5 Added openflight import/export- Blight v1.2 2006-01-10 13:42:20 +00:00
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
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
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
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