Commit Graph

91 Commits

Author SHA1 Message Date
Nathan Letwory
a2f9523780 * the installer script so you can do 'scons wininst' (on win32 only, of course)
This installer script is modified from the original one so that the SConstruct
will dynamically add the files that need to go into the installer. This means
that adding a script to release/scripts will automatically put it in the installer.

Also, adding new resource files in bin/.blender/ will make sure that those get
added to the installer.
2004-07-14 14:13:20 +00:00
Willian Padovani Germano
cbe7471905 Interface:
- added submenu "Scripts" in both View3D->Object and Mesh menus.
  Put them on top (it's better to follow some guideline, so users don't have to search for "Scripts" submenu in a different position in each menu), feel free to change.
- added button 'previous win' to SpaceScript, makes accessing buttons win, for example, much faster.  Maybe all spaces could have this button.

BPython:
- added Window.EditMode(), to check, enter and leave edit mode.  Scripts that change mesh data need this to leave edit mode before making changes to the active (G.obedit) mesh, of course.
- updated script bevel_center to use the above function and also popup an error msg if the active obj is not a mesh.
- doc updates, minor fixes.

Forgot to mention in my previous commit that I also updated the "-P" command-line option (for running script files) to be able to run already loaded Blender Texts, too.  So, if you have a script called 'Text' in foo.blend, you can run it with blender foo.blend -P Text .
2004-07-03 17:28:15 +00:00
Willian Padovani Germano
9282827720 New scripts:
- hotkeys, obdatacopier and renameobjectbyblock, all from Jean-Michel Soler (jms);
- bevel_center by Loic Berthe, suggested for inclusion by jms;
- doc_browser, by Daniel Dunbar (Zr)

  Thanks to them for the new contributions!

  (I included doc_browser at 'Misc' because only users interested in script writing would actually use it, but it could also be under 'Help'.  Opinions?)

BPython related:
- Added scriptlink methods to object, lamp, camera and world.
- Object: added object.makeTrack and object.clearTrack (old track method).
- sys: made sys.exists(path) return 0 for not found; 1 for file, 2 for dir and -1 for neither.
- doc updates and fixes.
- made ONLOAD event work.  G.f's SCENESCRIPT bit was being zeroed in set_app_data.
- Blender: updated functions Load and Save to support the builtin importers and exporters besides .blend (dxf, videoscape, vrml 1.0, stl, ...)
- Draw: added mouse wheel events.
- Scene: added scene.play to play back animations (like ALT+A and SHIFT+ALT+A).  Makes a good counter, too, when the 'win' attribute is set to a space that doesn't "animate".

The scene.play() addition and the fix to ONLOAD scriptlinks is part of the work for a Blender demo mode.  It already works, but I'll still add support for Radiosity calculations and fix a thing in main(): it executes onload scripts too early (BIF_Init), giving funny results in alt+a animations and renderings when firing up Blender.  Loading after the program is up has no such problems.  When I finish I'll post examples of demo mode scripts.
2004-07-03 05:17:04 +00:00
Willian Padovani Germano
d5b4fb5736 Scripts:
- Added KlopUtils by Carlos Lopez and Batch Object Name Edit by Campbell Barton (thanks both!)

BPython:
- Fixed things I recently broke in Blender.sys, added Blender.sys.join(dir, file)
- doc and other minor updates
2004-06-24 15:03:08 +00:00
Willian Padovani Germano
61efb63b0c BPython:
- Added function Blender.Save(filename) to save .blend files.
- Added scriptlink-related methods (get, clear, add) to Scene and Materials.  Will still add method remove and add these methods to World, Object, Camera and Lamp.
- Updates and small fixes in docs.
2004-06-24 09:43:13 +00:00
Simon Clitherow
ec6b6314f0 Committing the NSIS installer script changes used for the 2.33a release.
- numerous bug fixes and improvements, that are far too numerous
  to mention here!
- In addition, the new python scripts have been added to the file list,
  bringing it up-to-date (for now!).
