MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025956Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2015-03-18 06:302018-11-02 10:28
Reporterpkv 
Assigned Tonbv 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 6.9.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0025956: 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 Fileszip file icon case_009.zip (1,312 bytes) 2015-03-18 06:30
png file icon expl. picture.PNG (118,202 bytes) 2015-12-08 15:48

- Relationships
related to 0024418assignednbv Wrong section curves when intersecting analytical surfaces 

-  Notes
(0048799)
nbv (developer)
2015-12-07 15:01

Dear Mikhail,

The result seems to be valid on the current MASTER.
(0048811)
msv (developer)
2015-12-07 16:50

Dear Nikolay, please create test case(s) for this bug.
(0048858)
nbv (developer)
2015-12-08 15:54
edited on: 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.

(0048865)
msv (developer)
2015-12-08 16:16

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 View Revisions
2015-12-08 14:59 nbv Steps to Reproduce Updated View Revisions
2015-12-08 15:42 nbv Description Updated View Revisions
2015-12-08 15:42 nbv Steps to Reproduce Updated View Revisions
2015-12-08 15:48 nbv File Added: expl. picture.PNG
2015-12-08 15:50 nbv Steps to Reproduce Updated View Revisions
2015-12-08 15:54 nbv Note Added: 0048858
2015-12-08 16:01 nbv Note Edited: 0048858 View Revisions
2015-12-08 16:10 msv Steps to Reproduce Updated View Revisions
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


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker