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

Building Part: Activating (double clicking) is rotating visual grid but not snaps in opposite direction of rotation. #21

Open
BrandonCline opened this issue Mar 17, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@BrandonCline
Copy link

BrandonCline commented Mar 17, 2019

Setting Building Part as working plane with a rotation seems to be working as expected, but if you double click a Building Part with a rotation, the snap grid visually rotates in the negative direction (clockwise when from top view), but the snap grid itself is rotated as expected. leaving the visual grid misaligned with the snap grid.

Expected behavior: Setting the building part as active and working plane should leave the visual and snap grid with the same rotation. Changing to another working plane with part still active should not apply any rotation to visual grid.

Steps to Reproduce:

  1. With the grid set visible, and draft/grid settings "Use Grid" and "Always show grid" enabled. Set a working plane to Top.
  2. Create a building part (or floor/building).
  3. Set the rotation for the building part in placement to a non-orthogonal degree (e.g. 15).
  4. Double click on the building part to activate.
  5. Visual grid will show no change.
  6. Draw a line using grid snap, the snaps will be 15 degrees counter-clockwise off from the visual grid.
  7. Set a new working plane (e.g. Top), but leave building part active.
  8. Visual grid will be rotated counter-clockwise by degrees set on building part, but snap grid will match active working plane.
  • Note: There is also a bug that prevents the visual grid from updating if it is not visible when selecting a new working plane that may hide this bug somewhat.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16085 (Git)
Build type: Release
Branch: master
Hash: 6323069cbbda5ac71dff073f15cc632d8a1f3ea3
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

@BrandonCline BrandonCline changed the title Building Part: Activating (double clicking) is rotating snap grid visually (rotation is reversed). Building Part: Activating (double clicking) is rotating visual grid but not snaps in opposite direction of rotation. Mar 20, 2019
@yorikvanhavre
Copy link
Owner

Sorry for the delay in responding! I can confirm the issue indeed.. Will fix this ASAP

@yorikvanhavre yorikvanhavre self-assigned this Feb 22, 2022
@yorikvanhavre yorikvanhavre added the bug Something isn't working label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants