3D-Print Toolbox - Bounds: Exception when no object is selected #82760
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#82760
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.43
Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-16 07:27, hash:
blender/blender@8fd27c152a
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: 3D-Print Toolbox
Author: Campbell Barton
Short description of error
An exception is thrown when no object is selected and Sidebar > 3D-Print > Transform > Bounds (
bpy.ops.mesh.print3d_scale_to_bounds()
) is used.This is a proper report for the issue originally reported in #81716
Exact steps for others to reproduce the error
File "Z:\01_git\01_contribution\blender-git\build_windows_Release_x64_vc16_Release\bin\RelWithDebInfo\2.92\scripts\addons\object_print3d_utils\operators.py", line 680, in invoke
Vector(v) @ obj.matrix_world for obj in context.selected_editable_objects
File "Z:\01_git\01_contribution\blender-git\build_windows_Release_x64_vc16_Release\bin\RelWithDebInfo\2.92\scripts\addons\object_print3d_utils\operators.py", line 671, in calc_length
return max(((max(v[i] for v in vecs) - min(v[i] for v in vecs)), i) for i in range(3))
File "Z:\01_git\01_contribution\blender-git\build_windows_Release_x64_vc16_Release\bin\RelWithDebInfo\2.92\scripts\addons\object_print3d_utils\operators.py", line 671, in
return max(((max(v[i] for v in vecs) - min(v[i] for v in vecs)), i) for i in range(3))
File "Z:\01_git\01_contribution\blender-git\build_windows_Release_x64_vc16_Release\bin\RelWithDebInfo\2.92\scripts\addons\object_print3d_utils\operators.py", line 680, in invoke
Vector(v) @ obj.matrix_world for obj in context.selected_editable_objects
File "Z:\01_git\01_contribution\blender-git\build_windows_Release_x64_vc16_Release\bin\RelWithDebInfo\2.92\scripts\addons\object_print3d_utils\operators.py", line 671, in calc_length
return max(((max(v[i] for v in vecs) - min(v[i] for v in vecs)), i) for i in range(3))
File "Z:\01_git\01_contribution\blender-git\build_windows_Release_x64_vc16_Release\bin\RelWithDebInfo\2.92\scripts\addons\object_print3d_utils\operators.py", line 671, in
return max(((max(v[i] for v in vecs) - min(v[i] for v in vecs)), i) for i in range(3))
Added subscriber: @rjg
#81554 was marked as duplicate of this issue
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @Wabba, @PratikPB2123