View Issue Details

IDProjectCategoryView StatusLast Update
0025956Open CASCADEOCCT:Modeling Algorithmspublic2019-10-25 14:16
ReporterpkvAssigned Tomsv 
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version6.9.0 
Target VersionUnscheduled 
Summary0025956: Modeling Algorithms - Wrong result obtained by intersection algorithm.
DescriptionWrong result obtained by intersection algorithm.

See "expl. picture.PNG" and Steps to Reproduce.
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.
TagsNo tags attached.
Test case number

Attached Files

  • case_009.zip (1,312 bytes)
  • expl. picture.PNG (118,202 bytes)

Relationships

related to 0024418 closedbugmaster Modeling Algorithms - Wrong section curves when intersecting analytical surfaces 

Activities

pkv

2015-03-18 06:30

developer  

case_009.zip (1,312 bytes)

nbv

2015-12-07 15:01

developer   ~0048799

Dear Mikhail,

The result seems to be valid on the current MASTER.

msv

2015-12-07 16:50

developer   ~0048811

Dear Nikolay, please create test case(s) for this bug.

nbv

2015-12-08 15:48

developer  

expl. picture.PNG (118,202 bytes)

nbv

2015-12-08 15:54

developer   ~0048858

Last edited: 2015-12-08 16:01

On the current MASTER (IR-2015-12-04):

Problem # 1 is reproduced.

Behavior of bopcurves algorithm is as same as the behavior of intersect algorithm (returns two curves only). There is no point in splitting these two curves.

Tolerance Reached=3.4656509876706019e-007 (on IR-2015-12-04). I.e. "huge tolerance"-problem has been fixed.

Additionally, I believe that there is no point in splitting intersection curves on intersection level. Intersection algorithm must return complete curves, which should be split by high-level algorithms (if it is necessary). On OCCT 6.9.0 this conception works well.

msv

2015-12-08 16:16

developer   ~0048865

In short, we have the following problems to solve:

- Intersection of surfaces must return 3 curves (including the touching curve between the cone and the cylinder).
- bopcurves must return 3 curves.
- bsection must return compound of 5 edges (3 curves, 2 of which are splitting each other).

Issue History

Date Modified Username Field Change
2015-03-18 06:30 pkv New Issue
2015-03-18 06:30 pkv Assigned To => msv
2015-03-18 06:30 pkv File Added: case_009.zip
2015-03-18 06:31 pkv Status new => assigned
2015-03-18 10:34 msv Assigned To msv => nbv
2015-04-17 00:02 abv Target Version 6.9.0 => 7.1.0
2015-12-07 15:01 nbv Note Added: 0048799
2015-12-07 15:01 nbv Assigned To nbv => msv
2015-12-07 15:01 nbv Status assigned => feedback
2015-12-07 16:50 msv Note Added: 0048811
2015-12-07 16:50 msv Assigned To msv => nbv
2015-12-07 16:50 msv Status feedback => assigned
2015-12-08 14:57 nbv Steps to Reproduce Updated
2015-12-08 14:59 nbv Steps to Reproduce Updated
2015-12-08 15:42 nbv Description Updated
2015-12-08 15:42 nbv Steps to Reproduce Updated
2015-12-08 15:48 nbv File Added: expl. picture.PNG
2015-12-08 15:50 nbv Steps to Reproduce Updated
2015-12-08 15:54 nbv Note Added: 0048858
2015-12-08 16:01 nbv Note Edited: 0048858
2015-12-08 16:10 msv Steps to Reproduce Updated
2015-12-08 16:16 msv Note Added: 0048865
2016-10-25 19:04 msv Target Version 7.1.0 => 7.2.0
2017-07-24 09:33 msv Target Version 7.2.0 => 7.3.0
2017-12-05 17:08 msv Target Version 7.3.0 => 7.4.0
2018-11-02 10:28 nbv Relationship added related to 0024418
2019-08-12 19:07 msv Assigned To nbv =>
2019-08-12 19:07 msv Target Version 7.4.0 => Unscheduled
2019-09-04 12:12 kgv Summary Wrong result obtained by intersection algorithm. => Modeling Algorithms - Wrong result obtained by intersection algorithm.
2019-10-25 14:16 abv Assigned To => msv