Feature: Get Selected Elements
As a retopology agent
I need to retrieve detailed information about selected mesh elements
So that I can analyze and manipulate them programmatically
Background:
Given Blender is running with MCP addon connected
And a mesh object "Cube" exists in the scene
And "Cube" is in Edit Mode
Scenario: Get selected vertices in vertex mode
Given selection mode is VERT
And vertices at indices [0, 1, 2] are selected
When I call get_selected_elements with mode "VERT"
Then the result should contain count 3
And the result should contain elements with index and coordinates
Scenario: Get selected edges in edge mode
Given selection mode is EDGE
And edges at indices [0, 2, 4] are selected
When I call get_selected_elements with mode "EDGE"
Then the result should contain count 3
And the result should contain elements with edge indices and vertex pairs
Scenario: Get selected faces in face mode
Given selection mode is FACE
And faces at indices [0, 1] are selected
When I call get_selected_elements with mode "FACE"
Then the result should contain count 2
And the result should contain elements with face indices and area
Scenario: No elements selected returns empty list
Given selection mode is VERT
And no elements are selected
When I call get_selected_elements with mode "VERT"
Then the result should contain count 0
And the result elements should be empty list
Scenario: Invalid mode returns error
When I call get_selected_elements with mode "INVALID"
Then the result should contain an error message