mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-09 22:28:13 +08:00
0028315: Data Exchange - Import/Export GD&Ts without semantic
Implement import/export of Dimensions without semantic. Add new type of dimension for GDTs with presentation and connecting to shapes. Update test cases. Small corrections for issue CR28315
This commit is contained in:
@@ -1394,6 +1394,10 @@ Handle(atype) result = Handle(atype)::DownCast (start)
|
||||
#include <RWStepRepr_RWConstructiveGeometryRepresentationRelationship.hxx>
|
||||
#include <StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
|
||||
#include <RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx>
|
||||
#include <StepVisual_AnnotationFillArea.hxx>
|
||||
#include <StepVisual_AnnotationFillAreaOccurrence.hxx>
|
||||
#include <RWStepVisual_RWAnnotationFillArea.hxx>
|
||||
#include <RWStepVisual_RWAnnotationFillAreaOccurrence.hxx>
|
||||
|
||||
|
||||
// -- General Declarations (Recognize, StepType) ---
|
||||
@@ -4880,6 +4884,20 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer CN,
|
||||
tool.ReadStep (data,num,ach,anent);
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
{
|
||||
DeclareAndCast(StepVisual_AnnotationFillArea, anent, ent);
|
||||
RWStepVisual_RWAnnotationFillArea tool;
|
||||
tool.ReadStep(data, num, ach, anent);
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
{
|
||||
DeclareAndCast(StepVisual_AnnotationFillAreaOccurrence, anent, ent);
|
||||
RWStepVisual_RWAnnotationFillAreaOccurrence tool;
|
||||
tool.ReadStep(data, num, ach, anent);
|
||||
}
|
||||
break;
|
||||
case 7 :
|
||||
{
|
||||
DeclareAndCast(StepVisual_AnnotationOccurrence, anent, ent);
|
||||
@@ -9418,6 +9436,20 @@ void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer CN,
|
||||
tool.WriteStep (SW,anent);
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
{
|
||||
DeclareAndCast(StepVisual_AnnotationFillArea, anent, ent);
|
||||
RWStepVisual_RWAnnotationFillArea tool;
|
||||
tool.WriteStep(SW, anent);
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
{
|
||||
DeclareAndCast(StepVisual_AnnotationFillAreaOccurrence, anent, ent);
|
||||
RWStepVisual_RWAnnotationFillAreaOccurrence tool;
|
||||
tool.WriteStep(SW, anent);
|
||||
}
|
||||
break;
|
||||
case 7 :
|
||||
{
|
||||
DeclareAndCast(StepVisual_AnnotationOccurrence, anent, ent);
|
||||
|
||||
Reference in New Issue
Block a user