DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0031849

Modeling Algorithms - Boolean operations produce different results on different systems

CommunityOCCT:Modeling Algorithmsclosed6 public notes

Search issues

Description

We encountered slightly different results of geometry generation processes being performed on systems with different processor architecture (Ivy bridge vs. Skylake, Zen2 etc.).

Attached are our resulting breps produced by DRAW script below (Attachment 4 (BREP) and Attachment 3 (BREP)).

1) Can you confirm these different results?
2) Can you provide some details for this different behavior?

Steps to reproduce

pload ALL
datadir c:/temp
restore Attachment 5 (BREP)
restore Attachment 6 (BREP)
bsection res s1 s2
save res res.brep

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 1
The difference is not greater than in 11th digit in double precision values. I think it can be explained by different numeric processors on different platforms. It is hardly possible to fix this problem.
02Author
You are right, but these differences increase with ongoing manipulations of the model.

We got aware of it when a (seemingly valid) shape produced on Ivybridge architecture could not be meshed on any platform using CADExchanger SDK (which is going to be investigated).

For the sake of completeness, the shapes are attached (Attachment 1 (BREP), Attachment 2 (BREP)).
03Commenter 3
Both shapes are meshed with no problems using OCCT BRepMesh algorithm.
04Commenter 4
Dear Author, could you provide some feedback on this bug?
05Author
Dear msv,

cadex confirmed a bug in their visualization mesher causing the failing meshing of the slightly different shape.

Issue could be closed, the information shared here is sufficient (at least for myself).
06Commenter 6
Please close this bug.