View Issue Details

IDProjectCategoryView StatusLast Update
0004408FEMBugpublic2022-02-05 01:55
Reporterlsoltmann Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
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: https://forum.freecadweb.org/viewtopic.php?f=18&t=48750
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.
Tags#pending, #pending-forum, FEM, 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)

Activities

berndhahnebach

2020-07-26 21:54

developer   ~0014690

confirmed by Bernd

berndhahnebach

2020-07-26 21:55

developer   ~0014691

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

wmayer

2021-02-20 11:00

administrator   ~0015371

Last edited: 2022-01-22 21:59

In Constraint::getPoints
the line can be added before accessing the sub-elements:

  toposhape.setPlacement(feat->globalPlacement());

Kunda1

2022-01-22 21:58

administrator   ~0016243

@jnxd can you take a look at this?

jnxd

2022-01-25 17:41

developer   ~0016299

https://forum.freecadweb.org/viewtopic.php?f=18&t=48750&p=564856#p564856

jnxd

2022-02-04 18:14

developer   ~0016348

@berndhahnebach @wmayer do you have any comments on this, especially the forum post? I am trying to make the PD feature also include the body's transformation/placement when it's own transformation/placement or coordinates are asked. I expect this, however, to have some side effect elsewhere in PD.

yorik

2022-03-03 13:55

administrator   ~0016926

This ticket has been migrated to GitHub as issue 6093.

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
2022-01-22 21:58 Kunda1 Note Added: 0016243
2022-01-22 21:59 Kunda1 Note Edited: 0015371
2022-01-22 22:00 Kunda1 Tag Attached: #pending
2022-01-25 17:41 jnxd Note Added: 0016299
2022-02-04 18:14 jnxd Note Added: 0016348
2022-02-05 01:55 Kunda1 Tag Attached: #pending-forum