1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
aml 8013367c92 0027954: Create topology-preserving offset computation algorithm
New topology-preserving offset algorithm has been added. It allows to construct offset shape of build solid.
test cases have been added.
Documentation has been updated to be up to date.

Minor corrections.
Grid is renamed for simplification purposes.
Old constructors are restored with Standard_DEPRECATED macros.
2016-12-08 16:30:53 +03:00

20 lines
388 B
Plaintext

# Compute offset.
offsetshapesimple result s $OffsetValue
# 1% relative tolerance
set TolRel 1.0e-2
# Check result validity.
checkshape result
# Check result area.
checkprops result -s $ExpectedMass -eps $TolRel
# Check maximal tolerance
checkmaxtol result -ref $ExpectedMaxTol
# Make screenshot.
smallview
don result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png