MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #25956 All Revisions ] Back to Issue ]
Summary 0025956: Wrong result obtained by intersection algorithm.
Revision 2015-12-08 16:10 by msv
Steps To Reproduce # Described result is obtained on OCCT 6.9.0 version

restore [locate_data_file bug25956-1.brep] b1
restore [locate_data_file bug25956-2.brep] b2

# 1.
mksurf s1 b1
mksurf s2 b2
trimv s1 s1 0. 11.
trimv s2 s2 0. 12.
intersect i s1 s2
#i_1 i_2 - WRONG must be at least three curves (see "expl. picture.PNG").

# 2.
#Curves must be split in Point to split (see "expl. picture.PNG").
bopcurves b1 b2 -2d
# 3 curve(s) found. - OK
#Tolerance Reached=0.0012107008879436209 is too huge. - WRONG

# 3.
bsection result b1 b2
nbs result
#Number of shapes in result
# VERTEX : 5
# EDGE : 5
# WIRE : 0
# FACE : 0
# SHELL : 0
# SOLID : 0
# COMPSOLID : 0
# COMPOUND : 1
# SHAPE : 11


Section result (case 3) seems to be valid.
Revision 2015-12-08 15:50 by nbv
Steps To Reproduce # Described result is obtained on OCCT 6.9.0 version

restore [locate_data_file bug25956-1.brep] b1
restore [locate_data_file bug25956-2.brep] b2

# 1.
mksurf s1 b1
mksurf s2 b2
trimv s1 s1 0. 11.
trimv s2 s2 0. 12.
intersect i s1 s2
#i_1 i_2 - WRONG must be at least three curves (see "expl. picture.PNG").

# 2.
#Curves must be split in Point to split (see "expl. picture.PNG").
bopcurves b1 b2 -2d
#3 curve(s) found. - OK
#Tolerance Reached=0.0012107008879436209 is too huge. - WRONG

# 3.
bsection result b1 b2
nbs result
#Number of shapes in result
# VERTEX : 5
# EDGE : 5
# WIRE : 0
# FACE : 0
# SHELL : 0
# SOLID : 0
# COMPSOLID : 0
# COMPOUND : 1
# SHAPE : 11


Section result (case 3) seems to be valid.
Revision 2015-12-08 15:42 by nbv
Steps To Reproduce # Described result is obtained on OCCT 6.9.0 version

restore [locate_data_file bug25956-1.brep] b1
restore [locate_data_file bug25956-2.brep] b2

# 1.
mksurf s1 b1
mksurf s2 b2
trimv s1 s1 0. 11.
trimv s2 s2 0. 12.
intersect i s1 s2
#i_1 i_2 - WRONG must be at least three curves (see "expl. picture.PNG").

# 2.
#Curves must be split in Point to split (see "expl. picture.PNG").
bopcurves b1 b2 -2d
#3 curve(s) found. - OK
#Tolerance Reached=0.0012107008879436209 is too huge. - WRONG
Revision 2015-12-08 14:59 by nbv
Steps To Reproduce # Use the following DRAW commands to reproduce the problem:
#---------------------
restore b1_009_1 b1
restore b2_009_1 b2

# 1.
# problem:
# not all intersection curves are computed
mksurf s1 b1
mksurf s2 b2
trimv s1 s1 0. 11.
trimv s2 s2 0. 12.
intersect i s1 s2
#i_1 i_2
# But must be three curves.

# 2.
# problem:
# intersection curves are not splitted
# bad approximation of intersection curve
bopcurves b1 b2

# 3.
# problem:
# intersection curves are not splitted
# bad approximation of intersection curve
bopcurves b1 b2 -2d
Revision 2015-12-08 14:57 by nbv
Steps To Reproduce # Use the following DRAW commands to reproduce the problem:
#---------------------
restore b1_009_1 b1
restore b2_009_1 b2

# 1.
# problem:
# not all intersection curves are computed
mksurf s1 b1
mksurf s2 b2
trimv s1 s1 0. 11.
trimv s2 s2 0. 12.
intersect i s1 s2

# 2.
# problem:
# intersection curves are not splitted
# bad approximation of intersection curve
bopcurves b1 b2

# 3.
# problem:
# intersection curves are not splitted
# bad approximation of intersection curve
bopcurves b1 b2 -2d
Revision 2015-03-18 06:30 by pkv
Steps To Reproduce # Use the following DRAW commands to reproduce the problem:
#---------------------
restore b1_009_1 b1
restore b2_009_1 b1

# 1.
# problem:
# not all intersection curves are computed
mksurf s1 b1
mksurf s2 b2
trimv s1 s1 0. 11.
trimv s2 s2 0. 12.
intersect i s1 s2

# 2.
# problem:
# intersection curves are not splitted
# bad approximation of intersection curve
bopcurves b1 b2

# 3.
# problem:
# intersection curves are not splitted
# bad approximation of intersection curve
bopcurves b1 b2 -2d


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker