Archive Composition Script
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Archive Composition Script
I've started the collaborative process of updating the Fusion 7 "Archive Composition" script so it will also support Fusion 8.2. My goal is to add macOS and Linux compatibility to the script as well.
Here is a copy of the original script: Here is my initial edited version (still has broken support for Fusion 8): Patch 1 Revisions:
Changed TIME_UNDEFINED to fu.TIME_UNDEFINED
Todo: Remove lua-fs dependencies like readdir
Here is a copy of the original script: Here is my initial edited version (still has broken support for Fusion 8): Patch 1 Revisions:
Changed TIME_UNDEFINED to fu.TIME_UNDEFINED
Todo: Remove lua-fs dependencies like readdir
You do not have the required permissions to view the files attached to this post.
Last edited by AndrewHazelden 8 years ago, edited 2 times in total.
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Re: Archive Composition Script
Here is a further edited script:
Patch 2 Revisions:
- Changed direxists(dir) function to work with Fusion 8
- Added a createdir(dir) function
- Added fu_major_version variable
- Added an operating system platform check and an os_separator variable
You do not have the required permissions to view the files attached to this post.
Last edited by AndrewHazelden 8 years ago, edited 1 time in total.
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Re: Archive Composition Script
This updated script mostly works now when I test it on Fusion 8.2 on macOS.
A remaining bug I've noticed is that bmd.scriptlib will need to be used to check if a movie file is a movie so the script doesn't try and add a frame number between the video clip's base filename and the .mov extension.
PingKing has mentioned on the bug tracker that there is a bmd.scriptlib error that effects calls to the eyeon.SV_GetFrames() function. This will have to be worked around.
Patch 3 Revisions:
PingKing has mentioned on the bug tracker that there is a bmd.scriptlib error that effects calls to the eyeon.SV_GetFrames() function. This will have to be worked around.
Patch 3 Revisions:
- changed : GetNextCompositionSave() function to work Fusion 8 and on macOS/Linux
- changed : folder paths and directory creation code to be cross platform compatible
- added : operating system platform check and an os_separator variable
- Todo: Use bmd.scriptlib to check if a clip is a movie so there isn't a dummy frame number added to the movie filename before the frame extension
You do not have the required permissions to view the files attached to this post.
Last edited by AndrewHazelden 8 years ago, edited 1 time in total.
- nsf
- Fusioneer
- Posts: 229
- Joined: 10 years ago
- Contact:
Re: Archive Composition Script
Nice Andrew!
It works on WIN7 (didnt use the video, just sequences) just tried it.
One thing to add though, even that it is a problem since F7.
Theres an option to include the FBX, which is fine, but it wont include ABC, format added to Fusion 7.
It works on WIN7 (didnt use the video, just sequences) just tried it.
One thing to add though, even that it is a problem since F7.
Theres an option to include the FBX, which is fine, but it wont include ABC, format added to Fusion 7.
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Re: Archive Composition Script
Is this what you were looking for nsf:nsf wrote:Theres an option to include the FBX, which is fine, but it wont include ABC, format added to Fusion 7.
Here is patch v4 that works with AlembicMesh3D nodes: Patch 4 Revisions:
- added : alembic mesh support
You do not have the required permissions to view the files attached to this post.
- nsf
- Fusioneer
- Posts: 229
- Joined: 10 years ago
- Contact:
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Re: Archive Composition Script
updated: 2017.06.12 - Pieter Van Houte - v2.1
changed: incorporated SV_GetFrames from bmd.scriptlib and adjusted to work with Fu8+
changed: replaced eyeon.SV_GetFrames() with SV_GetFrames()
changed: incorporated SV_GetFrames from bmd.scriptlib and adjusted to work with Fu8+
changed: replaced eyeon.SV_GetFrames() with SV_GetFrames()
You do not have the required permissions to view the files attached to this post.
-
andromeda_girl
Re: Archive Composition Script
okay... problem.
no matter where I create a destination folder, the script doesn't find it?

no matter where I create a destination folder, the script doesn't find it?
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Re: Archive Composition Script
Sorry for the delay in replying. Are you running into issues with the script on Fu 8 or Fu 9?andromeda_girl wrote:this is why starting a new thread gets results
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
-
andromeda_girl
Re: Archive Composition Script
hi,
-- don't mind me, i'm just lazy and bitchy sometimes.
this is in fu9 studio on windows 10 x64 pro
oh that post- no, i found what folder the script goes into. was a bit of trial and error before i got it
but then it doesn't find the folder you create or select for the archive.
i tried it in different locations, on different drives, even just using 'new folder' instead of making it something specific and using pre-existing folders.
but the script keeps giving an error saying it 'cannot find folder [names folder] specified' right after making/selecting it, so i find it a bit confusing.
not sure if it's me doing something wrong or what, but it's pretty simple, you just create or select a folder for it and then the -only- thing you can do next is select 'open' but then it tells you it can't find it for the archive script.
thanks for helping,
Au
-- don't mind me, i'm just lazy and bitchy sometimes.
this is in fu9 studio on windows 10 x64 pro
oh that post- no, i found what folder the script goes into. was a bit of trial and error before i got it
but then it doesn't find the folder you create or select for the archive.
i tried it in different locations, on different drives, even just using 'new folder' instead of making it something specific and using pre-existing folders.
but the script keeps giving an error saying it 'cannot find folder [names folder] specified' right after making/selecting it, so i find it a bit confusing.
not sure if it's me doing something wrong or what, but it's pretty simple, you just create or select a folder for it and then the -only- thing you can do next is select 'open' but then it tells you it can't find it for the archive script.
thanks for helping,
Au
- SecondMan
- Site Admin
- Posts: 7924
- Joined: 10 years ago
- Location: Vancouver, Canada
- Mood:
- Has thanked: 78 times
- Been thanked: 72 times
- Contact:
Re: Archive Composition Script
It's not something silly like spaces or special characters in the folder name, is it?
- AndrewHazelden
- Fusius Of Borg
- Posts: 2598
- Joined: 10 years ago
- Location: West Dover, Nova Scotia, Canada
- Has thanked: 2 times
- Been thanked: 7 times
- Contact:
Re: Archive Composition Script
That might be a possibility I hadn't thought of.SecondMan wrote:It's not something silly like spaces or special characters in the folder name, is it?
Is the filepath for each of the assets using all ASCII characters or do you have Unicode multi-byte glyphs in the filepath like Big5 HKSCS characters? That might be an issue that hasn't been tested thoroughly.