Commit Graph

7 Commits

Author SHA1 Message Date
Campbell Barton
2b8bed8598 py api
* stopped bpy from importing automaticaly as decieded in the meeting.
* removed Blender.Main, since we agree it will be called bpy, renamed files also.
* updated epydocs from this and last commit.
* updated scripts to use bpy.*, and bugfix's for widgetwizard
2007-03-26 19:44:44 +00:00
Campbell Barton
a9d69b332e had 1 char missing 2007-03-25 12:15:06 +00:00
Campbell Barton
5b860cb1e6 added options to this script to
* lightmaps for all selected objects
* add new blank images
* use 1 image for all mesh objects
and some other less important ones.
2007-03-25 10:27:37 +00:00
Campbell Barton
83a9a84498 BoxPack2D example in epydocs, small cleanup on Geometry.c 2007-03-20 12:07:02 +00:00
Campbell Barton
a51477093b Geometry.c - rewrote my python box-packer algo in C,
packing 2400 rectanges is about 38x faster.

Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project

Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.
2007-03-20 07:23:09 +00:00
Campbell Barton
9759a373d7 Updating own scripts to use Blender.Main, remove Base files. 2007-02-22 15:48:26 +00:00
Campbell Barton
95ac2acf39 uvcalc_lightmap, UVCalc menu, usefull for using the most texture area when baking lightmaps
object_sel2dupgroup, creates a dupliGroup from a set of selected objects, using the active as the transformation for the dupli-ob. The advantage of using thus script is that objects have this transformation removed.
2007-02-19 10:54:33 +00:00