View Issue Details

IDProjectCategoryView StatusLast Update
0001710PartDesignBugpublic2014-08-30 14:22
ReporterDeepSOIC Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformPCOSWindowsOS Version8.1 64bit
Product Version0.14 
Summary0001710: Loft and sweep from 4-sided polygon to a circle fails (in certain orientation of the polygon)
DescriptionIn certain case the loft between a circle and a 4-sided polygon fails. See Steps To Reproduce section for details.
Steps To Reproduce1. On a new document, select draft workbench.
2. Draw a circle and a polygon centered at the origin and oriented along x axis. Set polygon's number of sides to 4 (the polygon should look like a rhomb).
3. Set radii: R of polygon = 15 mm, R of circle = 150 mm.
4. Raise the circle along Z axis to 100 mm.
5. Swicth to Part workbench and create a Loft between the circle and the polygon.
The loft fails with an error message: "BRepFill_CompatibleWires::SameNumberByPolarMethod failed" or sometimes "ACCESS VIOLATION at address 0xFEFD008 during 'READ' operation". FreeCAD does not crash, but loft is not created.

OR

Open the attached file where a circle and a polygon are already prepared. Make a loft between them - it fails.
Additional InformationSizes are important (e.g. Loft does not fail if the circle is R=50 mm). Orientation is important as well: change the orientation of the polygon to something other than 0 degrees - and the loft is there! Same goes for number of sides: 3 or 5 is OK.

-----copied from About:
OS: Windows
Word size: 32-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.6.2
Qt version: 4.5.2
Coin version: 3.1.0
SoQt version: 1.4.1
OCC version: 6.5.1
TagsNo tags attached.
FreeCAD Information

Activities

DeepSOIC

2014-08-25 00:10

developer  

loft_4gon_bug.FCStd (3,821 bytes)

shoogen

2014-08-30 06:25

developer   ~0005024

1. I can't reproce the problem
OS: Debian GNU/Linux 7.6 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4004 (Git)
Branch: testing
Hash: 91380923beea61d49b35df2107368e2008893ddf
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.3.dev-0304f71
2. There are known problems in the SameNumberByPolar method (http://tracker.dev.opencascade.org/view.php?id=24997)
But this happens inside our geometry kernel, and there is little we can do about it.
3. Your version of OCC is quite old. Is there any reason why you did not install the 64-bit version of FreeCAD, that ships with a newer version of OCC?

DeepSOIC

2014-08-30 11:39

developer   ~0005025

I downloaded 32 version of FreeCAD simply because at that moment I didn't know that 64-bit version is superior. I just followed what Microsoft suggests when installing their Office. I know it's irrelevant, but I was downloading FreeCAD for the first time ever, and of course I didn't bother reading the forum or googling.
I'll upgrade and verify.

DeepSOIC

2014-08-30 12:39

developer   ~0005026

64-bit FreeCAD - it works. i.e., no bug. I think the bug can be considered resolved, except I would like a note to be put on download page that 64-bit ver is superior.

OS: Windows
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0

Issue History

Date Modified Username Field Change
2014-08-25 00:10 DeepSOIC New Issue
2014-08-25 00:10 DeepSOIC File Added: loft_4gon_bug.FCStd
2014-08-30 06:25 shoogen Note Added: 0005024
2014-08-30 11:39 DeepSOIC Note Added: 0005025
2014-08-30 12:39 DeepSOIC Note Added: 0005026
2014-08-30 14:22 shoogen Status new => closed
2014-08-30 14:22 shoogen Resolution open => no change required