summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRishi-k-s <rishikrishna.sr@gmail.com>2024-07-09 23:53:02 +0530
committerRishi-k-s <rishikrishna.sr@gmail.com>2024-07-09 23:53:02 +0530
commitfdc747d15a0200157cb5b7438b70cf616b5ba793 (patch)
treea9917518d0464fed5a3e3a949f3b12f3796d39f0
parentd30bc2da629944b715a7823515fab56fda5b7391 (diff)
error with viewerHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--__pycache__/arcball.cpython-311.pycbin0 -> 7065 bytes
-rw-r--r--__pycache__/engine.cpython-311.pycbin0 -> 15622 bytes
-rw-r--r--__pycache__/functions.cpython-311.pycbin0 -> 9696 bytes
-rw-r--r--functions.py8
-rw-r--r--requirements.txtbin202 -> 202 bytes
-rw-r--r--resource/__pycache__/shaders.cpython-311.pycbin0 -> 1808 bytes
7 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b694934
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.venv \ No newline at end of file
diff --git a/__pycache__/arcball.cpython-311.pyc b/__pycache__/arcball.cpython-311.pyc
new file mode 100644
index 0000000..af8cc0f
--- /dev/null
+++ b/__pycache__/arcball.cpython-311.pyc
Binary files differ
diff --git a/__pycache__/engine.cpython-311.pyc b/__pycache__/engine.cpython-311.pyc
new file mode 100644
index 0000000..e11d297
--- /dev/null
+++ b/__pycache__/engine.cpython-311.pyc
Binary files differ
diff --git a/__pycache__/functions.cpython-311.pyc b/__pycache__/functions.cpython-311.pyc
new file mode 100644
index 0000000..34612e9
--- /dev/null
+++ b/__pycache__/functions.cpython-311.pyc
Binary files differ
diff --git a/functions.py b/functions.py
index ad583cd..855c0e0 100644
--- a/functions.py
+++ b/functions.py
@@ -1,7 +1,7 @@
from PyQt5.QtWidgets import QColorDialog, QMessageBox
from PyQt5 import QtWidgets
from OpenGL.GLUT import *
-import openmesh
+# import openmesh
import re
@@ -14,10 +14,10 @@ def open_file_ask(opengl_obj, obj_path, obj_name, uv_label, material_label, draw
def open_file(file_name, opengl_obj, obj_path, obj_name, uv_label, material_label, drawcalls_label, vertices_label, triangles_label, edges_label):
- mesh = openmesh.read_trimesh(file_name)
- opengl_obj.set_mesh(mesh)
+ # mesh = openmesh.read_trimesh(file_name)
+ # opengl_obj.set_mesh(mesh)
set_name(file_name, obj_path, obj_name)
- set_file_info(mesh, vertices_label, triangles_label, edges_label)
+ # set_file_info(mesh, vertices_label, triangles_label, edges_label)
_, file_extension = os.path.splitext(file_name)
file_format = file_extension.replace(".", "")
diff --git a/requirements.txt b/requirements.txt
index 9a24b5c..16b05a6 100644
--- a/requirements.txt
+++ b/requirements.txt
Binary files differ
diff --git a/resource/__pycache__/shaders.cpython-311.pyc b/resource/__pycache__/shaders.cpython-311.pyc
new file mode 100644
index 0000000..b78dcb8
--- /dev/null
+++ b/resource/__pycache__/shaders.cpython-311.pyc
Binary files differ