mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-01 17:36:21 +03:00
0033149: Mesh - misprint in BRepMesh_NURBSRangeSplitter::computeGrainAndFilterParameters()
This commit is contained in:
parent
51329afcef
commit
f55fe3b3f7
@ -556,7 +556,7 @@ Handle(IMeshData::SequenceOfReal) BRepMesh_NURBSRangeSplitter::computeGrainAndFi
|
||||
const Handle(BRepAdaptor_Surface)& aSurface = GetSurface();
|
||||
const Standard_Real aMinSize2d = Max(
|
||||
aSurface->UResolution(theParameters.MinSize),
|
||||
aSurface->UResolution(theParameters.MinSize));
|
||||
aSurface->VResolution(theParameters.MinSize));
|
||||
|
||||
aMinDiff = Max(aMinSize2d, aMinDiff);
|
||||
|
||||
|
@ -12,5 +12,5 @@ tclean result
|
||||
incmesh result 0.1
|
||||
triangles result
|
||||
|
||||
checktrinfo result -tri 748 -nod 619
|
||||
checktrinfo result -tri 736 -nod 613
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@ -13,6 +13,6 @@ vdisplay result
|
||||
vsetdispmode result 1
|
||||
vfit
|
||||
|
||||
checktrinfo result -tri 278 -nod 254
|
||||
checktrinfo result -tri 222 -nod 226
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@ -11,7 +11,7 @@ renamevar a_1 result
|
||||
|
||||
incmesh result 0.0001 -a 30 -force_face_def -parallel
|
||||
|
||||
checktrinfo result -tri 14494 -nod 9510 -defl 0.00031502118964205414 -tol_abs_defl 1e-6
|
||||
checktrinfo result -tri 14058 -nod 9292 -defl 0.00031502118964205414 -tol_abs_defl 1e-6
|
||||
|
||||
vinit
|
||||
vsetdispmode 1
|
||||
|
@ -17,7 +17,7 @@ vdefaults -autoTriang 0
|
||||
vdisplay result
|
||||
vfit
|
||||
|
||||
set rel_tol 0.7607262575544315
|
||||
set rel_tol 0.7558889057543047
|
||||
set max_rel_tol_diff 0.001
|
||||
set area_eps 1
|
||||
|
||||
|
@ -14,7 +14,7 @@ vdisplay result
|
||||
vfit
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
||||
|
||||
checktrinfo result -tri 3832 -nod 4773 -defl 3.0509255143612428 -tol_abs_defl 1e-6
|
||||
checktrinfo result -tri 3828 -nod 4771 -defl 3.0544822246414993 -tol_abs_defl 1e-6
|
||||
|
||||
set log [tricheck result]
|
||||
if { [llength $log] != 0 } {
|
||||
|
@ -12,6 +12,6 @@ vdisplay result
|
||||
vviewparams -scale 8.46292 -proj 0.653203 -0.644806 0.396926 -up -0.0109833 0.51609 0.856464 -at 347.559 1026.89 219.262 -eye 2080.75 -684.022 1272.45
|
||||
|
||||
tricheck result
|
||||
checktrinfo result -tri 9470 -nod 6136 -defl 4.7757836297551908 -tol_abs_defl 1e-6
|
||||
checktrinfo result -tri 9460 -nod 6131 -defl 4.7757836297551908 -tol_abs_defl 1e-6
|
||||
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
||||
|
@ -15,7 +15,7 @@ vdefaults -autoTriang 0
|
||||
|
||||
tclean result
|
||||
incmesh result 0.004 -a 14
|
||||
checktrinfo result -tri 72570 -nod 40951 -defl 0.24607185555570676 -tol_abs_defl 1e-6
|
||||
checktrinfo result -tri 72562 -nod 40947 -defl 0.24607185555570676 -tol_abs_defl 1e-6
|
||||
|
||||
vdisplay result -redisplay
|
||||
vfit
|
||||
@ -23,7 +23,7 @@ checkview -screenshot -3d -path ${imagedir}/${test_image}_default.png
|
||||
|
||||
tclean result
|
||||
incmesh result 0.004 -a 14 -force_face_def
|
||||
checktrinfo result -tri 287990 -nod 148661 -defl 0.16388671063364907 -tol_abs_defl 1e-6
|
||||
checktrinfo result -tri 287982 -nod 148657 -defl 0.16388671063364907 -tol_abs_defl 1e-6
|
||||
|
||||
vdisplay result -redisplay
|
||||
vfit
|
||||
|
@ -8,7 +8,7 @@ restore [locate_data_file bug32424.brep] result
|
||||
|
||||
incmesh result 0.17 -a 20
|
||||
|
||||
checktrinfo result -tri 16168 -nod 8206
|
||||
checktrinfo result -tri 2360 -nod 1302
|
||||
|
||||
vinit
|
||||
vdefaults -autoTriang 0
|
||||
|
@ -18,6 +18,6 @@ vclear
|
||||
isos result 0
|
||||
triangles result
|
||||
|
||||
checktrinfo result -tri 31 -nod 28
|
||||
checktrinfo result -tri 55 -nod 40
|
||||
checkprops result -s 0
|
||||
checkview -display result -3d -path ${imagedir}/${test_image}.png
|
||||
|
@ -19,5 +19,5 @@ isos result 0
|
||||
triangles result
|
||||
fit
|
||||
|
||||
checktrinfo result -tri 10463 -nod 7643
|
||||
checktrinfo result -tri 10409 -nod 7615
|
||||
checkview -screenshot -2d -path ${imagedir}/${test_image}_axo.png
|
||||
|
@ -1,5 +1,4 @@
|
||||
puts "TODO OCC12345 ALL: Error: Number of triangles"
|
||||
puts "TODO OCC12345 ALL: Error: Number of nodes"
|
||||
|
||||
puts "============"
|
||||
puts "FRA62476"
|
||||
|
@ -13,5 +13,5 @@ tclean result
|
||||
incmesh result .1
|
||||
triangles result
|
||||
|
||||
checktrinfo result -tri 163 -nod 114
|
||||
checktrinfo result -tri 159 -nod 112
|
||||
checkview -display result -3d -path ${imagedir}/${test_image}.png
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 9548.13
|
||||
set length 9547.12
|
||||
|
||||
testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 5497.6
|
||||
set length 5501.45
|
||||
|
||||
testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 1662.87
|
||||
set length 1662.85
|
||||
|
||||
testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 1704.6
|
||||
set length 1704.86
|
||||
|
||||
testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 1718.9
|
||||
set length 1723.27
|
||||
|
||||
testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 2832.05
|
||||
set length 2832.09
|
||||
|
||||
testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -1,5 +1,5 @@
|
||||
set viewname "vright"
|
||||
set length 2261.81
|
||||
set length 2262.59
|
||||
|
||||
testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -4,7 +4,7 @@ puts "============"
|
||||
puts ""
|
||||
|
||||
set viewname "vfront"
|
||||
set length 27126.9
|
||||
set length 27223.1
|
||||
|
||||
restore [locate_data_file bug23625_a2.brep] a
|
||||
COMPUTE_HLR $viewname $algotype
|
||||
|
@ -6,7 +6,7 @@ set TheFileName shading_wrongshape_030.brep
|
||||
set bug_cross "OCC22687"
|
||||
set nbcross(All) 4
|
||||
if { [string compare $command "shading"] == 0 } {
|
||||
set rel_tol 0.48575382373356474
|
||||
set rel_tol 0.4953655446472135
|
||||
} else {
|
||||
set rel_tol 0.1856053577754922
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user