MantisBT - Community
View Issue Details
0026331Community[OCCT] OCCT:Documentationpublic2015-06-10 13:272017-08-11 12:11
Markus 
gka 
normalminor 
newopen 
[OCCT] 6.9.0 
[OCCT] 7.4.0* 
Not required
0026331: Documentation of compgraph parameter of STEPControl_Writer::Transfer () is missing
The 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 [http://www.opencascade.org/org/forum/thread_27183/?forum=3 [^]], 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.
No tags attached.
Issue History
2015-06-10 13:27TimoNew Issue
2015-06-10 13:27TimoAssigned To => ysn
2015-08-06 14:20ysnAssigned Toysn => gka
2015-08-06 14:21ysnNote Added: 0043881
2015-12-18 11:50abvTarget Version7.0.0 => 7.1.0
2016-10-26 11:58gkaTarget Version7.1.0 => 7.2.0
2017-05-31 15:40TimoReporterTimo => Markus
2017-07-27 11:15abvTarget Version7.2.0 => 7.4.0*
2017-08-11 12:11apvTest case number => Not required

Notes
(0043881)
ysn   
2015-08-06 14:21   
This request is out of my competence. Please, provide a description.