View Issue Details

IDProjectCategoryView StatusLast Update
0000972FreeCADBugpublic2016-05-15 21:37
Reportertanderson69 Assigned Towmayer  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionno change required 
Fixed in Version0.17 
Summary0000972: part/offset crash
Descriptionsteps to reproduce.

1) open attached file.
2) part workbench.
3) select shell.
4) offset command.
5) check "fill offset" in task view.
TagsOCC Bug
FreeCAD Information

Activities

2013-02-04 19:02

 

surface.FCStd (Attachment missing)

peterinker

2013-02-04 21:42

reporter   ~0002883

Confirm on FreeCAD 0.13, Libs: 0.13R1827 (Git) on 64Bit Linux

Backtrace in OffsetFill.trace

2013-02-04 21:42

 

OffsetFill.trace (Attachment missing)

wmayer

2013-07-01 15:55

administrator   ~0003321

That's a bug in BRepFill_Generator::CreateKPart() (called from Perform).

There is this line of code:
gp_Circ c1 = (Handle(Geom_Circle)::DownCast(C1))->Circ();

However, for the crash the object behind C1 is Geom_TrimmedCurve and not a Geom_Circle.

This should be check with OCC 6.6 and reported to them if it's still wrong.

wmayer

2013-07-13 14:07

administrator   ~0003402

Still happens with OCC 6.6!

wmayer

2014-03-02 10:10

administrator   ~0004344

Still happens with OCC 6.7!

shoogen

2015-03-01 20:34

developer   ~0005847

I can't reproduce the problem with OCCT 6.8.1-dev (f1b0b4f 2015-02-27)
The shape is not always valid for all combination of parameters. But i wasn't able to get a crash.

OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4625 +342 (Git)
Hash: 5f00c31e8c82f81f350c1ac55db0db6f9e9af297
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-f1b0b4f

wmayer

2015-04-05 15:32

administrator   ~0005967

Still happens with OCC 6.8.0 alias oce 0.17

wmayer

2016-05-15 21:37

administrator   ~0007110

With the recently released occ 7.0 I can confirm that it works now.

Issue History

Date Modified Username Field Change
2013-02-04 19:02 tanderson69 New Issue
2013-02-04 19:02 tanderson69 File Added: surface.FCStd
2013-02-04 21:42 peterinker Note Added: 0002883
2013-02-04 21:42 peterinker File Added: OffsetFill.trace
2013-07-01 15:55 wmayer Note Added: 0003321
2013-07-01 15:55 wmayer Status new => confirmed
2013-07-02 02:59 wmayer Status confirmed => assigned
2013-07-02 02:59 wmayer Assigned To => wmayer
2013-07-13 14:07 wmayer Note Added: 0003402
2014-03-02 10:10 wmayer Note Added: 0004344
2015-03-01 20:34 shoogen Note Added: 0005847
2015-04-05 15:32 wmayer Note Added: 0005967
2015-04-08 06:51 shoogen Tag Attached: OCC Bug
2016-05-15 21:37 wmayer Note Added: 0007110
2016-05-15 21:37 wmayer Status assigned => closed
2016-05-15 21:37 wmayer Resolution open => no change required
2016-05-15 21:37 wmayer Fixed in Version => 0.17