3D Print Toolbox generates a corrupted file when no object is active #100232

Closed
opened 2022-08-05 19:58:26 +02:00 by Jimmer Sivertsen · 3 comments

System Information
Operating system: Linux-4.15.0-189-generic-x86_64-with-glibc2.27 64 Bits (More specifically, Ubuntu 18.04 LTS)
Graphics card: Mesa DRI Intel(R) HD Graphics 520 (SKL GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 20.0.8

Blender Version3DPrintToolBoxError.blend

3DPrintToolBoxError-Cube.stl
Broken: version: 3.3.0 Beta, branch: master, commit date: 2022-07-28 22:39, hash: blender/blender@6ca602dd9f
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: 3D-Print Toolbox ()
Author: Campbell Barton

Short description of error
When no mesh is selected, but Export is clicked - it will create an 84 byte file, with the name of the last mesh selected.

Expected result: either no file is exported or the previously selected mesh is exported.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]

  1. Add a cube mesh in Blender. (any mesh works)
  2. Deselect the object
  3. Using 3D Print Toolbox, click Export.

(Junk file is created with the file+object name.)

It does not matter what format (OBJ/STL/PLY/X3D) is set for export - the file sizes will be different, but none of them can be read.

[Based on the default startup or an attached .blend file (as simple as possible)]
Attached both a basic .blend file, and the corrupted 84 byte stl cube generated from the 3D Print Toolbox plugin export button.

**System Information** Operating system: Linux-4.15.0-189-generic-x86_64-with-glibc2.27 64 Bits (More specifically, Ubuntu 18.04 LTS) Graphics card: Mesa DRI Intel(R) HD Graphics 520 (SKL GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 20.0.8 **Blender Version**[3DPrintToolBoxError.blend](https://archive.blender.org/developer/F13338102/3DPrintToolBoxError.blend) [3DPrintToolBoxError-Cube.stl](https://archive.blender.org/developer/F13338103/3DPrintToolBoxError-Cube.stl) Broken: version: 3.3.0 Beta, branch: master, commit date: 2022-07-28 22:39, hash: `blender/blender@6ca602dd9f` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: 3D-Print Toolbox () Author: Campbell Barton **Short description of error** When no mesh is selected, but Export is clicked - it will create an 84 byte file, with the name of the last mesh selected. Expected result: either no file is exported or the previously selected mesh is exported. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] 1. Add a cube mesh in Blender. (any mesh works) 2. Deselect the object 3. Using 3D Print Toolbox, click Export. (Junk file is created with the file+object name.) It does not matter what format (OBJ/STL/PLY/X3D) is set for export - the file sizes will be different, but none of them can be read. [Based on the default startup or an attached .blend file (as simple as possible)] Attached both a basic .blend file, and the corrupted 84 byte stl cube generated from the 3D Print Toolbox plugin export button.

Added subscriber: @JimmerSivertsen

Added subscriber: @JimmerSivertsen
Member

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

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

Same bug as #97652 I assume?

Same bug as #97652 I assume?
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-03-13 22:51:11 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#100232
No description provided.