Skip to content

cannot get "Vector3.rotate_lattice()" working #166

@pavlo2025

Description

@pavlo2025

Dear All,

Thank you for the great software tool and supporting it and user community all these years.

I am not sure if I came across a bug or a simply using the "rotate_lattice" wrong.

Here is the Python code:
geometry_lattice = mp.Vector3.rotate_lattice(axis=mp.Vector3(0, 0, 1), theta=30*math.pi/180, lat=geometry_lattice)

Whenever I execute it, it throws out the error:
TypeError: Vector3.rotate_lattice() missing 1 required positional argument: 'self'

I am using it wrong?

best wishes,
pavlo

P.S. I am using the latest MPB and MEEP versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions