View Issue Details

IDProjectCategoryView StatusLast Update
0001983FreeCADBugpublic2018-01-18 14:01
Reporterdmit10 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformDebian GNU/LinuxOSDebian GNU/LinuxOS Version7.0
Product Version0.14 
Fixed in Version0.17 
Summary0001983: Shape is not displayed as solid when cutting a cube with fillets by a border of the fillets
DescriptionMy use-case is to create a hollow box, all edges of which except 4 edges on the ground are rounded. It's hard to do that with a single makeFillet() call because I don't know which edges in the box.Edges are on the ground. As a quick solution I decided to create a bit higher box (target height + rounding radius), round all its edges and cut everything below z=rounding_radius plane by another box. But this doesn't seem to to give me a solid shape.
Steps To Reproduce
ext = ext.makeFillet(1.0, ext.Edges)
ext = Part.makeBox(10,10,10)
ext = ext.makeFillet(1.0, ext.Edges)
int = Part.makeBox(8, 8, 8)
int.translate(FreeCAD.Vector(1,1,1))

#this is displayed incorrectly, I think, because fillet radius is 1.0 that 
#corresponds to the cutBox height
cutBox = Part.makeBox(10,10,1)
Part.show(cube.cut(int).cut(cutBox))

#when I cut above fillet radius, everything is ok
cutBox = Part.makeBox(10,10,5)
Part.show(cube.cut(int).cut(cutBox))
Additional InformationFreeCAD is built from sources 0.14.3702
TagsOCC 7.0, OCC Bug, upstream
FreeCAD Information

Activities

dmit10

2015-02-28 21:55

reporter  

fillet.png (Attachment missing)

wmayer

2015-03-01 10:47

administrator   ~0005836

Please offer the full script to reproduce this because the current Python code lacks of a couple of things.

Also provide the OCC version you are working with.

dmit10

2015-03-01 10:56

reporter   ~0005837

Last edited: 2017-06-20 20:29

I'm sorry, the script looks this way, the first line was from the previous experiment.

import Part
ext = Part.makeBox(10,10,10)
ext = ext.makeFillet(1.0, ext.Edges)
int = Part.makeBox(8, 8, 8)
int.translate(FreeCAD.Vector(1,1,1))

cutBox = Part.makeBox(10,10,1)
Part.show(ext.cut(int).cut(cutBoox))

dmit10

2015-03-01 11:07

reporter   ~0005838

OCC version seems to be 6.5.2
From /usr/include/oce/Standard_Version.hxx :

#define OCC_VERSION_MAJOR 6
#define OCC_VERSION_MINOR 5
#define OCC_VERSION_MAINTENANCE 2

shoogen

2015-03-01 12:20

developer   ~0005842

Last edited: 2015-03-01 12:30

The result of the fillet fails the bopcheck http://tracker.dev.opencascade.org/view.php?id=25879

wmayer

2015-03-01 15:20

administrator   ~0005844

Last edited: 2015-03-01 15:20

For
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4630 (Git)
Branch: master
Hash: 1b7c0e2a51bf4bffe5f345204c9c2bc6681e151d
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
OCC version: 6.6.0

The visual output looks correct but the geometry check also reports an error.

For
OS: Ubuntu 12.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4627 (Git)
Branch: master
Hash: d5ee7a6efe3bf8371359fc9fc823f7392aaa5518
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
OCC version: 6.5.0

It visually looks broken (as in your screenshot) and the geometry check reports that the shells are not closed.

Kunda1

2017-12-11 17:26

administrator   ~0010571

Upstream ticket has been resolved but I'm not sure in which OCCT version. @wmayer please advise

wmayer

2017-12-11 18:50

administrator   ~0010572

Can't say when it has been fixed. I tried it on Windows with FreeCAD 0.14, 0.15 and 0.16 and there the visual appearance looks good but the geometry checker reported an error. With 0.17 this error is gone now. occ version there is 7.0.

Under Ubuntu FreeCAD version is 0.17 and occ version 6.8.0 and there everything looks good, too.

So, issue can be considered as solved.

Kunda1

2018-01-18 14:01

administrator   ~0010786

Fixed fully in OCC 7.0

Issue History

Date Modified Username Field Change
2015-02-28 21:55 dmit10 New Issue
2015-02-28 21:55 dmit10 File Added: fillet.png
2015-03-01 10:47 wmayer Note Added: 0005836
2015-03-01 10:47 wmayer Status new => feedback
2015-03-01 10:56 dmit10 Note Added: 0005837
2015-03-01 10:56 dmit10 Status feedback => new
2015-03-01 11:07 dmit10 Note Added: 0005838
2015-03-01 12:20 shoogen Note Added: 0005842
2015-03-01 12:23 shoogen Tag Attached: OCC Bug
2015-03-01 12:30 shoogen Note Edited: 0005842
2015-03-01 15:20 wmayer Note Added: 0005844
2015-03-01 15:20 wmayer Note Edited: 0005844
2017-01-15 04:47 Kunda1 Tag Attached: upstream
2017-01-27 02:24 Kunda1 Tag Attached: bump
2017-06-20 20:22 Kunda1 Steps to Reproduce Updated
2017-06-20 20:25 Kunda1 Steps to Reproduce Updated
2017-06-20 20:29 Kunda1 Note Edited: 0005837
2017-08-22 11:56 Kunda1 Tag Attached: OCC NotOnRoadmap
2017-12-11 17:26 Kunda1 Note Added: 0010571
2017-12-11 17:30 Kunda1 Tag Attached: #pending
2017-12-11 18:50 wmayer Status new => closed
2017-12-11 18:50 wmayer Resolution open => no change required
2017-12-11 18:50 wmayer Fixed in Version => 0.17
2017-12-11 18:50 wmayer Note Added: 0010572
2017-12-11 19:43 Kunda1 Tag Detached: #pending
2018-01-18 14:00 Kunda1 Tag Detached: OCC NotOnRoadmap
2018-01-18 14:00 Kunda1 Tag Detached: bump
2018-01-18 14:01 Kunda1 Tag Attached: OCC 7.0
2018-01-18 14:01 Kunda1 Note Added: 0010786