mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
Analyzing of 2D-curves' boundaries. Tolerance range computing was changed. 1. Function Validate(...) returns BRepCheck_Status. 2. For faces, whose pcurves is out of domain, status BRepCheck_OutOfSurfaceBoundary is returned. 3. For edges, which is out of face's boundary, status BRepCheck_PCurveIsOutOfDomainFace is returned. 4. Print warning, if status is not defined. 5. BRepCheck_Face::SetStatus(...) and BRepCheck_Wire::SetStatus(...) functions added. 6. ShapeFix::RefineFace(...) function and it draw-commands (ffixpcu and sfixpcu) are added. Command "ffixpcu" fixes a face with BRepCheck_OutOfSurfaceBoundary status. Command "sfixpcu" fixes a shape, which contains a face with BRepCheck_OutOfSurfaceBoundary status. 7. Trimming algorithm for surfaces changed (ForceTrim method is added). 8. Small correction of output of "checkshape" command result. 9. MinMax() and RealMod() functions are added. 10. Fixing of some shapes from test base.
39 lines
777 B
Plaintext
Executable File
39 lines
777 B
Plaintext
Executable File
puts "TODO OCC12345 ALL: Faulty OCC17: here can be shading problem"
|
|
|
|
puts "================"
|
|
puts "OCC17"
|
|
puts "================"
|
|
puts ""
|
|
|
|
#####################################################
|
|
puts " Solid_14 will be the face which is unvisible during displaying entire solid."
|
|
#####################################################
|
|
|
|
# for "sfixpcu" command
|
|
pload XSDRAW
|
|
|
|
restore [locate_data_file OCC17.brep] sh
|
|
sfixpcu sh sh -f
|
|
|
|
checkshape sh
|
|
|
|
explode sh f
|
|
renamevar sh_14 result
|
|
tclean result
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode result 1
|
|
vfit
|
|
|
|
set info [trinfo result]
|
|
regexp { +([-0-9.+eE]+) +triangles} $info full tri
|
|
regexp { +([-0-9.+eE]+) +nodes} $info full nod
|
|
|
|
if { $tri != 100 && $nod != 94 } {
|
|
puts "Faulty OCC17: here can be shading problem"
|
|
}
|
|
|
|
set 2dviewer 0
|
|
|
|
|