mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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.
21 lines
324 B
Plaintext
21 lines
324 B
Plaintext
# for "sfixpcu" command
|
|
pload XSDRAW
|
|
|
|
restore [locate_data_file CIN900_cts20hlh.rle] a
|
|
restore [locate_data_file CIN900_cts20hli.rle] b
|
|
restore [locate_data_file CIN900_cts20hlj.rle] c
|
|
|
|
sfixpcu a a -f
|
|
sfixpcu b b -f
|
|
sfixpcu c c -f
|
|
|
|
checkshape a
|
|
checkshape b
|
|
checkshape c
|
|
|
|
bcut rab a b
|
|
|
|
bcut result rab c
|
|
|
|
set square 272.503
|