v 0.17 PartDesignNext -> Boolean

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
soaring
Posts: 48
Joined: Sat Dec 31, 2016 10:27 pm

v 0.17 PartDesignNext -> Boolean

Post by soaring »

hello, i searched a lot and try many things, found improvement in my workflow but right know i'm locked :-)

i want to cut/substract two bodies, with boolean operations of the PDN, all was done in the PDN workbench.

2 bodies only, one is active, tip are well setted, no error after boolean operation but result is not as expected.

one pad is made from spline sketch, the other with lines and arc, all is well connected (but not all constraint)

here freecad file (before boolean operation) : https://1drv.ms/u/s!AnNgkxFsu9Xrgqh4v7O8ARJStjc2Sg

picture before boolean : https://1drv.ms/i/s!AnNgkxFsu9Xrgqh5Ic6gwyrHOc_MjQ

picture after boolean : https://1drv.ms/i/s!AnNgkxFsu9Xrgqh6RXZuxfZ6WXyuxA

don't know if it's a bug :-(

OS: Ubuntu 17.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12960 (Git)
Build type: None
Branch: master
Hash: b6304d16a77f65f94aa5ec79f69688be61a42961
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: French/France (fr_FR)

thanks for your help !
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: v 0.17 PartDesignNext -> Boolean

Post by NormandC »

Hello soaring,

Please attach images and FreeCAD files to the forum directly, using the Attachments tab below the text entry window. That way we do not need to click on external links.

The filesize limit for attached files is 1MB, your FreeCAD file is only 19KB.

If I understand what you want to do:
  • Body001 is the active body to be cut by Body
  • Body001's placement is (0, 10, 0)
  • Body's placement is (0, 0, 0)
  • When applying the Boolean, Body seems to move position
This behaviour actually makes sense: you are importing "Body" inside Body001, therefore the coordinate system that is important here is not the global coordinate system, but the Body001's local one. In this coordinate system, Body001 is at (0, 0, 0), just like Body.

To get the result you want, you need to change the placement of both bodies:
  • Body001 should be reset to (0, 0, 0)
  • Body should be moved in negative Y direction (0, -10, 0)
Attachments
Training_normandc1.fcstd
(120.09 KiB) Downloaded 30 times
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: v 0.17 PartDesignNext -> Boolean

Post by NormandC »

soaring wrote: Sun Jan 21, 2018 4:45 pm OS: Ubuntu 17.04
Off topic: your version of Ubuntu reached end-of-life on January 13th, 2018 and will no longer provide security updates. Already, the freecad-daily PPA has stopped providing updates to 17.04. You are using the last development build available to you, but since then a hundred commits were added, and more will follow before 0.17 is released.

You should upgrade your Ubuntu to a maintained version. If you do not wish to upgrade your OS every 9 months, you should consider sticking to LTS releases. That's what I've been doing since 2012.
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: v 0.17 PartDesignNext -> Boolean

Post by saso »

NormandC wrote: Sun Jan 21, 2018 5:20 pm To get the result you want, you need to change the placement of both bodies...
Or we can fix the Bodies so they don't move around like this ;)
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: v 0.17 PartDesignNext -> Boolean

Post by NormandC »

If you are going to nitpick about this issue all over the place, tell me now: I'll put you in my ignore list. :roll: :roll: :roll: :roll:
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: v 0.17 PartDesignNext -> Boolean

Post by saso »

NormandC wrote: Sun Jan 21, 2018 5:42 pm If you are going to nitpick about this issue all over the place, tell me now: I'll put you in my ignore list. :roll: :roll: :roll: :roll:
Sorry, I had to, just once, promise :oops: But I do think that this is an example where we are trying to find solutions and workarounds to a problem that should not be a problem if Bodies and Parts would work and be used correctly.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: v 0.17 PartDesignNext -> Boolean

Post by NormandC »

I'm done.
FC_forum_ignored_01.png
FC_forum_ignored_01.png (7.94 KiB) Viewed 1134 times
soaring
Posts: 48
Joined: Sat Dec 31, 2016 10:27 pm

Re: v 0.17 PartDesignNext -> Boolean

Post by soaring »

Thanks Normand !

definitively didn't know my ubuntu version and update associated.... i'm updating right know !!!

ok for attachment, you're right, sorry !

i will deal with your explanation, thanks a lot again !
soaring
Posts: 48
Joined: Sat Dec 31, 2016 10:27 pm

Re: v 0.17 PartDesignNext -> Boolean

Post by soaring »

Normand, do you think i need to open an issue in the bug tracker about this behavior ?

i guess i can manage by dealing with coordinate, i've searched in the bug tracker but not found entries for keyword "bool" in the PartDesign tab.

let me know and i will help if required.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: v 0.17 PartDesignNext -> Boolean

Post by NormandC »

soaring wrote: Sun Jan 21, 2018 8:32 pm Normand, do you think i need to open an issue in the bug tracker about this behavior ?
No, because this behaviour is exactly as intended by the developer, nevermind what saso wrote.
Post Reply