View Issue Details

IDProjectCategoryView StatusLast Update
0033437CommunityOCCT:Modeling Algorithmspublic2024-07-11 10:34
ReporterPeterB Assigned Todpasukhi  
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2017 
Product Version7.7.1 
Summary0033437: Performance issue: generating the six 2D views from small STEP file takes very long
DescriptionGenerating the six 2D views from small STEP file takes very long
=> performance issue

escpecially the generation of the Front, Back, Top and Bottom views
=> see the output of the "STEP-to-DXF.exe" command line tool below

=== STEP-to-DXF.exe cmdline tool ===
The contained Visual Studio 17 solution exemplifies in an STEP to DXF command line tool
how we use OpenCascade to read STEP files and generate the six 2D views (front, back, right, left, top, bottom)

=== STEP file "condenser_asm.STEP" ===
file size: 347 kB <<< quite small
duration to generate all six 2D views: 433 sec (see below) <<< very long
quite interesting model with lots of instances
if SubObjects can be re-used then it is quite a simple model

=== OUTPUT ===
C:\OpenCascade\STEP-to-DXF-CmdLineTool\x64\Debug>STEP-to-DXF.exe condenser_asm.STEP
STEP-to-DXF Converter v1.1.0 Beta
Copyright Zuken E3 GmbH 2022-2023. All rights reserved.

W-INFO: Input: 0.17 sec - "condenser_asm.STEP"

W-INFO: Front: 124.27 sec - "condenser_asm.STEP--Front.dxf"
W-INFO: Back: 93.71 sec - "condenser_asm.STEP--Back.dxf"
W-INFO: Right: 15.56 sec - "condenser_asm.STEP--Right.dxf"
W-INFO: Left: 20.37 sec - "condenser_asm.STEP--Left.dxf"
W-INFO: Top: 89.43 sec - "condenser_asm.STEP--Top.dxf"
W-INFO: Bottom: 89.64 sec - "condenser_asm.STEP--Bottom.dxf"

Total Duration: 433.15 sec
Steps To Reproduce== attachments ===
+ STEP-to-DXF-CmdLineTool.zip
   NOTE: contains ReadMe.txt
+ STEP file "condenser_asm.STEP"

=== reproduction ===
+ build cmdline tools using VS 2017
+ run / debug the cmdline tool with the attached STEP file
TagsNo tags attached.
Test case number

Attached Files

  • condenser_asm.STEP (355,312 bytes)
  • STEP-to-DXF-CmdLineTool.zip (10,518 bytes)

Activities

PeterB

2023-07-28 17:55

reporter   ~0113806

attached STEP file + Visual Studio solution for performance bug reproduction / investigation
condenser_asm.STEP (355,312 bytes)
STEP-to-DXF-CmdLineTool.zip (10,518 bytes)

PeterB

2024-03-14 19:31

reporter   ~0115371

OpenCascade 7.8.0 slightly less performance than OCC 7.7.2:

442 sec / 433 sec = 1,02 x
=> OCC 7.8.0 is 2% slower than OCC 7.7.2


=== HW / OS ===
Intel(R) Core(TM) i9-10980XE CPU @ 3.00 GHz
64bit Windows 11

=== OpenCascade 7.7.2 ===
STEP-to-DXF Converter v1.1.1 Beta
Copyright Zuken E3 GmbH 2022-2024. All rights reserved.

W-INFO: Input: 0.16 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP"

W-INFO: Front: 125.33 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP--Front.dxf"
W-INFO: Back: 92.47 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP--Back.dxf"
W-INFO: Right: 16.35 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP--Right.dxf"
W-INFO: Left: 22.25 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP--Left.dxf"
W-INFO: Top: 88.48 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP--Top.dxf"
W-INFO: Bottom: 88.07 sec - "D:\Perforce\external\OpenCascade\STEP-to-DXF-CmdLineTool\STEP-Files\condenser_asm.STEP--Bottom.dxf"

Total Duration: 433.13 sec


=== OpenCascade 7.8.0 ===
STEP-to-DXF Converter v1.1.1 Beta
Copyright Zuken E3 GmbH 2022-2024. All rights reserved.

W-INFO: Input: 0.12 sec - "C:\Test\STEP-Files\condenser_asm.STEP"

W-INFO: Front: 128.30 sec - "C:\Test\STEP-Files\condenser_asm.STEP--Front.dxf"
W-INFO: Back: 92.84 sec - "C:\Test\STEP-Files\condenser_asm.STEP--Back.dxf"
W-INFO: Right: 17.14 sec - "C:\Test\STEP-Files\condenser_asm.STEP--Right.dxf"
W-INFO: Left: 23.93 sec - "C:\Test\STEP-Files\condenser_asm.STEP--Left.dxf"
W-INFO: Top: 90.10 sec - "C:\Test\STEP-Files\condenser_asm.STEP--Top.dxf"
W-INFO: Bottom: 89.55 sec - "C:\Test\STEP-Files\condenser_asm.STEP--Bottom.dxf"

Total Duration: 441.99 sec

Issue History

Date Modified Username Field Change
2023-07-28 17:29 PeterB New Issue
2023-07-28 17:29 PeterB Assigned To => oan
2023-07-28 17:55 PeterB Note Added: 0113806
2023-07-28 17:55 PeterB File Added: condenser_asm.STEP
2023-07-28 17:55 PeterB File Added: STEP-to-DXF-CmdLineTool.zip
2023-08-01 15:33 dpasukhi Assigned To oan => akaftasev
2024-03-14 19:31 PeterB Note Added: 0115371
2024-06-07 14:04 akaftasev Assigned To akaftasev =>
2024-07-11 10:34 PeterB Assigned To => dpasukhi