MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022869Community[OCCT] OCCT:Shape Healingpublic2011-12-20 16:122017-10-17 16:13
Reporterszy 
Assigned Togka 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformAOSLOS VersionL
Product Version[OCCT] 6.5.2 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0022869: Error during triangulation
DescriptionPost from the Forum (Francesco Argese ) - http://www.opencascade.org/org/forum/thread_22423/. [^]

"Hi all,

I'm having some problems loading a model taken from grabcad. It is a spring [1] and if I try to load it with OpenCascade Import/Export example (version 6.5.2) it seems to have some problems.

Among attachments the results with Import/Export that lack something. If I load it with an app written by me using OpenCascade I have the same problem and 4 faces give me null triangulation. I have the same problem with other models, too. The model Springs.igs is the smallest that give me this problem.

What could be the problem? Any suggestions? Is there any parameter that i can set in the igs reader to resolve?

Thanks in advance.
Francesco Argese

[1] http://grabcad.com/library/springs [^]
Attached file: Springs_OCCT_Import_Export.jpg (172 980 bytes)"

Draw command incmesh returns error status:
==> Meshing statuses: SelfIntersectingWire
Steps To Reproducepload ALL
igesread Spring.igs s *
checkshape s ## Ok
incmesh s 0.01
## Meshing statuses: SelfIntersectingWire
TagsNo tags attached.
Test case numberbugs heal bug22869
Attached Files? file icon Spring.igs (214,512 bytes) 2011-12-20 16:12
png file icon spring_face_1.png (39,692 bytes) 2013-03-11 10:29
png file icon spring_face_1_part_2d.png (8,088 bytes) 2013-03-11 10:29

- Relationships

-  Notes
(0019096)
abv (manager)
2012-01-12 09:54

The same problem is reproduced on previous versions of OCCT (checked 6.3.0 and 6.5.0)
(0023637)
oan (developer)
2013-03-11 10:28
edited on: 2013-03-11 10:31

This bug is not a problem of the BRepMesh, but the fixshape functionality.

incmesh and checkshape commands indicate self-intersetion problem, so, the BRepMesh performs check, finds problems and breaks further calculations that is correct behavior (see also the attacked screenshots).
The checkshape prints the following log:


------------------------------------------------------


--- BRepCheck Wire: AutoIntersection Phase1 -> Erreur

--- BRepCheck Wire: AutoIntersection Phase2 -> Bon
--- distance Point Vertex : 2.70142 (tol 0.007878383)
--- Erreur Max sur E1 : 0.07563974 Tol_Edge:0.08069114
--- Erreur Max sur E2 : 0.07316676 Tol_Edge:0.07431163

------------------------------------------------------


--- BRepCheck Wire: AutoIntersection Phase1 -> Erreur

--- BRepCheck Wire: AutoIntersection Phase2 -> Bon
--- distance Point Vertex : 0.1020595 (tol 0.007878383)
--- Erreur Max sur E1 : 9.060006e-005 Tol_Edge:0.08069114
--- Erreur Max sur E2 : 0.0001042605 Tol_Edge:0.07431163

------------------------------------------------------


--- BRepCheck Wire: AutoIntersection Phase1 -> Erreur

--- BRepCheck Wire: AutoIntersection Phase2 -> Bon
--- distance Point Vertex : 2.697098 (tol 0.007878383)
--- Erreur Max sur E1 : 0.07713977 Tol_Edge:0.08069114
--- Erreur Max sur E2 : 0.07293055 Tol_Edge:0.07412683

------------------------------------------------------


--- BRepCheck Wire: AutoIntersection Phase1 -> Erreur

--- BRepCheck Wire: AutoIntersection Phase2 -> Bon
--- distance Point Vertex : 2.52925 (tol 0.006648691)
--- Erreur Max sur E1 : 0.05162059 Tol_Edge:0.05658045
--- Erreur Max sur E2 : 0.04573681 Tol_Edge:0.07412683
This shape seems to be valid


At the same time, the fixshape command doesn't process this problem and leaves it without any changes.

I move this bug to the Shape Healing category.

(0071576)
apv (tester)
2017-10-17 16:13

Problem described in issue is reproduced on current state of OCCT.

- Issue History
Date Modified Username Field Change
2011-12-20 16:12 szy New Issue
2011-12-20 16:12 szy Assigned To => jgv
2011-12-20 16:12 szy File Added: Spring.igs
2011-12-20 16:12 szy Assigned To jgv => msv
2011-12-20 16:16 abv Assigned To msv => pdn
2011-12-20 16:16 abv Status new => assigned
2012-01-12 09:54 abv Note Added: 0019096
2012-03-21 14:21 abv Target Version 6.5.3 => 6.5.4
2012-10-23 18:41 abv Target Version 6.5.4 => 6.6.0
2012-11-09 10:50 abv Category OCCT:Modeling Algorithms => OCCT:Mesh
2013-03-01 21:35 abv Assigned To pdn => oan
2013-03-01 21:35 abv Target Version 6.6.0 => 6.7.0
2013-03-11 10:28 oan Note Added: 0023637
2013-03-11 10:29 oan Note Edited: 0023637 View Revisions
2013-03-11 10:29 oan File Added: spring_face_1.png
2013-03-11 10:29 oan File Added: spring_face_1_part_2d.png
2013-03-11 10:29 oan Category OCCT:Mesh => OCCT:Modeling Algorithms
2013-03-11 10:30 oan Assigned To oan => jgv
2013-03-11 10:31 oan Category OCCT:Modeling Algorithms => OCCT:Shape Healing
2013-03-11 10:31 oan Note Edited: 0023637 View Revisions
2013-03-11 10:35 oan Assigned To jgv => gka
2013-12-21 10:21 abv Target Version 6.7.0 => 6.7.1
2014-04-04 18:19 abv Target Version 6.7.1 => 6.8.0
2014-09-26 09:51 abv Target Version 6.8.0 => 7.1.0
2016-10-26 12:20 gka Target Version 7.1.0 => 7.2.0
2017-07-27 09:33 abv Target Version 7.2.0 => 7.4.0*
2017-10-17 16:13 apv Test case number => bugs heal bug22869
2017-10-17 16:13 apv Note Added: 0071576


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker