View Issue Details

IDProjectCategoryView StatusLast Update
0026331CommunityOCCT:Documentationpublic2023-08-01 15:08
ReporterMarkus Assigned Todpasukhi  
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version6.9.0 
Target VersionUnscheduled 
Summary0026331: Documentation of compgraph parameter of STEPControl_Writer::Transfer () is missing
DescriptionThe code documentation as well as the STEP User's guide does not explain the third parameter of the function STEPControl_Writer::Transfer().

As stated on the forum [https://dev.opencascade.org/content/tip-how-improve-performance-when-stepcontrolwritertransfer-called-often], when STEPControl_Writer::Transfer () is called multiple times in order to export a list of shapes to a common STEP file, the performance might be bad because the third parameter "compgraph" of the Transfer function is true by default. It means after every translation of a shape the graph is rebuilt.

Instead this parameter can be set to false and only after all shapes are translated the graph can be built once only by:

  writer.WS()->ComputeGraph(Standard_True );

The documentation should explain the meaning of the parameter and possibly hint at better performance, when it is set to false and the graph is explicitly built after all translations.

IFSelect_WorkSession::ComputeGraph contains some documentation which might be used in part.
TagsNo tags attached.
Test case numberNot required

Activities

ysn

2015-08-06 14:21

developer   ~0043881

This request is out of my competence. Please, provide a description.

Issue History

Date Modified Username Field Change
2015-06-10 13:27 Timo New Issue
2015-06-10 13:27 Timo Assigned To => ysn
2015-08-06 14:20 ysn Assigned To ysn => gka
2015-08-06 14:21 ysn Note Added: 0043881
2015-12-18 11:50 abv Target Version 7.0.0 => 7.1.0
2016-10-26 11:58 gka Target Version 7.1.0 => 7.2.0
2017-05-31 15:40 Timo Reporter Timo => Markus
2017-07-27 11:15 abv Target Version 7.2.0 => 7.4.0
2017-08-11 12:11 apv Test case number => Not required
2019-09-04 17:45 kgv Target Version 7.4.0 => 7.5.0
2020-09-11 15:42 utverdov Target Version 7.5.0 => 7.6.0
2021-09-20 11:01 kgv Target Version 7.6.0 => 7.7.0
2021-11-17 11:24 kgv Description Updated
2021-11-17 11:26 kgv Assigned To gka => dpasukhi
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:08 dpasukhi Target Version 7.8.0 => Unscheduled