mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
0028247: Effect of minSize parameter of BRepMesh_IncrementalMesh seems to be too strong Updated description of MinSize parameter of IMeshTools_Parameters
This commit is contained in:
parent
35befde2ad
commit
5e06dfcb32
@ -58,7 +58,8 @@ struct IMeshTools_Parameters {
|
||||
//! Linear deflection used to tessellate the face interior
|
||||
Standard_Real DeflectionInterior;
|
||||
|
||||
//! Minimal allowed size of mesh element
|
||||
//! Minimum size parameter limiting size of triangle's edges to prevent
|
||||
//! sinking into amplification in case of distorted curves and surfaces.
|
||||
Standard_Real MinSize;
|
||||
|
||||
//! Switches on/off multi-thread computation
|
||||
|
@ -6,40 +6,35 @@ puts ""
|
||||
# Effect of minSize parameter of BRepMesh_IncrementalMesh seems to be too strong
|
||||
################################################################################
|
||||
|
||||
restore [locate_data_file bug28247_face.brep] f
|
||||
whatis f
|
||||
tolerance f
|
||||
restore [locate_data_file bug28247_face.brep] result
|
||||
whatis result
|
||||
tolerance result
|
||||
|
||||
vinit
|
||||
vdefaults -autoTriang 0
|
||||
vsetdispmode 1
|
||||
vdisplay f
|
||||
|
||||
tclean result
|
||||
incmesh result 0.59
|
||||
vdisplay result -redisplay
|
||||
vfit
|
||||
|
||||
tclean f
|
||||
incmesh f 0.59
|
||||
trinfo f
|
||||
vdisplay f
|
||||
vfit
|
||||
checktrinfo result -tri 1235
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}-1.png
|
||||
|
||||
tclean f
|
||||
incmesh f 0.59 -a 11.45
|
||||
set tri_info_1 [trinfo f]
|
||||
regexp { +([-0-9.+eE]+) +triangles} $tri_info_1 full tri_1
|
||||
regexp { +([-0-9.+eE]+) +nodes} $tri_info_1 full nod_1
|
||||
vdisplay f
|
||||
tclean result
|
||||
incmesh result 0.59 -a 11.45
|
||||
vdisplay result -redisplay
|
||||
vfit
|
||||
|
||||
checktrinfo result -tri 6438
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}-2.png
|
||||
|
||||
tclean f
|
||||
incmesh f 0.59 -a 11.45 -min 0.035
|
||||
set tri_info_2 [trinfo f]
|
||||
regexp { +([-0-9.+eE]+) +triangles} $tri_info_2 full tri_2
|
||||
regexp { +([-0-9.+eE]+) +nodes} $tri_info_2 full nod_2
|
||||
vdisplay f
|
||||
tclean result
|
||||
incmesh result 0.59 -a 11.45 -min 0.035
|
||||
vdisplay result -redisplay
|
||||
vfit
|
||||
|
||||
checktrinfo result -tri 7079
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}-3.png
|
||||
|
||||
if { ${tri_1} > ${tri_2} } {
|
||||
puts "Error: Effect of minSize parameter of BRepMesh_IncrementalMesh seems to be too strong"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user