Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire is not defined #28

Closed
rinadyx opened this issue Jun 11, 2023 · 2 comments
Closed

Wire is not defined #28

rinadyx opened this issue Jun 11, 2023 · 2 comments

Comments

@rinadyx
Copy link

rinadyx commented Jun 11, 2023

Hello everyone, this is my first time using manim, manim-physics and GitHub, i hope that i'm doing every fine and respecting all the rules,

So my issue is that i want to create an animation of a magnetic field streamline being blocked by a metallic shield, and as a starter i wanted to try the code provided in the doc, but when i try to input the Wire example in my visual studio i get this message error :

"Wire" is not defined Pylance (reportUndefinedVariable) [Ln 7, Col 16],

How can i solve this ?

Best regards,

@icedcoffeeee
Copy link
Collaborator

Hello! Sorry for the confusion. The issue was that the new update hadn't been published on PyPI yet. But now it has, so you can run

pip install -U manim-physics

to get the updated code.

@rinadyx
Copy link
Author

rinadyx commented Jun 12, 2023

Thank you very much it worked !

May i ask you another question please, Do you think that it is possible to make it interact with a "metallic box" meaning i create a wire that generates a magnetic field and then i define a sqaure as a metallic box and see the magnetic streamline around it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants