mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 13:48:57 +08: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
|