I don't have the skill set to code this script, it's for helping with SC fan art
http://pastebin.com/awGMjqNB
Anyone know anyone or are you someone who can write it?
TL;DR version: Need a script to parse SC's prefab XML files to rebuild ships/hangars/structures in Cinema 4D using ripetide pro as the importer. For the art! lol
I hit up freelancer websites, haven't had any bites yet that I'd trust or that are reasonable,
I know it wouldn't be a hard script to write. Just.. well.. way to hard for me right now.. I'm a glorious simple minded dummy.
I think these would be the script steps
Here's an example of a C4D script where I used Riptide pro x3 times to import an object,
setting or information for riptide pro was not passed into the log. So in other words, this won't work since this call command won't pass variables to the riptide pro plugin. I need to find if there's a way to pass variables to ripetide pro.
This is a link to the info on the riptide pro plugin
https://skinprops.com/riptidepro.php
##########################################################################
Edit:
Because Riptide pro's plugin author confirmed python variables can't be passed to his plugin, the only option left is to modify the powershell script from Markemp.
http://pastebin.com/awGMjqNB
Anyone know anyone or are you someone who can write it?
TL;DR version: Need a script to parse SC's prefab XML files to rebuild ships/hangars/structures in Cinema 4D using ripetide pro as the importer. For the art! lol
I hit up freelancer websites, haven't had any bites yet that I'd trust or that are reasonable,
I know it wouldn't be a hard script to write. Just.. well.. way to hard for me right now.. I'm a glorious simple minded dummy.
I think these would be the script steps
- -let user browse for and select xml file
- -parse xml data and only store/que/use object path and file name with it's position and rotation values
- -call riptide pro to import (with last used settings) the OBJ with the path+filename.obj
- -move newly imported object to absolute position and rotation values else report import error in a log file
- -move onto next object in the XML
Here's an example of a C4D script where I used Riptide pro x3 times to import an object,
setting or information for riptide pro was not passed into the log. So in other words, this won't work since this call command won't pass variables to the riptide pro plugin. I need to find if there's a way to pass variables to ripetide pro.
Code:
import c4d
from c4d import documents, plugins
#Welcome to the world of Python
def main():
c4d.CallCommand(300000116, 300000116) # Script Log...
c4d.CallCommand(1026718, 1026718) # New
c4d.CallCommand(1022494, 1022494) # #$02.Obj Importer
c4d.CallCommand(1022494, 1022494) # #$02.Obj Importer
c4d.CallCommand(1022494, 1022494) # #$02.Obj Importer
if __name__=='__main__':
main()
c4d.EventAdd()
https://skinprops.com/riptidepro.php
##########################################################################
Edit:
Because Riptide pro's plugin author confirmed python variables can't be passed to his plugin, the only option left is to modify the powershell script from Markemp.
Last edited: