Export Paper Model fails #102156

Open
opened 2022-10-29 23:16:23 +02:00 by first last · 2 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: blender/blender@b292cfe5a9
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Export Paper Model (1, 2)
Author: Addam Dominec

Short description of error
Export Paper Model fails due to "no attribute neighbor_right"

Exact steps for others to reproduce the error
Open Attached file, export paper model with default settings.
gord.png

gord.blend1

gord.blend

Error log follows
Python: Exception ignored in: <function Unfolder.del at 0x000001109D6F1990>
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 192, in __del__
  self.mesh.delete_uvmap()
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 302, in delete_uvmap
  self.data.loops.layers.uv.remove(self.looptex) if self.looptex else None

ReferenceError: BMesh data of type BMesh has been removed
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 2099, in execute
  self.unfolder.save(self.properties)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 236, in save
  self.mesh.generate_stickers(properties.sticker_width, properties.do_create_numbers)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 468, in generate_stickers
  if not is_index_obvious(uvedge, target):
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 453, in is_index_obvious
  if uvedge in (target.neighbor_left, target.neighbor_right):

AttributeError: 'UVEdge' object has no attribute 'neighbor_right'. Did you mean: 'neighbor_left'?

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `blender/blender@b292cfe5a9` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Export Paper Model (1, 2) Author: Addam Dominec **Short description of error** Export Paper Model fails due to "no attribute neighbor_right" **Exact steps for others to reproduce the error** Open Attached file, export paper model with default settings. ![gord.png](https://archive.blender.org/developer/F13801407/gord.png) [gord.blend1](https://archive.blender.org/developer/F13801408/gord.blend1) [gord.blend](https://archive.blender.org/developer/F13801409/gord.blend) Error log follows Python: Exception ignored in: <function Unfolder.__del__ at 0x000001109D6F1990> Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 192, in __del__ self.mesh.delete_uvmap() File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 302, in delete_uvmap self.data.loops.layers.uv.remove(self.looptex) if self.looptex else None ``` ReferenceError: BMesh data of type BMesh has been removed Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 2099, in execute self.unfolder.save(self.properties) File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 236, in save self.mesh.generate_stickers(properties.sticker_width, properties.do_create_numbers) File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 468, in generate_stickers if not is_index_obvious(uvedge, target): File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_export_paper_model.py", line 453, in is_index_obvious if uvedge in (target.neighbor_left, target.neighbor_right): ``` AttributeError: 'UVEdge' object has no attribute 'neighbor_right'. Did you mean: 'neighbor_left'?
Author

Added subscriber: @nuvasuper

Added subscriber: @nuvasuper
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#102156
No description provided.