-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Bug when evaluating constraints with plane #16
Comments
That's a very comprehensive bug report. Thanks for the help! |
Closed
Closed
This was referenced Aug 9, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In file utils.py in function getElementRotation(obj,reverse=False) return value, axis, is affected with an array instead of a FreeCAD.Vector.
the function fit_plane_to_surface1(face.Surface) return an array :
then plane_norm is affected to axis.
At the end of function call to FreeCAD.Rotation fail because axis is not a FreeCAD.Vector.
I fixed this by using following code
I expect the same problem will occur with this code:
I fixed this by using following code
Here is the full part of the code that fails
I use latest build FreeCAD-asm3-20180630-7e5b3323-f5dd9d4.glibc2.17-x86_64.AppImage on Debian Stretch 64bit host.
Bug successfully debugged with winpdb.
This is my first ever github bug report sorry for any mistakes.
The text was updated successfully, but these errors were encountered: