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

Fem: Display popup menu when MeshGroup solid selection is ambiguous #18812

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

colinRawlings
Copy link

@colinRawlings colinRawlings commented Jan 1, 2025

Enable selection of solids which are enclosed within an outer solid.

If the selected face or edge belongs to multiple solids provide a popup to allow the user to select which solid they wish to add.

Closes #5913

demo.webm

@github-actions github-actions bot added the Mod: FEM Related to the FEM Workbench label Jan 1, 2025
@FEA-eng
Copy link
Contributor

FEA-eng commented Jan 1, 2025

It would be cool to have something like this, not only for solids but also other internal geometrical entities. This can be a good start though.

@marioalexis84 FYI

@marioalexis84
Copy link
Member

Type hints are currently not used throughout the Fem module.
To be consistent with the rest of the code, I suggest removing the use of the typing module.
@chennes do you have a strong opinion on this?

@colinRawlings colinRawlings force-pushed the fem-select_enclosed_solid branch 2 times, most recently from d9eae7a to f1e1eef Compare January 6, 2025 17:26
@chennes
Copy link
Member

chennes commented Jan 13, 2025

@marioalexis84 I am a huge fan of type hinting, so I am in favor of keeping it as.

@colinRawlings colinRawlings force-pushed the fem-select_enclosed_solid branch from f1e1eef to a94a28b Compare January 15, 2025 10:35
@colinRawlings
Copy link
Author

@marioalexis84 Is anything else needed from my side to advance this (first time doing a PR both for FreeCAD and with github so not really sure what the process is)?

@maxwxyz
Copy link
Collaborator

maxwxyz commented Jan 21, 2025

@FEA-eng @marioalexis84 good to go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mod: FEM Related to the FEM Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEM - Selecting the interior solids of CompSolid
5 participants