Skip to content

Use shift values for FloorPlot #98

@Mael-Le-Garrec

Description

@Mael-Le-Garrec

Currently, the FoorPlot uses the position of the elements to plot them but does not use the shift_x, shift_y and rotation variables like rot_s_rad.

To be probably implemented around here: https://github.com/xsuite/xplt/blob/main/xplt/line.py#L418

I made a basic change that should work for thick elements, but only works when a line element is provided, as the survey only does not seem to contain the shift information (only ref_shift, set to 0).

Mael-Le-Garrec@a2f4b21

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions