View Issue Details

IDProjectCategoryView StatusLast Update
0004408FEMBugpublic2021-02-20 11:00
Reporterlsoltmann Assigned To 
Status confirmedResolutionopen 
Target Version0.20 
Summary0004408: FEM constraints not on part design workbench object when moved using placement
DescriptionThe FEM constraints (only tested force and fixed) graphics do not show up in the selected location if an object created with the part workbench was moved using placement. The graphics show up in the location of the part as if it were at the global origin. Running the FEM confirms that the constraints are not on the object. It was noted by the user thschrader that this only happens in the part design workbench and not the part workbench. Moderator bernd said this is a known problem that the FEM does not play well with the part design workbench.

Issue was posted about here:
Steps To Reproduce1. Create a new file and select the part design workbench.
2. Create a new body and a sketch on the XY plane.
3. Sketch a square that is 1in by 1in.
4. Pad the sketch 1in in +z direction.
5. Using the placement property in the model view, set y = 2.0in.
6. Open the FEM workbench and create a new analysis.
7. Add a fixed constraint to any side of the cube using Model > Mechanical Constraints > Constraint fixed.
8. Observe that the constraint graphics are not on the object, but would be if the object had not been moved from the global origin. The same issue occurs with the force constraint as well. Those are the only two constraints that were tested.
TagsFEM, Part Design, Placement
FreeCAD InformationOS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21938 (Git)
Build type: Release
Branch: master
Hash: 5666598a6be219830a992610243fe23144a61453
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)



2020-07-26 21:54

developer   ~0014690

confirmed by Bernd


2020-07-26 21:55

developer   ~0014691

Workaround. Create Simple Copy of the body with Part workbench.


2021-02-20 11:00

administrator   ~0015371

Last edited: 2021-02-20 11:00

In Constraint::getPoints
the line can be added before accessing the sub-elements:
[code=c++]   toposhape.setPlacement(feat->globalPlacement()); [/code]

Issue History

Date Modified Username Field Change
2020-07-21 00:05 lsoltmann New Issue
2020-07-26 21:54 berndhahnebach Status new => confirmed
2020-07-26 21:54 berndhahnebach Note Added: 0014690
2020-07-26 21:55 berndhahnebach Note Added: 0014691
2021-02-06 06:23 abdullah Target Version => 0.20
2021-02-15 16:33 Jee-Bee Tag Attached: FEM
2021-02-15 16:33 Jee-Bee Tag Attached: Part Design
2021-02-15 16:33 Jee-Bee Tag Attached: Placement
2021-02-20 11:00 wmayer Note Added: 0015371
2021-02-20 11:00 wmayer Note Edited: 0015371