[Issue #3541] Hole feature does not work correct if sketch is not parallel to main planes

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Hole feature does not work correct if sketch is not parallel to main planes

Post by DeepSOIC »

eivindkvedalen wrote: Sun Jul 15, 2018 4:32 pm Could you please try to hard-code xDir to be (1, 0, 0), and see if that helps?
No. Not now.
I have tested the method on a few vectors, and it worked. So as tanderson69 pointed out, the missing xDir.Normalize() call is the problem.
User avatar
babaroga
Posts: 178
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: [Issue #3541] Hole feature does not work correct if sketch is not parallel to main planes

Post by babaroga »

Post Reply