Apparent error when rotating host with elements

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
mickele
Posts: 13
Joined: Thu Jun 02, 2016 7:28 pm

Apparent error when rotating host with elements

Post by mickele »

After creating two structural elements, I add one of them to the other.
start.png
start.png (166.5 KiB) Viewed 1542 times
In the child element I set the option "Move with host" to true. If I translate the host object everything works as expected: child object moves with the host.
translation.png
translation.png (183.78 KiB) Viewed 1542 times
If I rotate the host I have strange behaviour: child object doesn't rotate; moreover child object starts moving in a not easyly predicatable way.
rotation.png
rotation.png (183.05 KiB) Viewed 1542 times
Possible bug?

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15646 (Git)
Build type: Release
Branch: master
Hash: fdf8fe7bc6ed671e8b7ee064000b6f00567ce795
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Italian/Italy (it_IT)
Attachments
rotation-compound.FCStd
(9.03 KiB) Downloaded 28 times
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Apparent error when rotating host with elements

Post by yorik »

Yes there is definitely a bug there. Working on it...
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Apparent error when rotating host with elements

Post by yorik »

Ok there are multiple bugs there... I can't unfortunately solve it right now because it could potentially break many existing models, which is a bad idea to do just before an official release. So I openend a bug issue at https://www.freecadweb.org/tracker/view.php?id=3789 and will handle it after the 0.18 release.

In the meantime, you have many other ways to solve this, for example: Union your pieces with Part Fuse tool, then turn the union into an Arch Structure. Then you can move/rotate it without problems.
mickele
Posts: 13
Joined: Thu Jun 02, 2016 7:28 pm

Re: Apparent error when rotating host with elements

Post by mickele »

Ok, thanks!
Post Reply