mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0032422: Mesh - Weird rendering 0029641: Mesher produce 'bad' result for extruded spline with given deviation coefficient Added method BRepMesh_NURBSRangeSplitter::getUndefinedInterval() intended to compute checkpoint parameters for those NURBS surfaces which have no intervals at all. In this case number of poles is used to produce artificial regular grid which can be refined further. Add at least one midpoint for surfaces with one interval and only two poles. Added BRepMesh_ExtrusionRangeSplitter and BRepMesh_UndefinedRangeSplitter derivatives from BRepMesh_NURBSRangeSplitter intended to handle special cases of extrusion surfaces and general surfaces with undefined parameters.
18 lines
546 B
Plaintext
18 lines
546 B
Plaintext
puts "======="
|
|
puts "0030008: BRepMesh does not respect angular deflection in internal area of bspline surface"
|
|
puts "======="
|
|
puts ""
|
|
|
|
restore [locate_data_file bug30008_badshape.brep] result
|
|
|
|
vinit
|
|
vsetdispmode 1
|
|
|
|
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 6996 -nod 4899 -defl 8.4394056682382157 -tol_abs_defl 1e-6
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|