Skip to content

Instantly share code, notes, and snippets.

View AndrewHazelden's full-sized avatar

Andrew Hazelden AndrewHazelden

View GitHub Profile
@AndrewHazelden
AndrewHazelden / Camera Sensor Database.lua
Last active May 29, 2024 20:38
A Resolve Studio/Fusion Studio Lua script to apply camera sensor information to Camera3D, uCamera, CameraTracker, Renderer3D, and uRenderer nodes.
--[[--
Camera Sensor Database v1 - 2024-05-29 05.30 PM (UTC -3)
Database By: Jacob Danell <[email protected]>
Fusion Studio GUI By: Andrew Hazelden <[email protected]>
Overview:
Apply camera sensor information to BMD Fusion Studio based Camera3D, uCamera, CameraTracker, Renderer3D, and uRenderer nodes.
@BigRoy
BigRoy / fusion_python_frame_flowview_to_selected.py
Created December 16, 2022 19:01
Example of how to frame the FlowView to all tools, selected tools or specified tools using Python (tested in Fusion 18.1.1 Build 7)
def get_correct_position(tool):
"""Get position of a tool that is usable for FlowView positions"""
result = tool.SaveSettings()
for tool in result["Tools"].values():
pos = tool["ViewInfo"]["Pos"]
return pos[1], pos[2]
@cedricduriau
cedricduriau / fusion_getallregistryattributes.lua
Last active March 18, 2021 12:42
Fusion Comp Script to dump all registry attributes into a json file.
local json = require("dkjson")
function get_registry_info()
local data = {}
for _i, registry in ipairs(fusion:GetRegList()) do
data[registry.ID] = {}
for k, v in pairs(fusion:GetRegAttrs(registry.ID)) do
table.insert(data[registry.ID], k)
end
end