]> OCCT Git - occt.git/commit
0032241: Mesh - wrong shading display of thrusections [regression since OCCT 7.4.0]
authoroan <oan@opencascade.com>
Fri, 9 Sep 2022 08:29:38 +0000 (11:29 +0300)
committersmoskvin <smoskvin@opencascade.com>
Fri, 16 Sep 2022 15:34:44 +0000 (18:34 +0300)
commitc4ea4ca3d1985c8acf77c86f9dc2b42a068eecf2
treef920eac67064adb99c8b6fbc1c1335e2ca6eaec7
parentf3573fb54b3c6bec23007ac2fe824c89f0466299
0032241: Mesh - wrong shading display of thrusections [regression since OCCT 7.4.0]

0032422: Mesh - Weird rendering
0029641: Mesher produce 'bad' result for extruded spline with given deviation coefficient

Added method BRepMesh_NURBSRangeSplitter::getUndefinedInterval() intended to compute checkpoint parameters for those NURBS surfaces which have no intervals at all. In this case number of poles is used to produce artificial regular grid which can be refined further. Add at least one midpoint for surfaces with one interval and only two poles.

Added BRepMesh_ExtrusionRangeSplitter and BRepMesh_UndefinedRangeSplitter derivatives from BRepMesh_NURBSRangeSplitter intended to handle special cases of extrusion surfaces and general surfaces with undefined parameters.
54 files changed:
src/BRepMesh/BRepMesh_ExtrusionRangeSplitter.cxx [new file with mode: 0644]
src/BRepMesh/BRepMesh_ExtrusionRangeSplitter.hxx [new file with mode: 0644]
src/BRepMesh/BRepMesh_MeshAlgoFactory.cxx
src/BRepMesh/BRepMesh_NURBSRangeSplitter.cxx
src/BRepMesh/BRepMesh_NURBSRangeSplitter.hxx
src/BRepMesh/BRepMesh_UndefinedRangeSplitter.cxx [new file with mode: 0644]
src/BRepMesh/BRepMesh_UndefinedRangeSplitter.hxx [new file with mode: 0644]
src/BRepMesh/FILES
tests/bugs/iges/buc60820_1
tests/bugs/iges/buc60820_2
tests/bugs/iges/buc60823
tests/bugs/iges/bug306
tests/bugs/mesh/bug23631
tests/bugs/mesh/bug25287
tests/bugs/mesh/bug27845
tests/bugs/mesh/bug29149
tests/bugs/mesh/bug29641 [new file with mode: 0644]
tests/bugs/mesh/bug30008_1
tests/bugs/mesh/bug30167
tests/bugs/mesh/bug31251
tests/bugs/mesh/bug32241 [new file with mode: 0644]
tests/bugs/mesh/bug32422 [new file with mode: 0644]
tests/bugs/modalg_2/bug264_0
tests/bugs/modalg_2/bug292
tests/bugs/modalg_2/bug358
tests/bugs/moddata_1/bug15519
tests/bugs/moddata_1/bug22759
tests/bugs/moddata_2/bug428
tests/de_mesh/shape_write_stl/A11
tests/de_mesh/shape_write_stl/A4
tests/hlr/poly_hlr/C12
tests/hlr/poly_hlr/C14
tests/hlr/poly_hlr/C15
tests/hlr/poly_hlr/C16
tests/hlr/poly_hlr/C17
tests/hlr/poly_hlr/C3
tests/hlr/poly_hlr/C7
tests/hlr/poly_hlr/bug23625_1
tests/hlr/poly_hlr/bug23625_2
tests/hlr/poly_hlr/bug23625_3
tests/hlr/poly_hlr/bug27719_102
tests/hlr/poly_hlr/bug27719_103
tests/hlr/poly_hlr/bug27719_104
tests/hlr/poly_hlr/bug27719_105
tests/mesh/data/advanced/B8
tests/mesh/data/standard/L2
tests/mesh/data/standard/M8
tests/mesh/data/standard/Q3
tests/mesh/data/standard/U2
tests/mesh/data/standard/W6
tests/mesh/data/standard/W7
tests/mesh/data/standard/X1
tests/perf/mesh/bug26965
tests/v3d/bugs/bug288_5