STL importer doesn't work with "Facet Normals" enabled #74940

Open
opened 2020-03-19 22:12:32 +01:00 by Robert Guetzkow · 2 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-19 16:19, hash: blender/blender@3be7d74cba
Worked: 2.79

Short description of error
The .stl importer fails to import a model when the Facet Normals option is enabled. Cause of the problem is that show_edge_sharp is used in create_and_link_mesh() ([blender_utils.py ]]), which has been [ https:*docs.blender.org/api/current/change_log.html?highlight=show_edge_sharp#id114 | removed in the Python API changes from 2.79 to 2.80.

Exact steps for others to reproduce the error
Take any .stl and import it with the Facet Normal option enabled.

cube.stl

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30 **Blender Version** Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-19 16:19, hash: `blender/blender@3be7d74cba` Worked: 2.79 **Short description of error** The .stl importer fails to import a model when the *Facet Normals* option is enabled. Cause of the problem is that `show_edge_sharp` is used in `create_and_link_mesh()` ([blender_utils.py ]]), which has been [[ https:*docs.blender.org/api/current/change_log.html?highlight=show_edge_sharp#id114 | removed in the Python API changes ](https:*developer.blender.org/diffusion/BA/browse/master/io_mesh_stl/blender_utils.py) from 2.79 to 2.80. **Exact steps for others to reproduce the error** Take any .stl and import it with the *Facet Normal* option enabled. [cube.stl](https://archive.blender.org/developer/F8416484/cube.stl)
Author
Member

Added subscriber: @rjg

Added subscriber: @rjg
Robert Guetzkow changed title from STL importer doesn't work with Facet Normals enabled to STL importer doesn't work with "Facet Normals" enabled 2020-03-19 22:21:29 +01:00
Author
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
1 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#74940
No description provided.