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.
31 lines
613 B
Plaintext
Executable File
31 lines
613 B
Plaintext
Executable File
|
|
puts "================"
|
|
puts "OCC15"
|
|
puts "================"
|
|
puts ""
|
|
|
|
# for "sfixpcu" command
|
|
pload XSDRAW
|
|
|
|
restore [locate_data_file OCC15.brep] result
|
|
sfixpcu result result -f
|
|
checkshape result
|
|
|
|
vinit
|
|
tclean result
|
|
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
|
|
|
|
#($tri != 5370,$nod != 2783)($tri != 5356,$nod != 2774)($tri != 5354,$nod != 2773),aki251103
|
|
if { ($tri != 5643 || $nod != 2915) } {
|
|
puts "Shady OCC15 : shading problem may be, nb tri & nod were changed"
|
|
}
|
|
|
|
set 2dviewer 0
|
|
|