-
Notifications
You must be signed in to change notification settings - Fork 564
Open
Labels
0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categoriesThe issue was created, but not updated by maintainer. Waiting for updates labels and categories1. ModelingBoolean operations, offsets, primitives, any conversion, brep builders and etc...Boolean operations, offsets, primitives, any conversion, brep builders and etc...2. BugSomething isn't workingSomething isn't working7. FreeCADThe issue related to FreeCAD projectThe issue related to FreeCAD project
Description
Description
Computing the minimum distance between shapes that intersect each other may give incorrect results. Below are 4 cylinders very close together that all intersect the main part. Two of those parts have a minimum distance of 0 or a value less than the tolerance, which is expected, whereas two other have a value greater than zero which is incorrect.
Expected Behavior
Returning 0 or a value less than the tolerance computing:
broken.brp: 0
broken001.brp: 0
ok.brp: 6.89411847443645e-15
ok001.brp: 0
Actual Behavior
Giving a value larger than the tolerance for the broken brep files:
broken.brp: 6.082093023436903e-05
broken001.brp: 0.083053955257165565
ok.brp: 6.89411847443645e-15
ok001.brp: 0
Sample Code or DRAW Tcl Script
DRAW test: incorrect-minimum-distance.zip
Operating System
Linux
Compiler
GCC
Bitness
64-bit
OCCT Version
latest
Additional Files
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categoriesThe issue was created, but not updated by maintainer. Waiting for updates labels and categories1. ModelingBoolean operations, offsets, primitives, any conversion, brep builders and etc...Boolean operations, offsets, primitives, any conversion, brep builders and etc...2. BugSomething isn't workingSomething isn't working7. FreeCADThe issue related to FreeCAD projectThe issue related to FreeCAD project
Type
Projects
Status
Todo