[Bf-committers] commandline nightmare

Daniel Dunbar evilzr at yahoo.com
Wed Mar 30 20:10:36 CEST 2005

Note that one reason the order is important is
to allow "scripting" of render... it is ok to do

blender -b someFile -S somescene -s 1 -e 10 -a -b someOtherFile -S someOtherScene ...

At least I think its ok. ;)

--- Chris Want <cwant at ualberta.ca> wrote:
> Daniel Dunbar wrote:
> > No msvc does not have getopt.
> > 
> > Would using getopt be significantly less work than
> > just cleaning up the code a bit? Doesn't seem like
> > blender needs to do that complicated argument parsing.
> Yeah, it could probably be cleaned up. I guess
> the thing that I am most disappointed by is
> the way that the order of arguments is important,
> but I suppose getopt wouldn't fix that anyway.
> The one advantage that using getopt would have
> is that it would enforce a well known standard
> on the way that commandline args are handled
> (e.g., stuff like -p 0 0 300 300 is very
> non-standard and uses 5 members of the argv
> array).
> My desired application is to send arguments on the
> commandline to python scripts, so I want to look
> at a solution that is more robust than the current
> implementation.
> Chris
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers

daniel dunbar

More information about the Bf-committers mailing list