Commit Graph

7333 Commits

Author SHA1 Message Date
Stephen Swaney
b61d40c14c added a comment char in front of a comment to fix a syntax error.
added a newline at end of file.
2007-02-08 01:03:21 +00:00
bc15d06cfe * own error, importer would never load images.
* moved from NMesh to Mesh
* added more error checking.
* tested with 1660 lightwave models
* faster dictionary usage.

BPyImage - disallowed recursive searching of '/' or a windows drive letter.
2007-02-08 00:27:01 +00:00
b3e6a6a9c1 animation_trajectory - was printing deprecation warnings. cleaned up some of its code too.
Mesh - removing UV or Color layers didnt check if the active object was in vpaint of uv mode, removing the last layer could crash blender - now switch to object mode if its the last layer like the UI.
2007-02-07 07:43:10 +00:00
0bbe1b393e Scripts:
-Another update to the ac3d importer to handle models with wrong face data. Thanks Melchior Franz for reporting.
2007-02-06 19:40:13 +00:00
35e96bc991 added messages to scripts, stopping them from modifying multires meshes.
object_cookie_cutter - can now also use curves to cut holes in a mesh.
2007-02-06 11:16:49 +00:00
461e4786c8 = rvk1 to rvk2 update=
script update from jms
2007-02-05 01:04:05 +00:00
42d09a59b9 update to 1.9g of JMS's kml/kmz importer,
with a change only in the menu title to comply with the existing naming convention.
2007-02-03 12:50:01 +00:00
f08aab441b used slightly faster text cleaning, fixed benchmark not to include time spent selecting a file. 2007-02-02 14:27:36 +00:00
50a7ec114d merges some of jms's updates from kmz_ImportWithMesh.py version 1.9f 2007-02-02 09:14:56 +00:00
1d5aa3faea tidy up this script as well as 2 new options - "fix nan verts" and "fix nan uvs" 2007-02-01 19:02:18 +00:00
80315d0c9b faces in face select mode can be selected and hidden, check that faces are not hidden as well as being selected. 2007-02-01 11:38:38 +00:00
5817876307 fixed nieve use of type()..
type(foo) == type(list()) can be done as
type(foo) == list:
2007-02-01 05:27:49 +00:00
1f4af00c94 Scripts:
- Making the ac3d importer discard bad faces in the imported model (faces that reference a vertex index more than once). Thanks Melchior Franz for reporting this one, too.
2007-02-01 01:34:51 +00:00
ed24fe31d1 fixed a python error in the exporter, small changes for the importer. 2007-01-31 11:34:41 +00:00
9cf602b949 3ds_export - enabled textures as an option since it works with some appliactions (only way to get textured models from blender to google sketchup)
3ds_import - added option to disable recursive image searching (could be slow somtimes)
export_obj - when making group/object names only use both object and mesh name when they differ.
weightpaint_clean, weightpaint_grow_shrink - minor updates.
Render.py - own error in epydocs.
2007-01-31 01:18:51 +00:00
2d14f8c224 Scripts:
- Fixing another bug in the ac3d import script, thanks again Melchior Franz for testing and reporting.
2007-01-30 20:12:30 +00:00
dcc834f3fa updated render settings to support recent changes.
options like saveBuffers are available from Python and threads can be set from 1 to 8
usefull for python based renderfarms.
2007-01-30 03:02:58 +00:00
45d486f0f3 Update to JMS's latest version of google earth 3 importer.
also made some changes
* redraw in the 3d view only
* create all objects in visible layers
* other small tweaks and speedups, removed debug print's
2007-01-30 00:16:05 +00:00
5db31cb571 removing redundant scripts because of new features in blender after discussion with LetterRip.
disp_paint.py - Displacement modifier and sculpt mode replace.
uv_paint.py - making can be used to write colors to an image.
animation_empties2armature.py - Was made when BVH importer could not import direct to armature, Resulting animation has visible errors, errors have been known about for a long time and not fixed.
knife.py - Old slow code, No Multi-UV's, We now have a knife tool that has snap!

If anyone wants to maintain these scripts and have them added back in, mail the bf-python ML.

Scripts that are removed can be found here.
http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/Attic/?cvsroot=bf-blender
2007-01-29 10:20:21 +00:00
803d66a3a5 removed copy_facedata_multilayer from BPyMesh since it changes the selection and flips the faces (needed for solidify) but not for general purpose use. 2007-01-29 06:56:30 +00:00
996294e18a fixed own bug indroduced when switching to use f.edge_keys
MultiUV/Color support - all layers are copied to new faces. as well as hole filling faces.
2007-01-29 06:38:30 +00:00
2133d87d21 Fixed accelerated openGL command list tri-strip generation for geometry. UV coordinates are still off a bit. Fixed bad frame list loading. I'm sleepy and need a snack. 2007-01-29 00:11:18 +00:00
cd2e2d231f Scripts:
- Fixed a few bugs in the ac3d importer, found by Melchior Franz (thanks!). Also automatically turning on ztransp for materials with alpha < 1.0 and then also transp shadows for all imported materials.
2007-01-28 20:03:42 +00:00
5943ad8f65 update to the md2 importer.
* moved from NMesh to Mesh
* made newstyle classes (use less memory)
* optimized mesh creation
* Animation now imports and plays (Bugfix for 5834)
+ other small tweaks