2004-06-23 18:43:25 +00:00
Jiri Hnidek
ee07502a04 - Scripts:
small update of ideasman's obj import/export scripts (added support for smooth faces)
2004-06-21 20:32:07 +00:00
Willian Padovani Germano
a41759cb8b - Scripts:
Campbell Barton updated his Wavefront OBJ scripts and Ben Omari updated his DirectX 7 and 8 ones (thanks both).  The other listed scripts had minor updates to accomodate the menu changes.
- Scripts in menus:
  renamed Tools to Object, Generators to Add, and Modifiers to Mesh (Metaball, Curve, Surface can be added later), to integrate better in the interface.
- Fixed a bug in Blender.sys.makename: last letter of file extension was being cut out.
2004-06-21 12:01:23 +00:00
Willian Padovani Germano
ddec3db89d - New Blender.Draw method by Campbell Barton (Cam / ideasman):
PupStrInput, a wrapper for the Blender String popup (thanks!)
- Fixed bug #1374 reported by Gabriel Beloin (gabio, thanks too):
    http://projects.blender.org/tracker/?func=detail&atid=125&aid=1374&group_id=9
    There was a minor mistake in the import menu: vrml called dxf and vice-versa and shortcuts were wrong (removed them).
- Doc updates, minor updates elsewhere.
2004-06-16 01:18:57 +00:00
Jiri Hnidek
3406c81a6b - some bug fix: some vert tVerts and normals are seperated by
1/2/3 OR 1//2//3

- some files for testing could be found at: http://e-learning.vslib.cz/hnidek/misc/objs/
2004-06-15 09:45:29 +00:00
Willian Padovani Germano
467311ad34 - New script:
Wim Van Hoydonck contributed the famous Knife script (put under Modifiers group) developed by Stefano Selleri and himself (thank to both!)
- Added helper function Blender.sys.makename, updated docs and script ac3d_export to use it (shall update other exporters too):
  this function is just a simple helper to format a filename as needed (change extension, strip dirname, it defaults to use G.sce as path).
- Added a test method: Blender.Scene.getScriptlinks(eventName):
  just testing, if this path proves useful other functions will be added and made general, for objects, etc.
2004-06-15 04:16:30 +00:00
Jiri Hnidek
317e067ecb - Campbell Barton's (AKA Ideasman) obj importer script (some split improvements)
- I added support of material and texture import (.mtl files) Textures are assigned to faces and materials too.
2004-06-14 20:51:09 +00:00
Willian Padovani Germano
5d0818494d New script:
Ben Omari contributed a DirectX 8 Exporter (thanks!).  It will probably be updated before 2.34, as some of the other bundled scripts.
2004-06-12 20:46:24 +00:00
Matt Ebb
79c00d658e * Added a spot for scripts to register themselves in the Help menu
* Gave the spiffy new 'System Information' script a new home there
2004-06-11 02:39:22 +00:00
Matt Ebb
d34f89b755 * Edited and consistent-ified the File->Import menu item labels and fileselect button labels, as discussed on the forums.
* Added items for importing DXF, VRML, etc. in the File->Import menu, that just call the normal Open function. Most people don't even know that you can open these formats through the normal Open fileselect, so this will make it more obvious.

