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.
29 lines
711 B
Plaintext
Executable File
29 lines
711 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC306"
|
|
puts "================"
|
|
puts ""
|
|
#############################################################################
|
|
##After applying sewing on the model from the file TibTray_Size3.igs (see the attachment) one surface is not shaded.
|
|
#############################################################################
|
|
|
|
igesbrep [locate_data_file TibTray_Size3.igs] a *
|
|
|
|
tpcompound a
|
|
tclean a
|
|
|
|
sewing result a
|
|
|
|
checkshape result
|
|
|
|
vinit
|
|
vsetdispmode result 1
|
|
vdisplay result
|
|
vfit
|
|
|
|
checktrinfo result -tri 6014 -nod 5910
|
|
|
|
checkmaxtol result -ref 0.92213088179312575
|
|
checknbshapes result -shell 1
|
|
checkfreebounds result 239
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|