Added mesh.key - was missing from docs
2007-01-28 12:33:04 +00:00
321cafa714 updated this script (one of the most out of date)
basic workings are the same but its generaly more efficient.

The main problem was it could get the data from every object across all scenes!
This means that on framechange, every mesh would be copied into an NMesh just to see the type was a camera.
2007-01-28 03:36:33 +00:00
7f5908f95a bug 5857, python 2.3 compat fix + minor changes. 2007-01-28 01:36:21 +00:00
8f075f9518 minor tweaks from testing scripts. correction in my last commit. 2007-01-27 04:58:09 +00:00
853785782e Updated docs not to use Object.New() in examples, use scn.objects.*
Bugfix from ZanQdo, MOT files wouldent load in lightwave. also made some minor improvements.
2007-01-27 02:15:14 +00:00
bc6fc72209 * nmesh to mesh
* fixed errors with Null materials
* faster material exporting
* export with modifiers applied
* faces with invalid material indicies work now (maybe should be delt with in the Py API)
* removed per vert col code since all colors are pre face now.
2007-01-26 10:37:18 +00:00
624030165b fixed some errors, small usability enhancements. 2007-01-26 07:32:29 +00:00
7239784b17 added option "morph target" since many people complain that verts are re-ordered with some options enabled. 2007-01-26 07:01:30 +00:00
0decfd140b fixed an obscure bug in obj import (possibly in Mesh.c) that made adding edges as faces mess up.
export obj now dosnt remove double UV's, its too slow.

updated version numbers to 243 and other minor changes.
2007-01-26 06:02:21 +00:00
2a829b87e2 use better Python 2.4 syntax sorting (in a try so py 2.3 still works)
use new scene/object creation for making temp objects.
2007-01-25 04:18:09 +00:00
29813971b1 applied patch 5779 with some modifications to fix own error, (uv indicies could be out of order)
removed image support, Blender could import but not 3dsmax :/ - even managed to get 3dsdump to report a blender and max file to have the same data but max still dosnt like.
2007-01-22 17:31:34 +00:00
32676b66a4 fixed error on hole filling (http://blender.org/forum/viewtopic.php?p=59062#59062) 2007-01-22 09:48:03 +00:00
e64afa6c17 Update by JMS for the hotkey script.
Also made some changes
- fly mode keys have changed and added snap key
- using "i=list.index(val)" is slow, use "for i,val in enumerate(list)" instead.
- dont use "i in range(start, end)" - silly to make a list when you can do "min < val < max"

JMS, please update from this version.
2007-01-21 23:14:57 +00:00
898fccf463 = line ending fix =
these files all had non unix line endings...
2007-01-18 08:39:31 +00:00
848e93ce41 error in generating projections fixed.
also modified the margin value so you dont need to have values like 0.001
and added an option not to use face areas to weight projections.
2007-01-18 01:10:48 +00:00
6d0089237e dont use python keywords as variable names. 2007-01-16 15:19:04 +00:00
05ecd017ca cleaned up uv island projection generation and added an option 'Init from view' - to use the view vector as one of the first projections 2007-01-16 14:33:32 +00:00
dc00d9c5de set the render aspect correctly when rendering non square images. 2007-01-16 06:39:15 +00:00
dced690915 wasnt working for mixed modes 2007-01-16 02:49:58 +00:00
feb63d7d3b Scripts:
More small updates to the ac3d importer, to calculate normals for the created meshes and to avoid problems with older .ac files.
2007-01-16 00:50:31 +00:00
72de9a64c9 was missing a check for the end edge that made skinning it raise an error. 2007-01-15 23:37:34 +00:00
a77178467b when a vert is shared by more then 1 vertloop give a nice error and exit 2007-01-15 07:59:29 +00:00
7a19fe19f6 =ID Property Script update and api bugfix=
Turned out somehow I managed to miss adding the proper
type refs in Blender.Types for IDGroupType and IDArrayType,
which made the script not work.  So, I've got it all fixed now.
Or at least hopefully :)
2007-01-15 07:54:08 +00:00
82bfd281f2 Scripts:
Misc updates to the ac3d importer and exporter:
- use Mesh instead of NMesh;
- properly export modified data and materials from either ob or obdata (thanks for mesh.getFromObject :) );
- option to export local rot and loc info;
- better import / export of hierarchies;
- + tiny updates here and there to support old or weird .ac files.
2007-01-14 18:13:47 +00:00
c6a57fb4b0 import_obj - name imported objects/mesh data
weightpaint_clean - report how many verts removed from groups
save_theme - no need to do type(''), just use type(vat) == str
2007-01-13 03:07:04 +00:00
0b89910800 disp_paint - was raising an error when the mesh had no image and texuv was selected, or when the image had no data.
discombobulator - updated to use newer API functions
object_random_loc_sz_rot - improved layout and use new Scene objects.context
2007-01-13 02:03:38 +00:00
74291cc503 = removed nendo import/export and tex2uvbaker =
tex2uvbaker is now redundant with buitin functionality so thank you for maintaining this script in the past.  nendo is a marginal format and the scripts are not maintained so removing
2007-01-12 09:08:00 +00:00