Skip to content

Instantly share code, notes, and snippets.

@mstergiou
mstergiou / fspyNukeImporter.py
Created December 15, 2023 12:56 — forked from MitchellKehn/fspyNukeImporter.py
[Import fSpy JSON to Nuke] load a json file with camera data from fSpy into Nuke for single frame camera alignment https://fspy.io/ #fspy #nuke
import json
import nuke
def Matrix4toList(M):
mVals = []
for i in range(len(M)):
mVals.append(M[i])
return mVals
# --- load file ---