Commit Graph

151 Commits

Author SHA1 Message Date
Campbell Barton
003b8ae2ef Another fix for a silly bug 2006-02-20 10:31:24 +00:00
Campbell Barton
883d56e922 tweak colin weighting again. 2006-02-20 05:30:15 +00:00
Campbell Barton
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
Tom Musgrove
e3e94f1bb7 ==SConscript fix for cygwin==
open inventor export contributed by Radek Barton
2006-02-12 15:37:01 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
02a9f2cf30 works with free verts and a bit faster 2006-02-07 03:58:57 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Toni Alatalo
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
Toni Alatalo
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
Toni Alatalo
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
Willian Padovani Germano
48fc07716a Scripts:
Small typo (or so it seems) in bevel center, preventing it from working.
2006-01-29 21:04:30 +00:00
Willian Padovani Germano
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
Campbell Barton
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
Campbell Barton
5e19642c55 Speedup by a factor of about 20% 2006-01-26 15:39:38 +00:00
Campbell Barton
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
Campbell Barton
9baa7264ca Increased some of the defaults- very small brush sizes could make verts NAN location. 2006-01-22 21:41:06 +00:00
Tom Musgrove
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
Tom Musgrove
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
Campbell Barton
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
Campbell Barton
eb553b39d0 Some minor changes & updates to keep in sync with my own version. 2006-01-20 06:05:28 +00:00
Campbell Barton
ce2b967d87 removing file with old name, 2006-01-20 04:41:55 +00:00
Campbell Barton
172e4760c8 was collapsing edges, even when adptive geometry was disabled. 2006-01-20 02:45:02 +00:00
Campbell Barton
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
Campbell Barton
78cbd04d12 renaming python script... 2006-01-20 02:37:00 +00:00
Campbell Barton
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
Willian Padovani Germano
4100794153 ==python scripts==
Updated bvh to armatures script by Jean-Baptiste Perin (thanks).
2006-01-18 02:20:48 +00:00
Campbell Barton
c4a155cf39 fixed seam tearing with edge collapsing, should be last commit ;) 2006-01-18 00:22:22 +00:00
Campbell Barton
1395d7166c Added Mesh menu access for b-brush sculpter. 2006-01-18 00:14:33 +00:00
Campbell Barton
24b5e21c65 Moved script. Minor updates to subdivision and adaptive meshes. 2006-01-17 23:50:06 +00:00
Campbell Barton
f90b7a6906 moving to bpydata because it cant be accessed from the menus 2006-01-17 23:47:45 +00:00
Campbell Barton
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
Tom Musgrove
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
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