MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026331Community[OCCT] OCCT:Documentationpublic2015-06-10 13:272017-08-11 12:11
ReporterMarkus 
Assigned Togka 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 6.9.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
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 [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.
TagsNo tags attached.
Test case numberNot required
Attached Files

- Relationships

-  Notes
(0043881)
ysn (developer)
2015-08-06 14:21

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


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker