Working Decimate script
This commit is contained in:
parent
e53991945e
commit
b09b72ae73
1936
example/suzanne.obja
1936
example/suzanne.obja
File diff suppressed because it is too large
Load Diff
4
obja.py
4
obja.py
|
@ -89,7 +89,7 @@ class VertexError(Exception):
|
|||
"""
|
||||
Pretty prints the error.
|
||||
"""
|
||||
return f'There is no vertex {self.index} (line {self.line})'
|
||||
return f"There is no vertex {self.index} (line {self.line})"
|
||||
|
||||
|
||||
class FaceError(Exception):
|
||||
|
@ -99,7 +99,7 @@ class FaceError(Exception):
|
|||
|
||||
def __init__(self, index, line):
|
||||
"""
|
||||
Creates the error from index of the referenced face and the line where the error occured.
|
||||
Creates the error from index of the referenced face and the line where the error occurred.
|
||||
"""
|
||||
self.line = line
|
||||
self.index = index
|
||||
|
|
Loading…
Reference in New Issue