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: Bug when pre-selecting geometries for some constraints #14001

Closed
2 tasks done
FEA-eng opened this issue May 14, 2024 · 0 comments · Fixed by #14519
Closed
2 tasks done

FEM: Bug when pre-selecting geometries for some constraints #14001

FEA-eng opened this issue May 14, 2024 · 0 comments · Fixed by #14519
Labels
Bug This issue or PR is related to a bug WB FEM Related to the FEM Workbench

Comments

@FEA-eng
Copy link
Contributor

FEA-eng commented May 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Easiest way to reproduce:

  1. Create a Cube (Part Box).
  2. Add an Analysis container.
  3. Select one of the electromagnetic constraints like Electrostatic potential.
  4. Don't press Add first, just select a face instead and then press Add. Click Ok.
  5. Go back to this constraint or add any other one (even Force) and try the proper selection order - press Add and click on a Face. The following message will appear:

Selection Box: Face6 is in reference list already!

From now on, you won't be able to apply any constraint to any face until you restart FreeCAD (it keeps failing even in a separate document).

It's possible that any constraint with this selection order (clicking Add first) may cause this but I'm not sure about it and electromagnetic constraints are certainly triggering it.

selection error

@marioalexis84 FYI

Full version info

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37302 (Git)
Build type: Release
Branch: main
Hash: 0e24e121eb3e5708c380596e0a9fd583befac977
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Polish/Poland (pl_PL)

Subproject(s) affected?

FEM

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@FEA-eng FEA-eng changed the title FEM: Serious session-breaking bug when pre-selecting geometries for some constraints FEM: Bug when pre-selecting geometries for some constraints May 14, 2024
@maxwxyz maxwxyz added Bug This issue or PR is related to a bug WB FEM Related to the FEM Workbench labels May 14, 2024
marioalexis84 added a commit to marioalexis84/FreeCAD that referenced this issue Jun 5, 2024
marioalexis84 added a commit to marioalexis84/FreeCAD that referenced this issue Jun 17, 2024
chennes pushed a commit to marioalexis84/FreeCAD that referenced this issue Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug WB FEM Related to the FEM Workbench
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants