View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002325 | PartDesign | Bug | public | 2015-11-01 21:56 | 2022-01-24 19:16 |
Reporter | joostn | Assigned To | abdullah | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | Mac | OS | 10.11 | OS Version | 10.11 |
Product Version | 0.15 | ||||
Target Version | 0.20 | ||||
Summary | 0002325: Pad -> Fillet -> Apply Thickness causes crash (upstream OCC bug) | ||||
Description | See attached project and steps below: | ||||
Steps To Reproduce | - Open test3.FCStd - Switch to Part workbench - highlight a face of the 'Fillet' solid (I tried the topmost flat face as displayed) - select the Apply Thickness tool Bang! crash. | ||||
Additional Information | OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.15.4671 (Git) Branch: releases/FreeCAD-0-15 Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c Python version: 2.7.9 Qt version: 4.8.6 Coin version: 4.0.0a I've also tried with a daily build: OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.5846 (Git) Build type: Unknown Branch: master Hash: 71be79e09e293bd2ccb1470981f07807be4c04fb Python version: 2.7.10 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 6.7.0 | ||||
Tags | #ready-for-migration, OCC 7.2.1, OCC Bug, OCC NotOnRoadmap, upstream | ||||
FreeCAD Information | |||||
|
|
|
TKG3dd.dll!Geom_TrimmedCurve::Geom_TrimmedCurve(const Handle_Geom_Curve & C={...}, const double U1=0.00000000000000000, const double U2=1.5707963267949001, const bool Sense=true) Line 80 + 0x1d bytes C++ TKOffsetd.dll!BRepOffset_Tool::TryProject(const TopoDS_Face & F1={...}, const TopoDS_Face & F2={...}, const TopTools_ListOfShape & Edges={...}, TopTools_ListOfShape & LInt1={...}, TopTools_ListOfShape & LInt2={...}, const TopAbs_State Side=TopAbs_IN, const double TolConf=4.9999999999999998e-007) Line 1983 + 0x49 bytes C++ TKOffsetd.dll!BRepOffset_Inter3d::ContextIntByArc(const TopTools_IndexedMapOfShape & ContextFaces={...}, const bool InSide=false, const BRepOffset_Analyse & Analyse={...}, const BRepAlgo_Image & InitOffsetFace={...}, BRepAlgo_Image & InitOffsetEdge={...}) Line 864 C++ TKOffsetd.dll!BRepOffset_MakeOffset::Intersection3D(BRepOffset_Inter3d & Inter={...}) Line 2591 C++ TKOffsetd.dll!BRepOffset_MakeOffset::MakeOffsetShape() Line 727 C++ TKOffsetd.dll!BRepOffset_MakeOffset::MakeThickSolid() Line 792 C++ TKOffsetd.dll!BRepOffsetAPI_MakeThickSolid::Build() Line 72 C++ TKOffsetd.dll!BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape & S={...}, const TopTools_ListOfShape & ClosingFaces={...}, const double Offset=1.0000000000000000, const double Tol=9.9999999999999995e-008, const BRepOffset_Mode Mode=BRepOffset_Skin, const bool Intersection=false, const bool SelfInter=false, const GeomAbs_JoinType Join=GeomAbs_Arc) Line 60 + 0xd bytes C++ Part_d.pyd!Part::TopoShape::makeThickSolid(const TopTools_ListOfShape & remFace={...}, double offset=1.0000000000000000, double tol=9.9999999999999995e-008, bool intersection=false, bool selfInter=false, short offsetMode=0, short join=0) Line 2099 + 0xa2 bytes C++ Part_d.pyd!Part::Thickness::execute() Line 605 + 0x64 bytes C++ That's a bug in the OCC library. |
|
Still crashes here with the OCE from tanderson, OCE patches over OCC 6.9.1 OS: Ubuntu 12.04.5 LTS Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.6523 (Git) Build type: Release Branch: master Hash: ecd6517cb00fcf05edd41a38b3ce1fa8b16ec3ad Python version: 2.7.3 Qt version: 4.8.2 Coin version: 3.1.3 OCC version: 6.9.1.oce-0.18-dev |
|
Might be related: http://forum.freecadweb.org/viewtopic.php?f=3&t=14677 |
|
@joostn do you mind re-uploading the attachment? It didn't survive are previous tracker backup restore. |
|
I hope this is the file (it has the same name). |
|
@normandc do you mind weighing in ? |
|
With occ7.2 it still crashes and shows the identical stack trace. |
|
@chrisb would you please test to see if issue is still present. Thanks! |
|
Adding to 0.19 roadmap so that bug gets attention |
|
I have reported the bug upstream and provided a possible patch to avoid the segfault: https://tracker.dev.opencascade.org/view.php?id=31601 @Kunda1 For your administration ;) |
|
Can we hope this 4 years bug to be solve in a near future ? I can see proposed patch but always testing newer version never solve the problem... This bug really kills Freecad experience and adoption because it prevents the realization of even simple shells that are the most common operation for boxes and enclose cases... So we have no workaround than using another 3D CAD... Really too bad ! |
|
Added to https://forum.freecadweb.org/viewtopic.php?f=10&t=20264&p=425392#p425392 |
|
I am coming back on this issue with the following example showing a weird behavior that can lead to better understand the bug. In the following example, removing the face without fillet and trying to create a thickness of 1mm inward leads to the famous bug... But if first of all I create a thickness of 0mm inward I obtain a new solid that then enables to create a thickness of 1mm inward without leading to the bug. So the bug could be on freecad side ? |
|
When I do the same steps (thickness of 0 mm inward), the body is also rotating 90 degrees on the x axis As I understand it, problems arise when there are chamfer (or fillets) in the part. When a wall is created inward, the chamfer also scales, and at some point it seems to invert and create self-intersections. I more or less learned how to bypass this problem by adding fillets to the chamfers or chamfers to the fillets, but this is not the solution to the problem, because it takes a long time to guess the right values.
|
|
Here, I managed to make desired (2,4 mm) inward thickness and chamfers, but I have to add Fillet001 to apply Thickness |
|
This ticket has been migrated to GitHub as issue 5634. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-11-01 21:56 | joostn | New Issue | |
2015-11-01 21:56 | joostn | File Added: test3.FCStd | |
2016-02-28 20:47 | wmayer | Note Added: 0006859 | |
2016-02-28 20:47 | wmayer | Status | new => confirmed |
2016-03-01 15:11 | jmaustpc | Note Added: 0006870 | |
2016-03-14 19:52 | wmayer | Note Added: 0006907 | |
2017-01-27 01:09 | Kunda1 | Tag Attached: OCC Bug | |
2017-01-27 01:09 | Kunda1 | Tag Attached: upstream | |
2017-05-12 12:32 | Kunda1 | Note Added: 0008973 | |
2017-05-12 13:21 | joostn | File Added: test3-2.FCStd | |
2017-05-12 13:21 | joostn | Note Added: 0008974 | |
2017-08-21 11:07 | Kunda1 | Note Added: 0009976 | |
2017-09-02 11:27 | wmayer | Note Added: 0010060 | |
2017-10-10 02:10 | Kunda1 | Tag Attached: OCC 7.2.1 | |
2017-10-10 02:11 | Kunda1 | Summary | Pad -> Fillet -> Apply Thickness causes crash => Pad -> Fillet -> Apply Thickness causes crash (upstream OCC bug) |
2017-10-10 02:12 | Kunda1 | Tag Attached: OCC NotOnRoadmap | |
2017-10-18 11:20 | wmayer | Project | FreeCAD => PartDesign |
2018-09-13 20:09 | Kunda1 | Note Added: 0011731 | |
2019-04-24 11:53 | Kunda1 | Target Version | => 0.19 |
2019-04-24 11:53 | Kunda1 | Note Added: 0013045 | |
2020-06-07 14:55 | abdullah | Note Added: 0014509 | |
2020-06-13 15:32 | abdullah | Assigned To | => abdullah |
2020-06-13 15:32 | abdullah | Status | confirmed => assigned |
2020-08-14 17:00 | sfornengo | Note Added: 0014704 | |
2020-08-21 20:52 | Kunda1 | Note Added: 0014706 | |
2020-11-17 10:34 | sfornengo | Note Added: 0014996 | |
2020-11-17 10:34 | sfornengo | File Added: bug_thickness.FCStd | |
2020-11-18 13:22 | andergrin | Note Added: 0014997 | |
2020-11-18 13:36 | andergrin | Note Edited: 0014997 | |
2020-11-18 13:40 | andergrin | Note Added: 0014999 | |
2020-11-18 13:40 | andergrin | File Added: USB Charger Housing.FCStd | |
2021-02-06 06:43 | abdullah | Target Version | => 0.20 |
2022-01-24 19:16 | Kunda1 | Tag Attached: #ready-for-migration |