-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to automate .rdc processing #39
Comments
You can "record" macros in Blender by more or less copying what appears in the "info" window to a python file. For instance, if you put this in import bpy
bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.delete()
bpy.ops.import_rdc.google_maps(filepath="/tmp/capture.rdc", max_blocks=10)
bpy.ops.wm.save_mainfile(filepath="/tmp/capture.blend") Then you can run in command line |
Thank you, you tool is amazing and your advice extremely helpful! |
For anyone else wondering, I just wrote it up as a nice script that you can just paste into your Text Editor:
|
I have created an automation script that handles this plugin and if you have the Lily Capture Merger and Lily Texture Packer it handles them as well, my solution is in a pre-release stage and will be undergoing further improvements and will be providing a video tutorial on how to ensure a successful operation of this. |
I am wondering whether there is a simple way to automate .rdc processing? I am thinking of a little Python loop that performs the following steps for each .rdc file in a provided directory:
I believe such a tool would be extremely useful because it can take several minutes (at least on my machine) to open an *rdc file and only a few seconds to open a *.blend
I would be very grateful for any advice on how to implement this (main question: how to call the rdc importer from a python script?)
Thanks in advance!
The text was updated successfully, but these errors were encountered: