Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Plot supports based on boundary conditions #14

Closed
adtzlr opened this issue Apr 22, 2020 · 5 comments
Closed

Plot supports based on boundary conditions #14

adtzlr opened this issue Apr 22, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@adtzlr
Copy link
Owner

adtzlr commented Apr 22, 2020

Add an option to draw supports (roller, pinned) inside the model plot. As TrussPy is 3D-based this seems a quite complicated task: Which symbols should be used? The Classic symbols in each direction? Which plane should be used to draw the symbols? Is it possible that the 2D plots are still projections of the 3D scene or are special considerations based on 2D/3D needed?

@adtzlr adtzlr added the enhancement New feature or request label Apr 22, 2020
@srtgn
Copy link

srtgn commented Apr 22, 2020

This link from Anastruct might be useful: https://anastruct.readthedocs.io/en/latest/supports.html

@adtzlr
Copy link
Owner Author

adtzlr commented Apr 23, 2020

Thank you. Well, AnaStruct is a 2D analysis program for trusses and beams and therefore a fixed, a roller and a hinged support are well defined (the plane in which the supports are acting are clearly defined). TrussPy has only one type of boundary condition: fixed or free per nodal DOF. No specific supports for boundary conditions. Furthermore TrussPy only supports trusses, so a hinged and a fixed support are effectively the same as trusses do not carry moments. So there are two options: Implement new types of boundary conditions (roller_xy, roller_yz, roller_zx, fixed) and plot them accordingly at their acting planes. Or option 2: analyze the boundary conditions and place the correct support symbol in the plot. I would prefer the latter one and implement the symbols only for one plane (e.g. XZ-plane).

@adtzlr
Copy link
Owner Author

adtzlr commented Apr 23, 2020

Then I could add a new keyword argument to the function plot_model(supports=True). Do you think this would be a good idea?

@srtgn
Copy link

srtgn commented Apr 23, 2020

Great idea!

@adtzlr
Copy link
Owner Author

adtzlr commented May 26, 2020

Hey, I tried some things out but unfortunately I had no success in generating a stable code for drawing supports which works in 2D,3D, is efficient, easy to maintain...

I'm sorry but I have to delay this feature for another several weeks. Sorry, I meant several years ⌛

Repository owner locked and limited conversation to collaborators Dec 17, 2022
@adtzlr adtzlr converted this issue into discussion #22 Dec 17, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants