Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Traceback (most recent call last): #27

Open
TemmieDola opened this issue Jan 13, 2024 · 0 comments
Open

Python: Traceback (most recent call last): #27

TemmieDola opened this issue Jan 13, 2024 · 0 comments

Comments

@TemmieDola
Copy link

Texel_Density_2023_2_Bl400

I got an error when I try to calculate or set TD to many meshes. I also tryed older version

Python: Traceback (most recent call last):
  File "C:\Users\TemmieDola\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Texel_Density_2023_2_Bl400\add_td_operators.py", line 104, in execute
    bpy.ops.object.texel_density_set()
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py", line 113, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\TemmieDola\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Texel_Density_2023_2_Bl400\core_td_operators.py", line 299, in execute
    bpy.ops.object.texel_density_check()
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py", line 113, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\TemmieDola\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Texel_Density_2023_2_Bl400\core_td_operators.py", line 90, in execute
    local_texel_density += face_td_area_list[face_id][0] * face_td_area_list[face_id][1] / local_area
ZeroDivisionError: float division by zero
Location: C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py:113
Location: C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py:113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant