This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |