View Issue Details

IDProjectCategoryView StatusLast Update
0001538FreeCADBugpublic2017-10-22 20:42
Reporterteobo Assigned To 
PrioritynoneSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Product Versiontrunk 
Summary0001538: face-normal-flip when Part.Face() fed with internaly hold points
Descriptionhttp://forum.freecadweb.org/viewtopic.php?f=22&t=6557
Hello,
I hope to find out where the error with the flipping normals lies. It seems that Part.Face can not cope
with certain float formats. I wrote a bug-demo script, below.
And work around.

OS: Ubuntu 13.10
Platform: 64-bit
Version: 0.14.3544 (Git)
Branch: master
Hash: 94f10f5d95aae441dc18576a61b82740b676f299
Python version: 2.7.5+
Qt version: 4.8.4
Coin version: 4.0.0a
SoQt version: 1.5.0
OCC version: 6.7.0
Steps To Reproducesee forum post
Tags#tobeclosed, OCC 7.2, OCC Bug, upstream
FreeCAD Information

Activities

shoogen

2014-05-12 13:23

developer   ~0004659

I would consider this rather a design flaw in OCCT then a bug in the implementation. Hoever, since we neither address the problem in our python API nor in the user documentation, we should leave this ticket open IMHO.

Kunda1

2017-01-26 21:20

administrator   ~0007999

bumped forum thread

Kunda1

2017-02-04 03:37

administrator   ~0008202

Upstream related ticket according to @shoogen is http://tracker.dev.opencascade.org/view.php?id=24954

Kunda1

2017-10-11 03:37

administrator   ~0010288

Upstream reports this should be fixed in OCCT 6.9

Kunda1

2017-10-11 03:38

administrator   ~0010289

punting to wmayer

Kunda1

2017-10-16 19:44

administrator   ~0010305

@normandc can you test this with OCC >= 6.9 ?

Kunda1

2017-10-18 19:27

administrator   ~0010323

@wmayer care to test this real quick ?

wmayer

2017-10-22 20:42

administrator   ~0010339

Test script:
p=(9.08, 8.62, 3.75, 1.87, 3.04, 9., 4.26, 1.37, -0.08, 9.08, 8.62, 3.75)
v1=App.Vector(p[0:3])
v2=App.Vector(p[3:6])
v3=App.Vector(p[6:9])
v4=App.Vector(p[9:12])

pl=Part.makePolygon([v1,v2,v3,v4])
f=Part.Face(pl)

pl.Orientation
f.OuterWire.Orientation

From occ 6.9 on both orientation are forward, in the past they were forward and reversed.

Issue History

Date Modified Username Field Change
2014-05-10 12:19 teobo New Issue
2014-05-12 13:23 shoogen Note Added: 0004659
2017-01-26 21:09 Kunda1 Tag Attached: OCC Bug
2017-01-26 21:09 Kunda1 Tag Attached: upstream
2017-01-26 21:09 Kunda1 Tag Attached: OCC 7.2
2017-01-26 21:20 Kunda1 Note Added: 0007999
2017-02-04 03:37 Kunda1 Note Added: 0008202
2017-10-11 03:36 Kunda1 Tag Attached: #tobeclosed
2017-10-11 03:37 Kunda1 Note Added: 0010288
2017-10-11 03:38 Kunda1 Assigned To => wmayer
2017-10-11 03:38 Kunda1 Status new => feedback
2017-10-11 03:38 Kunda1 Note Added: 0010289
2017-10-16 19:44 Kunda1 Note Added: 0010305
2017-10-18 19:27 Kunda1 Note Added: 0010323
2017-10-22 20:42 wmayer Assigned To wmayer =>
2017-10-22 20:42 wmayer Status feedback => closed
2017-10-22 20:42 wmayer Resolution open => fixed
2017-10-22 20:42 wmayer Note Added: 0010339