What's new

rendering software

danwrnr11

Member
Has anyone written a script to launch "Blender" as rendering software just as "Keyshot " has a script that is launched at it's installation?
 

simonb65

Alibre Super User
Has anyone written a script to launch "Blender" as rendering software just as "Keyshot " has a script that is launched at it's installation?
I've written an in house Add-on with it in! but not using AlibreScript. Not sure if the ExportOBJ function is available in AlibreScript yet, but it was added to the API in the last service patch.

My Add-On ...
1666212506144.png

The process is:

1) Export the current part using ExportOBJ. Save the object file as the partname.obj. Alibre saves an associated material (face colours, etc) file too.
2) Start a Blender process and pass it the name of the .obj file as one of its command line arguments.

I'm sure someone better at Python than me (I'm a C/C++/C# kinda guy) could soon give you some example code (as ling as ExportOBJ is available to AlibreScript!!)
 
Last edited:
Top