mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Make XCAFDoc_Editor::RescaleGeometry to pass the flag theCopyMesh==true in call to BRepBuilderAPI_Transform::Perform. Correct the help of the command XRescaleGeometry.
16 lines
393 B
Plaintext
16 lines
393 B
Plaintext
puts "0033100: Modeling Algorithms - XCAFDoc_Editor::RescaleGeometry does not rescale triangulations"
|
|
|
|
pload DCAF
|
|
Close d -silent
|
|
ReadStep d [locate_data_file "bug33100_window.step"]
|
|
|
|
XGetOneShape a d
|
|
set ref_diag [eval distpp [bounding a]]
|
|
|
|
XRescaleGeometry d 1000
|
|
|
|
XGetOneShape a d
|
|
set diag [eval distpp [bounding a]]
|
|
|
|
checkreal "bounding box diagonal" $diag [expr $ref_diag * 1000] 0 0.001
|