mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024055: Reading a STEP file produces invalid shape
Add checks for cone-like surfaces during seam fixing Delete check for missing degenerated edge for cones in FixMissingSeam() function, because this check is exist in FixPeriodicDegenerated(). Check for uniqueness of wire is unnecessary after this. Update of test-cases
This commit is contained in:
@@ -12,15 +12,15 @@ renamevar s1_1 result
|
||||
|
||||
nbshapes result
|
||||
|
||||
set nb_v_good 4
|
||||
set nb_e_good 5
|
||||
set nb_v_good 2
|
||||
set nb_e_good 3
|
||||
set nb_w_good 1
|
||||
set nb_f_good 1
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 0
|
||||
set nb_shape_good 11
|
||||
set nb_shape_good 7
|
||||
|
||||
set tol [tolerance result ]
|
||||
regexp { *Tolerance +MAX=([-0-9.+eE]+)} ${tol} full max_tol
|
||||
|
@@ -14,15 +14,15 @@ renamevar s1_1 result
|
||||
|
||||
nbshapes result
|
||||
|
||||
set nb_v_good 4
|
||||
set nb_e_good 5
|
||||
set nb_v_good 2
|
||||
set nb_e_good 3
|
||||
set nb_w_good 1
|
||||
set nb_f_good 1
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 0
|
||||
set nb_shape_good 11
|
||||
set nb_shape_good 7
|
||||
|
||||
set tol [tolerance result ]
|
||||
regexp { *Tolerance +MAX=([-0-9.+eE]+)} ${tol} full max_tol
|
||||
|
@@ -1,5 +1,3 @@
|
||||
puts "TODO OCC24055 Debian60-64 Windows: Faulty shapes in variables faulty_1 to faulty_"
|
||||
|
||||
puts "============"
|
||||
puts "OCC24055"
|
||||
puts "============"
|
||||
|
@@ -5,9 +5,9 @@ set ref_data {
|
||||
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
|
||||
TPSTAT : Faulties = 0 ( 0 ) Warnings = 137 ( 225 ) Summary = 137 ( 225 )
|
||||
CHECKSHAPE : Wires = 2 ( 2 ) Faces = 2 ( 2 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
|
||||
NBSHAPES : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 1026 ( 1026 ) Summary = 6942 ( 6942 )
|
||||
STATSHAPE : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 1026 ( 1026 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 2940 ( 2940 )
|
||||
TOLERANCE : MaxTol = 7.063803693 ( 7.063803693 ) AvgTol = 0.004074972268 ( 0.004152493478 )
|
||||
NBSHAPES : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 1026 ( 1026 ) Summary = 6914 ( 6914 )
|
||||
STATSHAPE : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 1026 ( 1026 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 2926 ( 2926 )
|
||||
TOLERANCE : MaxTol = 7.063803693 ( 7.063803693 ) AvgTol = 0.004095376603 ( 0.004135679611 )
|
||||
LABELS : N0Labels = 1 ( 1 ) N1Labels = 0 ( 0 ) N2Labels = 0 ( 0 ) TotalLabels = 1 ( 1 ) NameLabels = 1 ( 1 ) ColorLabels = 1 ( 1 ) LayerLabels = 0 ( 0 )
|
||||
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
|
||||
NCOLORS : NColors = 1 ( 1 )
|
||||
|
Reference in New Issue
Block a user