bug: mesh section with plane uses wrong rotation when previously rotated [bug tracker: 3962]

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
unknown-error
Posts: 6
Joined: Mon Sep 05, 2016 1:39 pm

bug: mesh section with plane uses wrong rotation when previously rotated [bug tracker: 3962]

Post by unknown-error »

edit: reported to bug tracker: https://www.freecadweb.org/tracker/view.php?id=3962

Hi!

I imported a mesh from mesh design workbench, rotated it around z by 180 degrees (menu: edit, placement, typed in 180)
then went to part workbench, created a plane.
switched back to mesh workbench. used from the menu: meshes, cutting, create section from mesh and plane.

expected result: section lies on the plane and goes through the mesh.
actual result: section lies outside the mesh (rotated around z). it seems to me it uses the original position of the mesh instead of the rotated mesh (tried it with different rotation angles to verify that)

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
mesh section uses wrong orientation when previously rotated
mesh section uses wrong orientation when previously rotated
Screenshot_2019-05-07_21-15-23.png (414.92 KiB) Viewed 916 times
Last edited by unknown-error on Wed May 08, 2019 8:48 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: bug: mesh section with plane uses wrong rotation when previously rotated

Post by chrisb »

Moved to help forum
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: bug: mesh section with plane uses wrong rotation when previously rotated

Post by chrisb »

I can confirm the issue.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16540 (Git)
Build type: Release
Branch: master
Hash: 554985dede771f9a6694baba2372cc60db86f17b
Python version: 3.7.3
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
unknown-error
Posts: 6
Joined: Mon Sep 05, 2016 1:39 pm

Re: bug: mesh section with plane uses wrong rotation when previously rotated

Post by unknown-error »

should I enter it in the tracker?
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: bug: mesh section with plane uses wrong rotation when previously rotated

Post by wmayer »

Yes. And when doing so please cross-link both, i.e. post here the ticket number and in the created ticker add the url of this thread.
unknown-error
Posts: 6
Joined: Mon Sep 05, 2016 1:39 pm

Re: bug: mesh section with plane uses wrong rotation when previously rotated [bug tracker: 3962]

Post by unknown-error »

additional info:
translation in XYZ direction is not used as well.
transformation of the cutting plane is not used either. (transforming the plane instead of transforming the mesh yields cuts in the wrong place or the wrong shape)

https://www.freecadweb.org/tracker/view.php?id=3962
Post Reply