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.
27 lines
579 B
Plaintext
Executable File
27 lines
579 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC8"
|
|
puts "================"
|
|
puts ""
|
|
###################################################
|
|
## BRepTools_WireExplorere gives not all edges from a wire
|
|
###################################################
|
|
|
|
# for "sfixpcu" command
|
|
pload XSDRAW
|
|
|
|
pload XDE
|
|
restore [locate_data_file OCC8.brep] result
|
|
sfixpcu result result -f -s
|
|
|
|
checkshape result
|
|
|
|
explode result w
|
|
set info [expwire result_1 sh]
|
|
|
|
if { [regexp "BRepTools_WireExplorer donne 16 Edges" $info] != 1 } {
|
|
puts "Error : BRepTools_WireExplorer gives WRONG number of edges."
|
|
}
|
|
|
|
set 2dviewer 0
|
|
|