Anonymous | Login 2020-12-05 02:50 MSK Project: All Projects Community Open CASCADE
 My View | View Issues | Change Log | Roadmap

View Issue Details  Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026525Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2015-08-06 10:372016-04-20 15:48
Reporterpkv
Assigned Tokgv
PrioritynormalSeverityminor
StatusclosedResolutionfixed
PlatformOSOS Version
Product Version[OCCT] 7.0.0
Target Version[OCCT] 7.0.0Fixed in Version[OCCT] 7.0.0
Summary0026525: Wrong result obtained by curve / surface intersection algorithm.
DescriptionWrong result obtained by curve / surface intersection algorithm.

The algorithm: IntCurveSurface_Inter

The problem:
There is no result in the case of untrimmed surface,
whereas
there is correct result in the case when the surface is trimmed.
Steps To Reproducerestore a b1
restore b b2

mksurface sb1 b1
trimv sb1t sb1 -30000 30000
mkface b1t sb1t

explode b2 e

#----------------------------
# Case 1. The curve is from the edge b2_3
# 1.1 The face b1 is based on untrimmed surface
bcs p b2_3 b1
# Result:
Number of intersection points found: 0
#
# 1.2 The face b1 is based on trimmed surface
bcs pt b2_3 b1t
# Result:
Number of intersection points found: 2
point pt_1 48.4205 -22.5336 82.7431
point pt_2 32.5621 -5.89907 82.7431
#----------------------------
# Case 2. The curve is from the edge: b2_1
# 2.1 The face b1 is based on untrimmed surface
bcs p b2_1 b1
# Result:
Number of intersection points found: 0
#
# 2.2 The face b1 is based on trimmed surface
bcs pt b2_1 b1t
# Result:
Number of intersection points found: 2
point pt_1 39.0504 -12.8696 82.6099
point pt_2 43.1172 -17.16 82.6048

1. The command bcs is in the file a.cxx
2. The shapes a, b can be found in the issue: