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

请问杆件的铰接连接有考虑吗? #2

Open
lcneyc opened this issue Nov 27, 2023 · 2 comments
Open

请问杆件的铰接连接有考虑吗? #2

lcneyc opened this issue Nov 27, 2023 · 2 comments

Comments

@lcneyc
Copy link

lcneyc commented Nov 27, 2023

非常棒的项目,请问杆件的铰接连接有考虑吗?

@IceTiki
Copy link
Owner

IceTiki commented May 13, 2024

有。在Element初始化中,有个junctions参数。你设置x, y绑定, 转角不绑定就好了。

@IceTiki
Copy link
Owner

IceTiki commented May 13, 2024

比如一个杆件一端是刚性连接,一端是铰接。
那么你设置junctions=(True, True, True, True, True, False)就好了。
六个参数分别代表两端两个节点的x, y, θ。也就是(x1, y1, θ1, x2, y2, θ2)

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