MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031926Community[OCCT] OCCT:Meshpublic2020-11-13 17:362020-11-13 22:55
ReporterOliver R 
Assigned Tooan 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0031926: Mesh - Hang
DescriptionCutting a sewn tetrahedron made up from faces from a sphere will hang in BRepMesh_IncrementalMesh.
Steps To Reproduce
pload MODELING VISUALIZATION
axo
vertex v11 0 1 0; vertex v12 1 0 0; vertex v13 0 0 0
edge e11 v11 v12; edge e12 v12 v13; edge e13 v13 v11
wire w1 e11 e12 e13
mkplane f1 w1

vertex v21 0 0 2; vertex v22 1 0 0; vertex v23 0 0 0
edge e21 v21 v22; edge e22 v22 v23; edge e23 v23 v21
wire w2 e21 e22 e23
mkplane f2 w2

vertex v31 0 0 2; vertex v32 0 1 0; vertex v33 1 0 0
edge e31 v31 v32; edge e32 v32 v33; edge e33 v33 v31
wire w3 e31 e32 e33
mkplane f3 w3

vertex v41 0 0 2; vertex v42 0 0 0; vertex v43 0 1 0
edge e41 v41 v42; edge e42 v42 v43; edge e43 v43 v41
wire w4 e41 e42 e43
mkplane f4 w4

psphere s1 1
sewing sh2 f1 f2 f3 f4
ssolid sh2 s2
bcut c s1 s2
#save c c.brep
incmesh c 1

vinit View1
vdisplay -dispMode 1 c
vfit


Compile the attached file with

g++ -O0 -g -I ~/ooc/build/include/opencascade -L ~/ooc/build/lin64/gcc/lib demo_simple_10.cpp -lTKBin -lTKBinL -lTKBinTObj -lTKBinXCAF -lTKBO -lTKBool -lTKBRep -lTKCAF -lTKCDF -lTKDCAF -lTKDraw -lTKernel -lTKFeat -lTKFillet -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKHLR -lTKIGES -lTKLCAF -lTKMath -lTKMesh -lTKMeshVS -lTKOffset -lTKOpenGl -lTKPrim -lTKQADraw -lTKRWMesh -lTKService -lTKShHealing -lTKStd -lTKStdL -lTKSTEP209 -lTKSTEP -lTKSTEPAttr -lTKSTEPBase -lTKSTL -lTKTObj -lTKTObjDRAW -lTKTopAlgo -lTKTopTest -lTKV3d -lTKVCAF -lTKViewerTest -lTKVRML -lTKXCAF -lTKXDEDRAW -lTKXDEIGES -lTKXDESTEP -lTKXMesh -lTKXml -lTKXmlL -lTKXmlTObj -lTKXmlXCAF -lTKXSBase -lTKXSDRAW
TagsNo tags attached.
Test case number
Attached Filescpp file icon demo_simple_10.cpp (2,499 bytes) 2020-11-13 17:36

- Relationships

-  Notes
(0096770)
kgv (developer)
2020-11-13 22:25

The problem is reproducible on OCCT 7.4.0, but not on 7.5.0 - so it seems the bug has been fixed by some patch.
(0096771)
kgv (developer)
2020-11-13 22:53
edited on: 2020-11-13 22:54

Boolean operation produces a broken Solid:
Draw[26]> bcut c s1 s2
Warning: Unable to orient the shape correctly


On OCCT 7.5.0 such Solid doesn't cause BRepMesh hanging, but still should be checked if Boolean operation works as expected.


- Issue History
Date Modified Username Field Change
2020-11-13 17:36 Oliver R New Issue
2020-11-13 17:36 Oliver R Assigned To => oan
2020-11-13 17:36 Oliver R File Added: demo_simple_10.cpp
2020-11-13 18:18 kgv Summary Hang => Mesh - Hang
2020-11-13 22:25 kgv Note Added: 0096770
2020-11-13 22:25 kgv Target Version => 7.5.0
2020-11-13 22:49 kgv Steps to Reproduce Updated View Revisions
2020-11-13 22:53 kgv Note Added: 0096771
2020-11-13 22:54 kgv Note Edited: 0096771 View Revisions
2020-11-13 22:55 kgv Target Version 7.5.0 => 7.6.0*


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker