View Issue Details

IDProjectCategoryView StatusLast Update
0003679PartDesignBugpublic2019-02-25 12:40
Reporterchrisb Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version0.18 
Target Version0.19Fixed in Version 
Summary0003679: Polar pattern not working on a midplane pocket
DescriptionForum topic shows an example where a pocket with Midplane=True is pocketed. The following polar pattern fails.
A file showing the issue is attached to the aforementioned forum post.
TagsOCC Bug, upstream

Activities

wmayer

2018-11-10 17:04

administrator   ~0012167

When Midplane=True then the Polar transform takes a lot of time and always causes a segfault at the end.

normandc

2019-02-24 16:03

manager   ~0012747

Could this be related to 0003600?

wmayer

2019-02-24 18:05

administrator   ~0012754

Last edited: 2019-02-25 12:39

View 2 revisions

Seems to be a bug in OCCT's ProjLib_ProjectedCurve::Load method. There is code block

        NCollection_DataMap<Standard_Integer, Standard_Integer> aMap; 
        Handle(Geom2d_BSplineCurve) aRes = myResult.BSpline();
        const Standard_Integer aDeg = aRes->Degree();
where aRes is a handle to a null pointer. OCCT simply accesses the pointer without checking beforehand whether it's null or not.

Then there is the function Approx_ComputeCLine::Perform which seems to take forever.

wmayer

2019-02-24 18:09

administrator   ~0012755

Last edited: 2019-02-25 12:39

View 2 revisions

I don't think that 0003600 is directly related. The slowness there is presumably not the creation of the array but performing the boolean operations afterwards.

The project in the forum thread as something relative simple and still takes a long time for computation.

Issue History

Date Modified Username Field Change
2018-11-10 07:07 chrisb New Issue
2018-11-10 17:04 wmayer Status new => confirmed
2018-11-10 17:04 wmayer Note Added: 0012167
2019-02-24 16:03 normandc Target Version => 0.19
2019-02-24 16:03 normandc Note Added: 0012747
2019-02-24 18:05 wmayer Note Added: 0012754
2019-02-24 18:09 wmayer Note Added: 0012755
2019-02-25 12:39 Kunda1 Note Edited: 0012754 View Revisions
2019-02-25 12:39 Kunda1 Note Edited: 0012755 View Revisions
2019-02-25 12:40 Kunda1 Tag Attached: OCC Bug
2019-02-25 12:40 Kunda1 Tag Attached: upstream