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.
23 lines
441 B
Plaintext
23 lines
441 B
Plaintext
puts "========"
|
|
puts "OCC23631"
|
|
puts "========"
|
|
puts ""
|
|
###########################################
|
|
## Infinite memory consumption in BRepMesh
|
|
###########################################
|
|
|
|
set BugNumber 23631
|
|
|
|
restore [locate_data_file OCC396_f2903.brep] result
|
|
|
|
incmesh result 0.01
|
|
triangles result
|
|
|
|
checktrinfo result -tri 75 -nod 68
|
|
|
|
vinit
|
|
vdisplay result
|
|
vfit
|
|
vsetdispmode 1
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|