[BUG] Double applied rotation for linked bodies

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
ChemicalCoal
Posts: 24
Joined: Sun May 09, 2021 3:38 am

[BUG] Double applied rotation for linked bodies

Post by ChemicalCoal »

Hi Y'all,

The top part is the original part, and the bottom part is a link of the original rotated 90 degrees.
When I add a rotation to the original part, both parts rotate in techdraw (unexpected), and only one rotates in the 3D window (as expected).
Image
Image

It appears linked parts are getting the rotation of themselves + the rotation of the part they are linked from. When it should be just the rotation of themselves.

Is anyone aware of a bug for this? I did a brief search through the github, and didn't see anything.

I see this in Arch Linux Git

Code: Select all

OS: Arch Linux (sway)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33044 (Git)
Build type: None
Branch: master
Hash: 3fabd940dd3322b247fe2a82f68b754c087f3b34
Python 3.10.10, Qt 5.15.9, Coin 4.0.1, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * dodo
And 20.2 Arch Linux Stable

Code: Select all

OS: Arch Linux (sway)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: makepkg
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.9, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * dodo
Attachments
RotationIssueProof.FCStd
(23.48 KiB) Downloaded 25 times
User avatar
wandererfan
Veteran
Posts: 6321
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [BUG] Double applied rotation for linked bodies

Post by wandererfan »

ChemicalCoal wrote: Tue May 02, 2023 2:25 am
should be fixed in v0.21 by git commit 176cdd45fe.

not sure about a backport to v0.20 yet.
Post Reply