DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0033100

Modeling Algorithms - XCAFDoc_Editor::RescaleGeometry does not rescale triangulations

Open CASCADEOCCT:Modeling Algorithmsclosed8 public notes

Search issues

Description

When XCAFDoc_Editor::RescaleGeometry is running it calls BRepBuilderAPI_Transform::Perform with flag theCopyMesh==false. It must call it with theCopyMesh==true.

Steps to reproduce

Close d -silent
ReadStep d Attachment 1 (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

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Attachment 1 (STEP) (57,987 bytes)   
02Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Aug 11 23:46:23 2022 +0300

    0033100: Modeling Algorithms - XCAFDoc_Editor::RescaleGeometry does not rescale triangulations
    
    Make XCAFDoc_Editor::RescaleGeometry to pass the flag theCopyMesh==true
    in call to BRepBuilderAPI_Transform::Perform.
    
    Correct the help of the command XRescaleGeometry.
03Commenter 3
04Commenter 4
Please review the patch
occt - CR33100
05Commenter 1
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
06Commenter 6
Branch [archived branch] has been reviewed
07Commenter 7
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - changes and them, and you can discard any commits you make in this
[revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18719.310000000743 / 18726.600000000624 [-0.04%]
Products
Total CPU difference: 11976.710000000106 / 11968.290000000105 [+0.07%]
Windows-64-VC14:
OCCT
Total CPU difference: 20763.5 / 20741.5 [+0.11%]
Products
Total CPU difference: 13535.640625 / 13528.765625 [+0.05%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
08Commenter 1
Branch [archived branch] has been deleted by Participant.

[revision removed]