Issue binary operation
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Issue binary operation
Hi,
I have this cup-shape thing, created by rotating a closed wire (the thing is a solid), and then punching a hole through it by creating a cylinder that goes through it and making a cut with that.
When seen from the outside there appears to be a hole, but on the inside the cylinder is still there.
I've also cut a corner out of the thing, using a large cube, which does work. You can also see that the object is in fact a solid, it's not hollow inside.
This is part of a much larger project; all other parts removed, just the affected bit posted here.
Totally weird.
OS: Linux Mint 17 Qiana
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4484 (Git)
Branch: master
Hash: f72c802f5daa378298ffbfc3f3a17ec2d35c1816
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
I have this cup-shape thing, created by rotating a closed wire (the thing is a solid), and then punching a hole through it by creating a cylinder that goes through it and making a cut with that.
When seen from the outside there appears to be a hole, but on the inside the cylinder is still there.
I've also cut a corner out of the thing, using a large cube, which does work. You can also see that the object is in fact a solid, it's not hollow inside.
This is part of a much larger project; all other parts removed, just the affected bit posted here.
Totally weird.
OS: Linux Mint 17 Qiana
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4484 (Git)
Branch: master
Hash: f72c802f5daa378298ffbfc3f3a17ec2d35c1816
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
- Attachments
-
- cut test.fcstd
- (54.9 KiB) Downloaded 39 times
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Issue binary operation
Looks like a perfect bug. The only thing I wonder of is where is the thing that was revolved, in your file.
Interestingly, if I set the cylinder's angle to below 360 degree to get a pie, the cut works normally.
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4320 +24 (Git)
Branch: Eivind-Expressions,origin/OpticConstraints-shoogen2 ( excuse me for not using master)
Hash: ade893f35026d2c97ee8628135472bf31c2eafad
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Interestingly, if I set the cylinder's angle to below 360 degree to get a pie, the cut works normally.
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4320 +24 (Git)
Branch: Eivind-Expressions,origin/OpticConstraints-shoogen2 ( excuse me for not using master)
Hash: ade893f35026d2c97ee8628135472bf31c2eafad
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Re: Issue binary operation
It's got to do with the location of that specific cylinder.
Other cylinders cut holes as expected, as do cubes...
So weird.
Other cylinders cut holes as expected, as do cubes...
So weird.
- Attachments
-
- cut test.fcstd
- (213.78 KiB) Downloaded 32 times
Re: Issue binary operation
I created the revolved part in a second file (using a separate file for fiddling and creating more tricky parts and then copy/paste it into my main file).
Here again with the original wire used to create the part. It has been rotated 90° after rotation.
Here again with the original wire used to create the part. It has been rotated 90° after rotation.
- Attachments
-
- cut test.fcstd
- (214.67 KiB) Downloaded 35 times
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Issue binary operation
I'm not able to reproduce the problem outside of your file. I think it may be important how did you create the cup.
EDIT: (added attachment)
EDIT: (added attachment)
- Attachments
-
- cup-cut-test.FCStd
- (18.72 KiB) Downloaded 37 times
- tanderson69
- Veteran
- Posts: 1626
- Joined: Thu Feb 18, 2010 1:07 am
Re: Issue binary operation
The problem was evident when I opened the file. I recalculated all the features and the problem went away. I am thinking this is specific to your version of occ. I have "OCC version: 6.8.0.oce-0.17-dev"
Re: Issue binary operation
I just copied the original wire to my main file, there recreated the cup by revolving it, and now it all seems to work fine. So it may also be related to the missing wire. Nevertheless it's a bug.
There's a second object in my file that also has such issues, cuts that don't work. Also created in a separate file, copy/pasted into my main project file, where the link to the original wire has been lost.
There's a second object in my file that also has such issues, cuts that don't work. Also created in a separate file, copy/pasted into my main project file, where the link to the original wire has been lost.
Re: Issue binary operation
Closely related buggy goodness.
Select Cut070, then subtract Extrude021.
Resulting image is a mess...
Select Cut070, then subtract Extrude021.
Resulting image is a mess...
- Attachments
-
- cut test 2.fcstd
- (48.05 KiB) Downloaded 35 times
Re: Issue binary operation
I can see the mess, but it disappears after a complete recompute.wvmarle wrote:Closely related buggy goodness.
Select Cut070, then subtract Extrude021.
Resulting image is a mess...
OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4486 +191 (Git)
Branch: yorik/path-module,bugfix-draftextrude,dev-dxfsplineimport
Hash: b0f9b63e1253903d291dadf2d66376aaab1b147c
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-6b0e8bd
Re: Issue binary operation
How to do such a "complete recompute"?