mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Approx/Approx_SameParameter.cxx,hxx: Class Approx_SameParameter refactoring. Logic is changed in many places to unify usage, simplify maintenance. Method Curve2d() is changed to return Geom2d_Curve instead of Geom2d_BSplineCurve. Corresponding message is added to the upgrade guide. .lxx file is merged into .hxx. Tangent computation is extracted into special method. Comparing number of sample points after CheckSameParameter(...) is added to define cases with projection fails. Undesirable behavior when curves are not same parameterized is fixed. Geom2dAdaptor/Geom2dAdaptor.cxx: treatment of offset curve is added Adaptor3d/Adaptor3d_TopolTool.cxx: minor improvement of performance for BSpline surfaces with huge number of knots Tests were modified according to new behavior of sameparameter algorithm
29 lines
711 B
Plaintext
Executable File
29 lines
711 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC306"
|
|
puts "================"
|
|
puts ""
|
|
#############################################################################
|
|
##After applying sewing on the model from the file TibTray_Size3.igs (see the attachment) one surface is not shaded.
|
|
#############################################################################
|
|
|
|
igesbrep [locate_data_file TibTray_Size3.igs] a *
|
|
|
|
tpcompound a
|
|
tclean a
|
|
|
|
sewing result a
|
|
|
|
checkshape result
|
|
|
|
vinit
|
|
vsetdispmode result 1
|
|
vdisplay result
|
|
vfit
|
|
|
|
checktrinfo result -tri 5812 -nod 5809
|
|
|
|
checkmaxtol result -ref 0.92213088179312575
|
|
checknbshapes result -shell 1
|
|
checkfreebounds result 239
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|