mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
Computing is unified. ComputeFastTol3d() method was deleted. If intersection result contains 3D- and corresponded two 2D-curves then tolerance will be computed with using BRepLib_CheckCurveOnSurface algorithm (check same-parameter). If intersection result contains only 3D-curve (getting 2D-curve can be switched off by users) then tolerance will be computed with using GeomAPI_ProjectPointOnSurf algorithm (projects some point of 3D-curve on the surface and finds maximal distance). Some workarounds have been deleted. Some test case have been changed.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# test script on make volume operation
|
|
# cone cylinder plane
|
|
|
|
puts "TODO OCC26020 ALL: Error: bopcheck failed"
|
|
|
|
# planar face
|
|
plane pln_f1 27.577164466275352 -1038.2137499999999 27.577164466275359 0.70710678118654746 4.4408920985006262e-016 0.70710678118654768
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 0 -729 1.3849699165291441e-013 0 1 -1.1102230246251565e-016
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 0 -786.50743635718959 3.8387493219403887e-014 0 -1 1.1102230246251565e-016
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# conical face
|
|
cone con_f4 0 518.47000000000003 0 0 -1 1.1102230246251565e-016 14.999999999912038 0
|
|
erase con_f4
|
|
mkface f4 con_f4 0 6.2831853071795862 0 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -27.577164466275352 -1038.2137499999999 -27.577164466275359 0.70710678118654746 4.4408920985006262e-016 0.70710678118654768
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f6 0 0 7.5439654523279387e-014 0 1 1.1102230246251565e-016 260
|
|
erase cyl_f6
|
|
mkface f6 cyl_f6 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6
|
|
|
|
set square 5.41197e+006
|
|
|