Archived issue #0028402
Modeling - calculation of properties of complex compounds is slow
Description
Calculation of material properties of complex compounds does not take into account possible repetition of the same same sub-shape in the compound, and each repetition is analysed separetely. This leads to very long calculation on complex compounds even when they have very simple underlying shape.
The synthetic case to show the problem is provided (based on test made for #0028055). The shape contains single solid (a box), replicated ~ 93 K times using 4 levels of compounds. Time of calculation of its properties (cprops command) is more than 90 sec...
The synthetic case to show the problem is provided (based on test made for #0028055). The shape contains single solid (a box), replicated ~ 93 K times using 4 levels of compounds. Time of calculation of its properties (cprops command) is more than 90 sec...
Steps to reproduce
pload MODELING
# it takes time to load that shape, due to DRAW is so slow
restore Attachment 1 (BREP) a
# just show that shape contains just one solid (box) :)
nbshapes a
# now calculate properties
chrono s restart
vprops a
chrono s stop counter "CPU vprops"
# it takes time to load that shape, due to DRAW is so slow
restore Attachment 1 (BREP) a
# just show that shape contains just one solid (box) :)
nbshapes a
# now calculate properties
chrono s restart
vprops a
chrono s stop counter "CPU vprops"
Public activity
1 archived note
Participants are labeled by their role within this record.
Problem described in issue is reproduced on current state of OCCT.
Related records