* Removed the 'Export Selected' menu, and put poor old lonely STL in the Import and Export menus too. Most of the exporters export only the selected object anyway, so it's not really a necessary distinction to make.
2004-06-11 02:12:37 +00:00
Willian Padovani Germano
a23c6a71da - small updates to scripts and bpython docs, also fixed two warnings;
- added function Blender.sys.exists(path) to check if a given file exists;
- forgot to mention: in my previous commit the blender.html file was also updated slightly.
2004-06-10 15:14:49 +00:00
Willian Padovani Germano
a6d077bae2 Scripts:
- tiny updates for better behavior, unix line endings, cvs Id tags;
- Updated DX7 exporter (thanks to author Ben Omari who's also working on a DX8 one);
- added sysinfo script;

Interface (scripts):

- changed behavior for which win is chosen for script guis:
    Now there's a smarter order, guis will use either:
    - Scripts win
    - Buttons win (if not a script from groups Wizards or Utils)
    - Text win
    - Closest bigger area
- Added a button to the scripts header so that it's faster to return to the buttons win (this can be made general), if that was the previous win used.
2004-06-10 03:27:46 +00:00
Willian Padovani Germano
25a0df8b71 Scripts: Campbell (ideasman) donated two more scripts: bvh motion capture import/export (thanks!). 2004-06-08 05:43:00 +00:00
Willian Padovani Germano
a15b430d71 Scripts: Campbell (ideasman) updated his obj wavefront scripts. 2004-06-08 04:43:40 +00:00
Willian Padovani Germano
b82be27659 Bundled scripts:
-starting updates and new additions for Blender 2.34:
  Some of the new scripts require Python modules not builtin with Blender, so you either need a full Python install or the needed extra modules.  This is an ongoing work, there should be more scripts, better testing and also proper ways to tell users they don't have all expected modules.  It's expected that Win users won't need full Python installs, since we can provide a minimal zip with the needed modules from 2.34 on.

Thanks to Anthony D'Agostino (scorpius), Jean-Michel Soler (jms) and Campbell Barton (Cam / ideasman) for donating the scripts now added / updated.

BPython:
-added two new script menu groups: Tools and Utils.  We still need to find places elsewhere in the gui where the groups can be put.
2004-06-07 01:34:15 +00:00
Matt Ebb
f9fa705cd3 * Added support for python scripts to register themselves
in the UV/Image editor 'UVs' menu

Script authors can use:
Group: 'UV'
 in the headers of their scripts to let them appear in
 this menu.

* Updated the UV Face Layout script to reside in the UVs
 menu, rather than the (incorrect) File->Export menu.
2004-05-25 06:08:49 +00:00
Martin Poirier
f92ff8f25f UV_Export script update. Typo fix and add tga extension automaticly. 2004-05-20 01:18:13 +00:00
Ton Roosendaal
3d3b101541 Added the basic installation notes for each OS.
People might want to check it. :)
2004-05-13 15:02:01 +00:00
Ton Roosendaal
714e8e755d Version 2.33a 2004-05-11 21:49:46 +00:00
Hans Lambermont
b2d1b7cf89 - add 'tar file changed while reading' remark and a commented workaround 2004-05-03 08:12:40 +00:00
Ton Roosendaal
ab4bf7f864 And another error in creating 'release' for MacOS 2004-04-29 19:41:40 +00:00
Ton Roosendaal
dd539a8e63 Changed copying README to copying blender.html instead
Only affects "make release"
2004-04-29 18:25:27 +00:00
Ton Roosendaal
7134022e53 2.33 now, for release building 2004-04-29 17:10:35 +00:00
Ton Roosendaal
7437b23ada Added python license to txt directory for binary releases. 2004-04-29 16:39:39 +00:00
Ton Roosendaal
3102c0dad9 Added (very nice!) new blender.html written by Willian. This will replace
the short README file. The blender.html doc is meant to give new users
quick hints how to survive with Blender.
2004-04-29 10:49:00 +00:00
Daniel Dunbar
e5e4c0fc4f - more binary file patching 2004-04-24 18:38:04 +00:00
Simon Clitherow
255cd235a3 - Returned multi-user support on Win2k/XP.
Now uses 'Application Data/Blender Foundation/Blender' instead of old
  "Not A Number" dir.

- Updated windows installer to make this change transparent for the
  users. It copies /.blender to the new location and displays a short
  message to advise them of the change
  (http://homepages.nildram.co.uk/~aphex/installer_msg.jpg).

- Installer also includes fix for opening blend files from explorer (patch provided by Valentin Ungureanu (vung) - thanks!)

Note to CVS users on Win2k/XP:  Although blender will continue to work
without changes, you should ideally copy the /.blender dir to
<app data>/Blender Foundation/Blender for the sake of correctness :)
2004-04-20 19:12:48 +00:00
Brecht Van Lommel
bce1190874 New icons for the sticky / face select state in the UV editor / Image Window.
The png file containing the icons, 'blenderbuttons', was updated to contain
these new icons. It now also contains the icons from the 2.30 ui makeover.
The file had not been updated since then.
2004-04-05 12:42:23 +00:00
Simon Clitherow
ea82f6e461 - added new translation files pt_br & zh_cn, and the new python scripts
to win installer script.

