Commit Graph

160 Commits

Author SHA1 Message Date
528ea06531 Updated to use Blender.sys.exists() which now uses BLI_exist rather then stat. 2006-03-19 13:31:44 +00:00
f356eac8a4 Update box unpack with faster python use
Update image loader, optional arg for not autocreating the image. - aslo removed some stuff that shouldent have been left in.
  Workaround for a bug in Blender.sys.exists()... should fix soon.
2006-03-18 11:41:07 +00:00
afc8dec921 Small updates to import images in win32. 2006-03-14 20:28:02 +00:00
afeba9462e Support win32 paths. 2006-03-14 20:27:27 +00:00
7e857617bb ==scripts==
removing obsolete and redundant scripts from the repository
2006-03-11 10:51:06 +00:00
9af72012c8 ==scripts==
updated directx8 exporter by Ben Omari
2006-03-11 10:45:48 +00:00
b731b9e7af === Script Update: UV Export ===
Updated the interface to use PupBlock and the FileSelector instead of drawing a full GUI
Fix a crash when no objects were selected and the Ob option was activated
Added option to edit the resulting image in an external program (this needs a full python distro for the os module. it detects the presence of the module and shows the option only if possible).
Saves the selected settings (except the save path) with Registry, so they get loaded back next time you use the script.
2006-03-04 18:19:05 +00:00
3f5fd39e28 removed typos causing MTL loading to fail. 2006-02-25 15:05:36 +00:00
9c4ce4cae1 Should now work with python 2.3, also optimized dictionary's a bit. keys -> iterkeys and has_key -> try/except 2006-02-24 04:03:15 +00:00
003b8ae2ef Another fix for a silly bug 2006-02-20 10:31:24 +00:00
883d56e922 tweak colin weighting again. 2006-02-20 05:30:15 +00:00
23e55acfcb Small update...
Bugfix, Wrongly waited colinear test that caused quads with co-linear edges to be made.
 Bugfix, Use active object even if unselected.
 Optimize, Skip further tests if face pair is above the quad error limit.
 Optimize, Faster edge/Face user dict creation ~10%
 Feature: Options to ignore VCols and UV's as delimetres.
2006-02-20 05:11:04 +00:00
e3e94f1bb7 ==SConscript fix for cygwin==
open inventor export contributed by Radek Barton
2006-02-12 15:37:01 +00:00
10acbf00ab This script converts open and closed edge loops into polylines
Supported:
	 Polylines where each vert has no more then 2 edges attached to it.
2006-02-08 14:38:47 +00:00
682c1df9ec This script sets the UV mapping and image of selected faces from adjacent unselected faces.
Use this script in face select mode.

Note- If you make new faces between faces that are alredy UV mapped there is currently no way to say- map from others... this script does exactly that. and can save a lot of time manually moving and welding UV coords one by one.
Its realy usefull for mapping after a scanfill too.
2006-02-07 10:50:35 +00:00
02a9f2cf30 works with free verts and a bit faster 2006-02-07 03:58:57 +00:00
af4f110de5 From __bpydoc__
This script relaxes selected UV verts in relation to there surrounding geometry.

Use this script in face select mode.
Left Click to finish or wait until no more relaxing can be done.
2006-02-07 03:41:28 +00:00
c629128773 - Removed workarounds for Blender 2.41
- Mesh objects split by material- many 3ds objects used more then 16 per mesh. and when a face looses its image texture its tedious to set again.
- Removed a lot of unneeded variable creation.
2006-02-06 14:23:55 +00:00
faff1cf46b Fixed bug where a extra vert was duplicated. - (Thanks Brandedo)
Face indicies spanning over 1 line are now supported (had a freak obj that did this)
Small optimization @% overall speedup.
- Last release before move to Mesh over NMesh.
2006-02-04 03:44:21 +00:00
4b05af9ca7 - Face import tested to be about overall 16x speedup over 0.93.
- Material importing speedup.
- Tested with more models.
- Support some corrupt models.
(Bug in Mesh causes segfaults on some files still, kens looking into it)
2006-02-03 06:42:07 +00:00
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
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