mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027336: Update STEP entities, according to AP242
Add header and parameter for AP242. Update entities: product_definition_relationship styled_item Update select types: security_classification_item person_and_organization_item organization_item group_item external_identification_item document_reference_item date_item approval_item external_identification_item draughting_callout_element value_qualifier invisibility_context update gdt tests. fix compilation warnings.
This commit is contained in:
@@ -628,8 +628,14 @@ Standard_Boolean STEPCAFControl_Writer::Transfer (STEPControl_Writer &writer,
|
||||
WriteSHUOs ( writer.WS(), sublabels );
|
||||
|
||||
// write G&DTs
|
||||
if(GetDimTolMode())
|
||||
WriteDGTs(writer.WS(),sublabels);
|
||||
if(GetDimTolMode()) {
|
||||
if (ap == 5) {
|
||||
WriteDGTsAP242(writer.WS(), sublabels);
|
||||
}
|
||||
else {
|
||||
WriteDGTs(writer.WS(), sublabels);
|
||||
}
|
||||
}
|
||||
|
||||
// write Materials
|
||||
if(GetMaterialMode())
|
||||
@@ -3196,11 +3202,6 @@ Standard_Boolean STEPCAFControl_Writer::WriteDGTs (const Handle(XSControl_WorkSe
|
||||
|
||||
TDF_LabelSequence DGTLabels;
|
||||
|
||||
// Check for number of Application Protocol
|
||||
DGTTool->GetDimTolLabels(DGTLabels);
|
||||
if (DGTLabels.Length() == 0)
|
||||
return WriteDGTsAP242(WS, labels);
|
||||
|
||||
STEPConstruct_DataMapOfAsciiStringTransient DatumMap;
|
||||
|
||||
// write Datums
|
||||
|
Reference in New Issue
Block a user