Hello,
I've been getting really stuck trying to use the scripts posted previously in this forum and it appears I can't reply directly to those old threads any more.
It seems like DriesV's script should do mostly what I need, but it doesn't produce the expected behavior at all in Keyshot 9.3
https://forum.keyshot.com/index.php?topic=11923.msg64443#msg64443 (https://forum.keyshot.com/index.php?topic=11923.msg64443#msg64443)
I'm going to keep this thread updated with my efforts, but if anyone already has a working, updated script, I'd be very grateful.
The goal workflow for now is:
1. Import first frame and set material
2. Set up environment, camera, lighting
3. Run script that will:
* hide all geometry
* import next OBJ
* apply material template
* add to render queue, maintaining camera, lighting, environment
It would be really nice to see this incorporated into Keyshot one day as a proper workflow considering all the traffic on these various posts asking a variation of the same thing.
After abandoning the user scripts and staring at the behavior of the built-in Render Images script, I realized the only thing really breaking that script was lack of import options and the lux.newScene() call. I replaced this with
root = lux.getSceneTree()
root.hide()
and it appears to be doing the minimum that I was looking to achieve.
I'll be tracking my script here: https://github.com/nickteeple/keyshot-obj-sequence-import (https://github.com/nickteeple/keyshot-obj-sequence-import)