f2f52a578a
UV layout export: EPS format
...
Pass an iterator function rather then the iterator its self, allows to loop over the faces twice without making a list.
2011-03-01 17:32:17 +00:00
2be3a334e2
fix [ #26257 ] Colored UV-Map on export
...
- EPS now exports material colors and face fill doesn't overwrite edges (draw in 2 passes).
- added opacity option for EPS/SVG/PNG
2011-03-01 17:22:27 +00:00
b4246549e7
select PoseBone attribute was made only available on bone.
2011-03-01 07:52:13 +00:00
fc0c016940
replace import *'s with named imports (using * is convenient for some scripts but considered bad practice by python devs)
2011-02-27 15:25:24 +00:00
52f92b4cb1
lazy load modules for more scripts.
2011-02-27 14:16:32 +00:00
87acf919a5
lazy load pydoc module. move help() replacement into console code rather then on startup since importing pydoc pulls in lots of other modules too.
2011-02-27 14:08:33 +00:00
8378aa74fa
python console namespace fix, merging namespace dicts was no good, since it pulled in private vars. use normal import command.
2011-02-23 01:20:40 +00:00
e4a69ffb60
fix [ #26104 ] Context Set Boolean op fails [34892i]
...
could give better feedback but these operators are mainly for internal use.
2011-02-19 04:28:07 +00:00
812f238494
pep8 cleanup and remove unused vars/imports
2011-02-17 04:35:41 +00:00
fee5363912
bugfix [ #26094 ] Going to Bone Roll menu brings up python error
...
also correct for pep8 warnings.
2011-02-16 02:25:03 +00:00
8845163574
menu to select an enum from an RNA path:
...
eg,
bpy.ops.wm.context_menu_enum(data_path="scene.tool_settings.vertex_paint.brush.stroke_method")
This saves us defining operators only for menus.
2011-02-15 18:12:41 +00:00
c50bf404d2
patch [ #25978 ] mathutils fixes for bpy_types.py and vertexpaint_dirt.py
...
from Filiciss Muhgue (filiciss)
2011-02-11 12:30:17 +00:00
7f6946d4f7
add torus script wasnt registering.
2011-02-11 03:42:36 +00:00
4612034cf4
patch [ #25809 ] Auto-Registration as utility function.
...
This removes auto-registration, committed by Martin r30961.
Realize this is a contentious topic but Brecht and myself both would rather opt-in registration.
TODO:
- addons need updating.
- class list will be modified to use weakrefs (should have been done for existing system too).
- will move bpy.types.(un)register functions into bpy.utils.(un)register_class, currently including these functions in a type list is internally ugly, scripts which loop over types also need to check for these.
2011-02-10 23:48:22 +00:00
32e3aac6bc
use update() rather then update_tag(), needed for making edge data.
2011-02-08 21:32:26 +00:00
cd95dd42d7
fix own recent error [ #25977 ] Torus disappears when adding "Subdivision Surface"
...
ID's and meshes both have update functions, call the meshes rather then update_tag() for recalculating edges.
2011-02-08 11:20:19 +00:00
d272b70ee0
rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update.
2011-02-07 08:13:28 +00:00
967299ad97
fix [ #25947 ] Smart Project is broken SVN r34664
...
own recent mathutils updates broke this script.
2011-02-06 06:59:11 +00:00
8b52087d83
update for changes in mathutils.
2011-02-05 07:04:23 +00:00
736a7b7a22
pep8 cleanup
2011-02-04 09:27:25 +00:00
076171c5fa
fix [ #25757 ] Torus script uses radians for rotation in panel
2011-01-24 15:25:03 +00:00
8cf1184c04
bad spelling; 'indicies' --> 'indices'
2011-01-18 01:58:19 +00:00
fd7b6519fd
move to bf-extensions
2011-01-15 19:36:01 +00:00
cae4e92ce8
bugfix [ #25640 ] Cannot edit custom property values in it's popup window
2011-01-15 19:15:35 +00:00
c69ecd3f90
moving io scripts to 'addons' dir in extensions svn, leaving MDD format since I dont maintain this.
2011-01-14 17:28:10 +00:00
9d8d25cc34
add icons to show community vs official scripts as well as buttons to filter by support level (currently all scripts default to community)
...
note: we need better icons for this.
also formatting edit for ply import.
2011-01-14 16:49:43 +00:00
3bf46c57c9
add ply import into the file menu.
2011-01-14 00:23:21 +00:00
ac5b048e99
initial 2.5x api port. basically working.
2011-01-14 00:06:43 +00:00
7c7b31cf84
python3 updates:
2011-01-13 23:38:25 +00:00
de5d321e71
pep8 cleanup.
2011-01-13 23:31:04 +00:00
a1850ed876
ply importer from 2.4x, no changes made.
...
svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/ply_import.py release/scripts/op/io_mesh_ply/import_ply.py
2011-01-13 23:28:36 +00:00
9146ca06dd
pep8 corrections.
2011-01-13 23:00:51 +00:00
29338aa2b3
fix for x3d importer
...
- files blender exports (blender uses unusual array formatting).
- scene needed to be rotated on import.
- lamp spot size was half as big as it needed to be.
x3d export typo broke image export.
2011-01-13 22:44:47 +00:00
6a9d93a339
fix for NULL missing pointer check, reported on IRC by admix.
...
also rename BVH class for consistency.
2011-01-13 05:05:10 +00:00
0384be9644
bugfix [ #25595 ] Adding Torus when in edit mode strange behavior.
...
also added Align View option and made local view cursor work.
2011-01-12 15:45:00 +00:00
792bf1535f
add x3d/vrml importer into the menu.
2011-01-12 08:20:09 +00:00
ac64114d1b
vrml/x3d import
...
now its basically usable, next step is to add menu item.
update for changes in mathutils api.
- fix radians/degrees usage
- correct matrix multiplication order
- primitives were being imported twice the size they should be.
- uv transformations were not working.
2011-01-12 08:02:27 +00:00
8397e3e476
continued x3d/vrml import update from 2.4x version
...
- parsed over 1000 vrml test files
- animataion import works again
- importing curves works again
2011-01-11 13:42:22 +00:00
22577d98c9
initial x3d/vrml importer port from 2.4x.
...
some files import now.
- no animation support yet
- no rad/deg conversion changes from 2.4x
- matrix multiplication still needs switching.
2011-01-11 02:49:01 +00:00
35e68e9785
- bpy.data.lamps.new() now takes a type argument since lamp type also sets class type this avoids needing to use ugly lamp.type_recast() after changing type.
...
- default vertex color layer name was UTTex when added from python.
2011-01-11 02:30:01 +00:00
bfcea85c6f
x3d import now passes pep8 checker
2011-01-10 13:56:14 +00:00
ff204a1e4d
x3d import tabs -> spaces
2011-01-10 13:16:04 +00:00
f5c203af73
copy x3d/vrml importer from blender 2.4x.
...
svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/import_web3d.py release/scripts/op/io_scene_x3d/import_x3d.py
2011-01-10 13:11:56 +00:00
7bc46973d2
script now passes pep8 checking tool.
2011-01-09 17:35:29 +00:00
d9c24f7e7c
patch from Andrea Rugliancich, dont export locations for bones which are connected to their parents.
...
note, we could be smarter about not exporting animation channels which are not needed.
2011-01-09 16:46:01 +00:00
9cb71d1159
update for change to Matrix class.
2011-01-09 15:09:18 +00:00
e14247d079
bugfix [ #25522 ] Export to X3D is missing ImageTexture and TextureTransform for plane with image texture
...
- tile option was broken.
- added basic export of texture/mtex transformation.
- recent mesh update broke material/image export with no UVs
2011-01-07 02:39:48 +00:00
149955b3e2
print_m3/m4 didnt use const char *, which gave an errror with passing strings & pedantic warnings.
...
also minor rename in bvh export
2011-01-06 13:49:09 +00:00
3ecacb5654
fix [ #25507 ] Select Interior faces in edit mode gives python error
2011-01-06 05:45:41 +00:00
9b8cbe47bd
error in recent x3d commit using undefined autosmooth var.
2011-01-06 01:45:25 +00:00