a1studmuffin / SpaceshipGenerator

A Blender script to procedurally generate 3D spaceships
Other
7.68k stars 437 forks source link

GUI + batch-autogeneration of different spaceships? #52

Open rubyFeedback opened 2 years ago

rubyFeedback commented 2 years ago

Would it be possible to add a trivial GUI such as via pygobject, as well as means to generate different spaceships via blender from the commandline, to then display these as-is?

That way the user could select the model that may be most appropriate such as for a game that makes use of spaceships, a bit like context free grammar works (example for what I mean can be seen at the cfdg gallery: https://www.contextfreeart.org/gallery/search.php?t=new&num=25)

Obviously this suggestion "works" only if the required work is not too enormous, so perhaps the first step would be to have a way for the SpaceshipGenerator to batch-generate different models via the commandline, and then when that works plug in a minimal GUI that shows these different results as-is via that app).

ldo commented 2 years ago

It’s an operator, just like any other Blender addon. Any operator can be invoked from the Python API. And Blender already has the ability to run in batch mode and execute an arbitrary Python script.

So all the pieces exist, you just have to use them.