View Issue Details

IDProjectCategoryView StatusLast Update
0000565FreeCADBugpublic2012-01-18 09:26
Reporterfester2251 Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.12 
Fixed in Version0.13 
Summary0000565: Boolean does not work properly on a Cut shape
DescriptionUbuntu 10.04
FreeCAD 0.13 rev 5027


Having defined the cylinder correctly (a cylinder passing through a cylinder [cut]), when I do an Difference Boolean, only one hole shows.
Additional Informationstart FreeCAD ver 0.13 rev 5027
start at Part menu
open demo.fcstd
click on Cylinder 5
click on Boolean Operation
select Cut (first shape)
select Cylinder005 (second shape)
click on Difference
click on Apply
click on Close
select and Delete Cylinder 5 where it protrudes from Cut.
note that at the intersection of Cylinder 5 and Cut, there is a hole showing on one side of Cut, and not on the other
This operation was supposed to result in a hole in Cut where Cylinder 5 passed through, it has not.
TagsNo tags attached.
FreeCAD Information

Activities

2012-01-05 23:16

 

Demo.fcstd (Attachment missing)

wmayer

2012-01-06 11:49

administrator   ~0001545

That's a problem with the cad kernel. It seems that the resulting shape has an error but fixing it doesn't solve this error here.

wmayer

2012-01-06 11:56

administrator   ~0001546

Maybe we should first try this with the latest OCC release. If it still doesn't work it should be reported as bug to the OCC forum.

cstrachan1

2012-01-07 09:17

reporter   ~0001548

Testing on OCC 6.5.2 and FreedCAD SVN 5391 shows the bug has been fixed if I follow the issue correctly. Images attached showing results.

2012-01-07 09:17

 

Demo1.png (Attachment missing)

2012-01-07 09:17

 

Demo2.png (Attachment missing)

fester2251

2012-01-08 21:14

reporter   ~0001549

How do I download a version of FreeCAD which includes the fixes described by
cstrachan1 (0001548)?

cstrachan1

2012-01-09 10:58

reporter   ~0001550

I am unaware of a packaged version that includes both the OCC library and FreeCAD at the latest revisions.

You can download the OCC library from the Open Cascade project and compile, this should be relatively straightforward on Ubuntu 10.04 and should avoid the need to patch for the latest gcc changes. If you decide to do this and run configure without any option, the OCC libraries will be installed in a non standard location that will allow you to have both the latest and packaged versions of the libraries on your system at the same time. You will need to tell FreeCad where the library is though, the simplest way is to start through the command line with export LD_LIBRARY_PATH=/usr/local/lib before the FreeCAD command.

The latest version of FreeCAD is available through SVN at the FreeCAD download page. There are full instructions on compiling FreeCAD under Ubuntu on the site.

normandc

2012-01-15 22:33

manager   ~0001574

Last edited: 2012-01-15 22:34

fester2251 is already using the PPA version of FreeCAD, which is trailing the development source by only 24-48 hours, so no need to compile from source.

I have FreeCAD installed from PPA on Ubuntu 11.10, with Open CASCADE 6.5.0 from the Ubuntu repositories, and I have no errors. Ubuntu 10.04 has OCC 6.3 I believe.

There is an independant project, Open CASCADE Community Edition (OCE for short) which provides its libraries through a PPA. Even though the number doesn't match (OCE is at 0.6), I believe their development is based on OCC 6.5.

https://launchpad.net/~hmeyer/+archive/3d

I have no idea if there's something to do to tell FreeCAD to use OCE instead of OCC.

fester2251

2012-01-16 02:47

reporter   ~0001579

Just a commentary;

I just downloaded rev 5047, the problem remains.

>fester2251 is already using the PPA version of FreeCAD, which is trailing the >development source by only 24-48 hours, so no need to compile from source.

cstrachan1 (0001548) left his commentary on 01-07, that was in excess of 192 hours ago.

normandc

2012-01-16 04:04

manager   ~0001580

fester2251,

The problem is not with FreeCAD, it is with the Open CASCADE 6.3 libraries you are using. That's what we've been telling you.

Either compile OCC 6.5 from the source, replace it with OCE 0.6 from the PPA, or upgrade your Ubuntu to a version with Open CASCADE 6.5, otherwise your problem will remain, no matter which version of FreeCAD you have. FreeCAD does not have ANY control over the Open CASCADE libraries.

wmayer

2012-01-18 09:26

administrator   ~0001587

Since this is clearly an OCC issue and we from FreeCAD-side can nothing do on it I will close this bug report.

Fixed with OCC 6.5.

Issue History

Date Modified Username Field Change
2012-01-05 23:16 fester2251 New Issue
2012-01-05 23:16 fester2251 File Added: Demo.fcstd
2012-01-06 11:49 wmayer Note Added: 0001545
2012-01-06 11:56 wmayer Note Added: 0001546
2012-01-07 09:17 cstrachan1 Note Added: 0001548
2012-01-07 09:17 cstrachan1 File Added: Demo1.png
2012-01-07 09:17 cstrachan1 File Added: Demo2.png
2012-01-07 13:09 wmayer Status new => resolved
2012-01-07 13:09 wmayer Resolution open => no change required
2012-01-07 13:09 wmayer Assigned To => wmayer
2012-01-08 21:14 fester2251 Note Added: 0001549
2012-01-08 21:14 fester2251 Status resolved => feedback
2012-01-08 21:14 fester2251 Resolution no change required => reopened
2012-01-09 10:58 cstrachan1 Note Added: 0001550
2012-01-15 22:33 normandc Note Added: 0001574
2012-01-15 22:33 normandc Note Edited: 0001574
2012-01-15 22:34 normandc Note Edited: 0001574
2012-01-16 02:47 fester2251 Note Added: 0001579
2012-01-16 04:04 normandc Note Added: 0001580
2012-01-18 09:26 wmayer Note Added: 0001587
2012-01-18 09:26 wmayer Status feedback => closed
2012-01-18 09:26 wmayer Resolution reopened => no change required
2012-01-18 09:26 wmayer Fixed in Version => 0.13