mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
0026334: BRepOffsetAPI_MakePipeShell returns the wrong shape
This commit is contained in:
parent
e1312bce25
commit
3da62e0ec3
37
tests/bugs/modalg_6/bug26334
Executable file
37
tests/bugs/modalg_6/bug26334
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC26334"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# BRepOffsetAPI_MakePipeShell returns the wrong shape
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug26334_pw1.brep] pw1
|
||||||
|
restore [locate_data_file bug26334_pw2.brep] pw2
|
||||||
|
restore [locate_data_file bug26334_pw3.brep] pw3
|
||||||
|
|
||||||
|
mksweep pw1
|
||||||
|
addsweep pw2
|
||||||
|
addsweep pw3
|
||||||
|
setsweep -DT
|
||||||
|
|
||||||
|
buildsweep result
|
||||||
|
|
||||||
|
set square 1.72246
|
||||||
|
|
||||||
|
set nbshapes_expected "
|
||||||
|
Number of shapes in shape
|
||||||
|
VERTEX : 10
|
||||||
|
EDGE : 13
|
||||||
|
WIRE : 4
|
||||||
|
FACE : 4
|
||||||
|
SHELL : 1
|
||||||
|
SOLID : 0
|
||||||
|
COMPSOLID : 0
|
||||||
|
COMPOUND : 0
|
||||||
|
SHAPE : 32
|
||||||
|
"
|
||||||
|
|
||||||
|
checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by BRepOffsetAPI_MakePipeShell"
|
||||||
|
|
||||||
|
set 2dviewer 1
|
Loading…
x
Reference in New Issue
Block a user