Commit Graph

254 Commits

Author SHA1 Message Date
Stephen Swaney
76ba34768e bugfix: Object.Get() throws ValueError rather than AttributeError. 2006-02-01 15:21:05 +00:00
88e0f089be 3ds importer distributed with Blender 2.41 is broken in 2 places so bugfixed and updated...
Version 0.93
- Tested with 400 3ds files from turbosquid, model cd's and net samples.
- Tactfully ignore faces that used the same verts twice.
- Rollback to 0.83 sloppy un-reorganized code, new code broke UV coord loading.
- Converted from NMesh to Mesh. First importer to use Mesh.
- Faster and cleaner new names.
- Use external comprehensive image loader.
- Re intergrated 0.92 and 0.9 changes
- Fixes for 2.41 compat.
- Non textured faces do not use a texture flag.
2006-02-01 10:52:54 +00:00
c8ff92d965 Added a function for importers to use, comprehensive image loader takes an imagepath and a file path- and imports the image, if it exists it uses the one alredy loaded or does a realy good job of finding the right image case insensitite if the normal path is not found. looks in all the logical places for the image- If teh image isnt found then a new dummy image is returned.
The nice thing about this is you can request an image and  you know youll get an image back- without doing your own error handeling.
2006-02-01 10:31:49 +00:00
e377e5407f returned a revised result output, style "Copied UV from object Cube to object(s) ['Cube.004', 'Cube.003', 'Cube.002', 'Cube.001']." 2006-01-31 21:01:50 +00:00
30313539dd little sanifying: now copies UV coords from the active object to (other) selected object(s), and rises exceptions for the cases where does not work. documentation to be improved .. and perhaps the API shows RuntimeErrors with messages for the users nicely in popups or something in the phuture. 2006-01-31 20:57:05 +00:00
436d682406 an initial version of a simple UV copy script, gotta decide and implement the UI integration still, is .. eh suboptimal here, but is noted with XXX in comments with suggestions :) .. thanks for theeth and others on Elysiun who made this, and for Unnamed on irc for digging up .. seems that NMesh -> Mesh conversion was not necessary, but might be a nice excercise. 2006-01-31 19:47:52 +00:00
48fc07716a Scripts:
Small typo (or so it seems) in bevel center, preventing it from working.
2006-01-29 21:04:30 +00:00
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
e63dbac5d2 The preview.blend file, which is datatoc'ed in blender/src 2006-01-29 13:11:05 +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
5668480c99 small fix for icons to correctly use alpha instead of converting grey background to alpha.
Also checking in cleaned up blenderbuttons from Matt.
2006-01-22 23:27:43 +00:00
6293e3e5aa And the 2nd commit for release codes.
Still todo: splash!
2006-01-22 22:48:07 +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