Skip to content

Instantly share code, notes, and snippets.

View Pankraz01's full-sized avatar
😀

Daniel Pankraz01

😀
  • Germany
View GitHub Profile
@Pankraz01
Pankraz01 / OBJ to FBX Converter.py
Created November 20, 2023 14:43
Pyhton Script: OBJ to FBX Converter
import aspose.threed as a3d
import tkinter as tk
from tkinter import filedialog
def select_files_and_convert():
root = tk.Tk()
root.withdraw() # Versteckt das Hauptfenster von Tkinter
# Öffnen des Dateiauswahldialogs für die Eingabedatei
input_file_path = filedialog.askopenfilename(title="Wählen Sie die zu konvertierende OBJ-Datei aus", filetypes=[("OBJ files", "*.obj")])
@Pankraz01
Pankraz01 / Timecode Converter.py
Last active November 21, 2023 13:29
Timecode Converter EDL (23.978 to 25 FPS)
import pandas as pd
import tkinter as tk
from tkinter import filedialog
def frames_to_timecode(frames, fps):
"""Konvertiert Frames zurück in einen Timecode, beginnend bei 10 Stunden."""
h = frames // (3600 * fps)
frames %= (3600 * fps)
m = frames // (60 * fps)
frames %= (60 * fps)