DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0028386

Intersection curves are incomplete

Open CASCADEOCCT:Modeling Algorithmsclosed6 public notes

Search issues

Description

See Steps To Reproduce and "Attachment 1 (PNG)" attached picture.

Both intersection curves are not prolonged to the edge. However, some point on edge is true intersection point.

Draw[]> restore [locate_data_file a102] a
Draw[]> restore [locate_data_file b132] b
Draw[]> explode a f
Draw[]> explode b f
Draw[]> don a_2 b_2
Draw[]> explode a_2 e
Draw[]> mkcurve cc a_2_4
Draw[]> cval cc 25 xx yy zz
Draw[]> point pp xx yy zz
Draw[]> projponf a_2 pp
#proj dist = 0

Draw[]> projponf b_2 pp
#proj dist = 4.[revision removed]-015


I.e. the point pp on the edge a_2_4 is true intersection point between the faces a_2 and b_2. Why is this point excluded from the intersection result?

Steps to reproduce

test boolean bopcut_complex I7

restore [locate_data_file a102] a
restore [locate_data_file b132] b

explode a f
explode b f

don a_2 b_2
bopcurves a_2 b_2 -2d

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 1
This issue is reproduced even on the current MASTER
02Commenter 2
The bug description has been updated according to the current state of the problem.
03Commenter 3
DC,

Please pay attention to the following fact.

Draw[]> toler a_2
#FACE : MAX=9.[revision removed]-008

Draw[]> toler b_2
#FACE : MAX=0.0030000000000000001

I.e. the intersection result is expected to be rough in this case. Let us try to obtain more precise solution.

Set new tolerance only for the face (except edges and vertices).
Draw[]> settolerance b_2 f 1.0e-7

Draw[]> don a_2 b_2
Draw[]> bopcurves a_2 b_2 -2d

New result seems to be OK.

Draw[]> mkedge e1 c_1
Draw[]> mkedge e2 c_2
Draw[]> explode a_2 e
Draw[]> don e1 e2 a_2_4
Draw[]> distmini d1 e1 a_2_4; dval d1_val
# 2.[revision removed]-007
Draw[]> distmini d1 e2 a_2_4; dval d2_val
# 0

I.e. new section curves are prolonged to the source edge with the tolerance not more than 2.3e-7

04Commenter 4
Dear Mikhail,

According to the message #0028386, I believe we can close this issue by the reason of not reproducible.
05Commenter 5
Before closing, we should make sure that the original bug (Boolean operation) is solved. Where is the root of this bug?
06Commenter 6
The root bug has not been found.
So, I agree to close this bug.