mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
Adding test cases for issue 25167, 25168, 25169
This commit is contained in:
24
tests/bugs/step/bug25167
Normal file
24
tests/bugs/step/bug25167
Normal file
@@ -0,0 +1,24 @@
|
||||
puts "========"
|
||||
puts "OCC25167"
|
||||
puts "========"
|
||||
puts ""
|
||||
############################################################################################
|
||||
# STEP Reader - allow NextAssemblyUsageOccurance to accept ProductDefinitionShape as child
|
||||
############################################################################################
|
||||
|
||||
stepread [locate_data_file bug25167.stp] a *
|
||||
tpcompound result
|
||||
|
||||
set square 20800
|
||||
|
||||
set nb_v_good 26
|
||||
set nb_e_good 37
|
||||
set nb_w_good 18
|
||||
set nb_f_good 18
|
||||
set nb_sh_good 3
|
||||
set nb_sol_good 3
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 5
|
||||
set nb_shape_good 110
|
||||
|
||||
set 3dviewer 1
|
13
tests/bugs/step/bug25168
Normal file
13
tests/bugs/step/bug25168
Normal file
@@ -0,0 +1,13 @@
|
||||
puts "TODO ?OCC25188 ALL: Error: File "
|
||||
|
||||
puts "========"
|
||||
puts "OCC25168"
|
||||
puts "========"
|
||||
puts ""
|
||||
##########################################################################################################
|
||||
# STEP Writer - empty AppliedGroupAssignment can cause exception in RWStepAP214_RWAppliedGroupAssignment
|
||||
##########################################################################################################
|
||||
|
||||
stepread [locate_data_file bug24135_Drum.stp] a *
|
||||
catch {exec rm ${imagedir}/bug25168.stp}
|
||||
stepwrite a a_1 ${imagedir}/bug25168.stp
|
24
tests/bugs/step/bug25169
Normal file
24
tests/bugs/step/bug25169
Normal file
@@ -0,0 +1,24 @@
|
||||
puts "========"
|
||||
puts "OCC25169"
|
||||
puts "========"
|
||||
puts ""
|
||||
##########################################################################
|
||||
# STEP Reader - allow opened shells to be an outer for ManifoldSolidBrep
|
||||
##########################################################################
|
||||
|
||||
stepread [locate_data_file bug25169_box-openshell.stp] a *
|
||||
tpcompound result
|
||||
|
||||
set square 2400
|
||||
|
||||
set nb_v_good 8
|
||||
set nb_e_good 12
|
||||
set nb_w_good 6
|
||||
set nb_f_good 6
|
||||
set nb_sh_good 1
|
||||
set nb_sol_good 1
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 35
|
||||
|
||||
set 3dviewer 1
|
Reference in New Issue
Block a user