Skip to content

Error in 3D viewer with "picked" coordinate display #183

Description

@ssilburn

The following exception raised in the 3D viewer GUI when:

  1. Picking 2 points using the "c" keyboard shortcut
  2. Setting the display type for these to "cone"
  3. Then deleting one of the two points from the list.
DIAGNOSTIC INFORMATION
----------------------

Platform:       win32
Python version: 3.13.14 (tags/v3.13.14:fd17997, Jun 10 2026, 13:03:48) [MSC v.1944 64 bit (AMD64)]
Calcam version: 2.17.1
VTK version:    9.6.0
OpenCV version: 4.13.0
PyQt version:   5.15.2

Traceback (most recent call last):
  File "C:\Python\lib\calcam\calcam\gui\viewer.py", line 425, in delete_saved_coord
    actor.coords = np.delete(actor.coords,self.cursor_coords_table.currentRow(),axis=0)
    ^^^^^^^^^^^^
  File "C:\Python\lib\calcam\calcam\render.py", line 145, in coords
    self.frustrumsize = fs
    ^^^^^^^^^^^^^^^^^
  File "C:\Python\lib\calcam\calcam\render.py", line 346, in frustrumsize
    raise Exception('Can only use frustrum display for disconnected line segments!')
Exception: Can only use frustrum display for disconnected line segments!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions