mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Implementation of raising exception while using scale and mirror transformation in shape location TopLoc/TopLoc_Location.hxx TopoDS/TopoDS_Shape.hxx Implementation of new tools for removing forbidden locations from shapes: BRepTools/BRepTools_PurgeLocations.cxx BRepTools/BRepTools_PurgeLocations.hxx BRepTools/BRepTools.cxx BRepTools/BRepTools.hxx Draw commands for transforming shapes are corrected, new draw commands: purgeloc, checkloc added BRepTest/BRepTest_BasicCommands.cxx Fixing unstable test bug xde bug24759 StepToGeom/StepToGeom.cxx All other C++ commits are modification of algorithms used mainly in import/export operations in order to allows these operations if shape locations contains scale and mirror transformations. New test for command purgeloc added tests/bugs/moddata_3/bug27457 tests/bugs/moddata_3/bug27457_1 tests/bugs/moddata_3/bug27457_2 Some test corrected according to modifications.
18 lines
386 B
Plaintext
18 lines
386 B
Plaintext
puts "==========="
|
|
puts "OCC22240: Bad triangulation of transformed shapes"
|
|
puts "==========="
|
|
puts ""
|
|
|
|
pload MODELING VISUALIZATION
|
|
restore [locate_data_file bug22240_Pump_Nut.brep] a
|
|
restore [locate_data_file bug22240_Pump_Nut.brep] b
|
|
tscale b 0 0 0 2.
|
|
vinit View1
|
|
vdisplay a b
|
|
vsetdispmode a 1
|
|
vsetdispmode b 1
|
|
vfit
|
|
checkcolor 320 104 0.78 0.55 0.09
|
|
|
|
vdump $imagedir/${casename}.png
|