1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
emv f816395691 0029646: Boolean Operations algorithm produces a face with self-intersecting wire
Boolean operations - Allow repeated intersection of edges to find the coinciding pairs.
Previously, only the edges rejected by bounding boxes classification has been additionally checked on coincidence. The current patch removes this filter allowing all edges with coinciding vertices to be checked on coincidence.

Adjustment of the test cases for current behavior:
1. The following cases are improvements:
boolean volumemaker A8
bugs modalg_1 buc60703_1
bugs modalg_1 buc60703_2
bugs modalg_1 buc60703_4
bugs modalg_6 bug26789_1
bugs modalg_6 bug26789_2
bugs modalg_7 bug26883_4
bugs modalg_7 bug27948

2. bugs modalg_7 bug29580_1 is modified to extend the validity checks.
2018-03-29 17:13:12 +03:00

44 lines
1.4 KiB
Plaintext

# test script on make volume operation
# plane sphere
# planar face
plane pln_f1 -4.2580937183769834 -506.18339008981781 147.62942729477928 0.98768834059988952 -6.6728564553435301e-012 -0.15643446501022945
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f2 0 0 0 0 0 1 535
erase sph_f2
mkface f2 sph_f2
# planar face
plane pln_f3 -27.47908454454036 -513.55172659614686 -173.4961116930572 -0.15037445914067274 0.27563735581879711 -0.94942696934275683
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 194.60851142999999 27.299999999999997 469.82650763999999 -1.2670433353083948e-016 -1 -6.6853539210366213e-016
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 -19.268639075459625 -528.60152622385317 -121.65739916694265 -0.15037445914067274 0.27563735581879711 -0.94942696934275683
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 -50.337753508376991 -521.07662641018214 -143.30609453522072 0.98768834059988952 6.6728564553435301e-012 -0.15643446501022945
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f7 0 0 0 0 0 1 520
erase sph_f7
mkface f7 sph_f7
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 1.75676e+007
checknbshapes result -wire 68 -face 68 -shell 24 -solid 24