Skip to content

"Copy To": copy a trace to multiple chosen sections at the same x-y location #94

Description

@dustenhubbard

Problem

A trace can be copied and pasted, but paste only drops it into the current section. Placing the same trace at the same x-y location across several sections means navigating to each section and pasting one at a time.

Proposed

Add a "Copy To" action: copy the selected trace(s), choose multiple target sections, and place the traces into all of them at the same x-y (field) location in one step.

Notes

Copy and paste today are copy() / paste() in PyReconstruct/modules/gui/main/field_widget_2_trace.py; paste() re-creates the clipboard traces into the current section and already preserves field (x, y) coordinates. The missing piece is a target-section selector (accepting section numbers and ranges, e.g. 10-20 or 5, 8, 11) and a loop that writes the traces into each chosen section at the same field position, re-projecting through each section's own transform so the trace lands identically regardless of that section's alignment.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions