View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003333 | Part | Bug | public | 2018-01-29 08:09 | 2018-09-25 16:35 |
Reporter | fabien.cherblanc | Assigned To | wmayer | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
Product Version | 0.17 | ||||
Fixed in Version | 0.18 | ||||
Summary | 0003333: Wrong behaviour of fuse operation | ||||
Description | The fuse operation between 2 intersecting shapes returns a compound of shapes instead of a unique shape. For instance (see attached example), with 2 planar Faces, the fuse operation returns a Compound of 5 Faces. These 5 Faces corresponds to the common part plus the 4 parts that belongs to only one Faces. Using Salome-Meca, the same operation gives the appropriate result. | ||||
Steps To Reproduce | To reproduce the bug, a python script and 2 brep files are attached to this message. | ||||
Additional Information | OS: Ubuntu 16.04.3 LTS Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.13165 (Git) Build type: None Branch: master Hash: acded1c954b54e5497a661b4b0c7524d345ce2fc Python version: 2.7.12 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.1.0 Locale: French/France (fr_FR) | ||||
Tags | boolean | ||||
FreeCAD Information | |||||
|
test.py (197 bytes)
import FreeCAD import Part face1 = Part.read("face1.brep") face2 = Part.read("face2.brep") fuse = face1.fuse(face2) print "fuse contains %i Faces"%len(fuse.Faces) fuse.exportBrep("fuse.brep") |
|
Through the discussion of a previous bug report (0002676), i realised that this behaviour matches to what is written in OCCT manual: "Case 12: Two faces that have a common part". So, this is not a bug, just a strange and inappropriate behaviour of OCCT. In Salome-Meca, a post-processing operation should correct this to return a unique fused face. |
|
Looks like 0002676 is postponed to after 0.17 release. @wmayer care to weigh in? |
|
@wmayer care to weigh in? |
|
https://github.com/FreeCAD/FreeCAD/commit/dfd3d86b227099bab3649624507fcb205cdd93a2 There is a new method TopoShape::makeShell that tries to create a shell of the faces of a compound. Therefore the compound must consists of only faces and nothing else. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-29 08:09 | fabien.cherblanc | New Issue | |
2018-01-29 08:09 | fabien.cherblanc | File Added: test.py | |
2018-01-29 08:09 | fabien.cherblanc | File Added: face1.brep | |
2018-01-29 08:09 | fabien.cherblanc | File Added: face2.brep | |
2018-01-29 08:09 | fabien.cherblanc | Tag Attached: boolean | |
2018-01-30 10:29 | fabien.cherblanc | Note Added: 0010896 | |
2018-01-30 10:30 | fabien.cherblanc | Note Edited: 0010896 | |
2018-01-30 11:11 | Kunda1 | Note Edited: 0010896 | |
2018-01-30 11:12 | Kunda1 | Relationship added | related to 0002676 |
2018-01-30 11:13 | Kunda1 | Note Added: 0010897 | |
2018-01-30 11:14 | Kunda1 | Tag Attached: #pending | |
2018-05-31 17:28 | Kunda1 | Note Added: 0011335 | |
2018-09-25 15:56 | wmayer | Assigned To | => wmayer |
2018-09-25 15:56 | wmayer | Status | new => closed |
2018-09-25 15:56 | wmayer | Resolution | open => fixed |
2018-09-25 15:56 | wmayer | Fixed in Version | => 0.18 |
2018-09-25 15:56 | wmayer | Note Added: 0011839 | |
2018-09-25 16:35 | Kunda1 | Tag Detached: #pending |