View Issue Details

IDProjectCategoryView StatusLast Update
0032987Open CASCADEOCCT:Modeling Algorithmspublic2022-10-24 10:41
Reporteratychini Assigned Toazv 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.6.1 
Target Version7.8.0 
Summary0032987: Modeling Algorithms - BRepBuilderAPI_Transform loses shape instancing
DescriptionBRepBuilderAPI_Transform loses shape instancing if it performs deep transformation of geometry (copy mode).

For example we have a shape containing a large number of the partner sub-shapes which have different locations. After transformation the result shape contains all sub-shapes that are not partners.

This causes the bug #27311 due to very large memory footprint.
Steps To Reproduce
box a 1 1 1
copy a a1
ttranslate a1 2 0 0
compound a a1 c
nbshapes c
nbshapes c -t
ttranslate c 1 0 0 -copy
nbshapes c
checknbshapes c -solid 1 -m transform

Results:
Number of shapes in c
 VERTEX    : 8
 EDGE      : 12
 WIRE      : 6
 FACE      : 6
 SHELL     : 1
 SOLID     : 1
 COMPSOLID : 0
 COMPOUND  : 1
 SHAPE     : 35

Number of shapes in c
 VERTEX    : 16
 EDGE      : 24
 WIRE      : 12
 FACE      : 12
 SHELL     : 2
 SOLID     : 2
 COMPSOLID : 0
 COMPOUND  : 1
 SHAPE     : 69

Number of shapes in c
 VERTEX    : 16
 EDGE      : 24
 WIRE      : 12
 FACE      : 12
 SHELL     : 2
 SOLID     : 2
 COMPSOLID : 0
 COMPOUND  : 1
 SHAPE     : 69

Error : transform is WRONG because number of SOLID entities in shape "c" is 2
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-05-20 15:19 atychini New Issue
2022-05-20 15:19 atychini Assigned To => msv
2022-05-20 17:40 msv Summary Modeling Algorithms - New shape instances after calling the BRepBuilderAPI_Transform::Perform => Modeling Algorithms - BRepBuilderAPI_Transform loses shape instancing
2022-05-20 17:40 msv Description Updated
2022-05-20 17:40 msv Steps to Reproduce Updated
2022-05-20 17:40 msv Steps to Reproduce Updated
2022-05-20 17:44 msv Description Updated
2022-05-20 17:45 msv Assigned To msv => azv
2022-10-24 10:41 szy Target Version 7.7.0 => 7.8.0