(Note to self: see if there is a way to automate this with some sed or
awk magic...)
2004-02-01 15:42:14 +00:00
Ton Roosendaal
f5e85cc538 - version upped to 2.32
(warn: still waiting for splash!)
2004-01-31 13:00:31 +00:00
Martin Poirier
675f25000c License update for uv_export 2004-01-30 11:56:32 +00:00
Willian Padovani Germano
8fbed941bc - Last minute script addition (blame / thank Theeth :) -- Theeth's UV Face export script.
- tiny harmless change in module Blender.Material's *doc*.

Aphex: tested your fix for windows (thank you -- and Bill Baxter for reporting):
  It doesn't break anything here (linux).  So probably no need for #ifdef's.
2004-01-30 04:27:28 +00:00
Kent Mein
d8babc260d Added #include <stdio.h>
to get rid of a warning about undefined printf
I know stupid but hey might as well make it do the right thing.

Kent
2004-01-28 19:25:32 +00:00
Willian Padovani Germano
bdc624452b BPython:
-- fixing a last minute bug: scripts w/o guis that called the file selector were
   not being checked for errors, which could cause crash dumps upon exiting.
-- docs: updates for Draw (fixed example) and Material (added tex related methods docs)

Scripts:
-- added some more scripts, all I could get in shape in time (at least they export / import back).
   Only tested on linux.
2004-01-28 19:16:50 +00:00
Kent Mein
aad9662e29 Fixed a couple of explicit references to .blender made them $(CONFDIR)
instead.  Also moved the creation of $(CONFDIR) up so that it
gets created before dumping files into it.  There is still one
extra reference to .blender for osX but I wasn't sure what was going on
so I left it.  It really should be "fixed" though.

Kent
2004-01-28 11:51:13 +00:00
Simon Clitherow
9f170d9f75 - updated "make release" for windows to include new python files.
- updated win32 installer script.
2004-01-27 22:13:41 +00:00
Willian Padovani Germano
33dd2f5e0d BPython:
- as proposed by Ton, default dir for menu enabled scripts is:
userhome/.blender/scripts if available or (using bprogname -- argv[0]),
blenderInstallationDir/.blender/scripts/ otherwise.
- moved a piece of code from BPY_interface.c to BPY_menus.c to get rid
of a linkage warning reported by J. Walton
-- added the first scripts to release/scripts:

We need time to get more scripts there, but the situation should improve
consistently from now on.  Adding three export scripts: cal3d, directX, ac3d.
And one import: ac3d.
2004-01-27 03:34:16 +00:00
Chris Want
57be09f6e2 Modified 'make release' as recommended by J. Walton (removed some @'s) 2004-01-25 23:59:22 +00:00
Chris Want
350310f65a Fix for irix 'make release' 2004-01-25 20:59:06 +00:00
Chris Want
82f8155c3c Fixed a typo in the 'make release' stuff 2004-01-25 18:37:56 +00:00
Chris Want
83cfab301b A few 'make release' related modifications:
* the compiled plugins get moved to .blender/plugins in the
  release tarball (the include and C files remain where they
  were). Please test.

* if they exist, the directories release/scripts and release/bpydata
  get copied to .blender/scripts and .blender/bpydata respectively.
2004-01-25 18:31:05 +00:00
Ton Roosendaal
7a916e3c22 - upped version to 2.31a 2003-12-02 14:30:58 +00:00
Ton Roosendaal
97d507064e - upped VERSION file :) 2003-11-26 22:29:33 +00:00
Kent Mein
9bcf2dcd1c Douglas Bischoff's Fix for Plugins on OSX.
Kent
2003-11-25 20:10:06 +00:00
Ton Roosendaal
f838b38a37 - release code upped to 2.30 as well 2003-10-29 21:03:55 +00:00