Skip to content

Understanding how to use joints in sympy.physics.mechanics #25449

Answered by tjstienstra
Davide-sd asked this question in Q&A
Discussion options

You must be logged in to vote

They reason why, was that this was the first I thought of. Though it is probably the most confusing solution, as it is also possible to actually use a pin joint or a prismatic joint instead. Analyzing the crank-slider gives the following visualization:

A first note to make is that the slider is connected via a pin joint to the rod and via a prismatic joint to the wall. Overall we see that a total of four joints create a loop. As sympy mechanics uses graphs for both the orientation between reference frames and the position of points, which must be both connected and acyclic, we may not create a loop. Instead we should replace one of the joints by holonomic constraints. If you were to repl…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Davide-sd
Comment options

@tjstienstra
Comment options

@Davide-sd
Comment options

@tjstienstra
Comment options

Answer selected by Davide-sd
@Davide-sd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants