]> OCCT Git - occt-copy.git/commitdiff
# Add three more new entities CR31388
authorika <ika@opencascade.com>
Fri, 8 May 2020 17:02:07 +0000 (20:02 +0300)
committerika <ika@opencascade.com>
Fri, 8 May 2020 17:02:07 +0000 (20:02 +0300)
17 files changed:
src/RWStepAP214/RWStepAP214_GeneralModule.cxx
src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
src/RWStepKinematics/FILES
src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx [new file with mode: 0644]
src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx [new file with mode: 0644]
src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx [new file with mode: 0644]
src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx [new file with mode: 0644]
src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx [new file with mode: 0644]
src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx [new file with mode: 0644]
src/StepAP214/StepAP214_Protocol.cxx
src/StepKinematics/FILES
src/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx [new file with mode: 0644]
src/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.hxx [new file with mode: 0644]
src/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx [new file with mode: 0644]
src/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx [new file with mode: 0644]
src/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx [new file with mode: 0644]
src/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.hxx [new file with mode: 0644]

index 36d1eecc4112246226260259ee193f7a1bdd5baa..3d645e79ed94c714e58a58b913ae31e1ec8c4298 100644 (file)
@@ -1379,6 +1379,9 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
 #include <StepKinematics_KinematicTopologyDirectedStructure.hxx>
 #include <StepKinematics_KinematicTopologyNetworkStructure.hxx>
 #include <StepKinematics_KinematicTopologyStructure.hxx>
+#include <StepKinematics_LinearFlexibleAndPinionPair.hxx>
+#include <StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx>
+#include <StepKinematics_LinearFlexibleLinkRepresentation.hxx>
 #include <StepKinematics_LowOrderKinematicPair.hxx>
 #include <StepKinematics_LowOrderKinematicPairValue.hxx>
 #include <StepKinematics_LowOrderKinematicPairWithRange.hxx>
@@ -1452,6 +1455,9 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
 #include <RWStepKinematics_RWKinematicTopologyDirectedStructure.hxx>
 #include <RWStepKinematics_RWKinematicTopologyNetworkStructure.hxx>
 #include <RWStepKinematics_RWKinematicTopologyStructure.hxx>
+#include <RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx>
+#include <RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx>
+#include <RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx>
 #include <RWStepKinematics_RWLowOrderKinematicPair.hxx>
 #include <RWStepKinematics_RWLowOrderKinematicPairValue.hxx>
 #include <RWStepKinematics_RWLowOrderKinematicPairWithRange.hxx>
@@ -5806,8 +5812,28 @@ void RWStepAP214_GeneralModule::FillSharedCase(const Standard_Integer CN,
     tool.Share(anent, iter);
   }
   break;
-
+  case 792:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleAndPinionPair, anent, ent);
+    RWStepKinematics_RWLinearFlexibleAndPinionPair tool;
+    tool.Share(anent, iter);
+  }
+  break;
+  case 793:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleAndPlanarCurvePair, anent, ent);
+    RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair tool;
+    tool.Share(anent, iter);
+  }
   break;
+  case 794:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleLinkRepresentation, anent, ent);
+    RWStepKinematics_RWLinearFlexibleLinkRepresentation tool;
+    tool.Share(anent, iter);
+  }
+  break;
+
     default : break;
     }
 }
@@ -8036,6 +8062,15 @@ Standard_Boolean RWStepAP214_GeneralModule::NewVoid
    case 791:
      ent = new StepKinematics_KinematicTopologyNetworkStructure;
      break;
+   case 792:
+     ent = new StepKinematics_LinearFlexibleAndPinionPair;
+     break;
+   case 793:
+     ent = new StepKinematics_LinearFlexibleAndPlanarCurvePair;
+     break;
+   case 794:
+     ent = new StepKinematics_LinearFlexibleLinkRepresentation;
+     break;
 
     
   default: 
@@ -8708,6 +8743,9 @@ Standard_Integer  RWStepAP214_GeneralModule::CategoryNumber
   case 789: return cataux;
   case 790: return cataux;
   case 791: return cataux;
+  case 792: return cataux;
+  case 793: return cataux;
+  case 794: return cataux;
     
   default : break;
   }
index d6268707f1b6b46d7337a563cde1fd4ac02ade5c..44d0322eff0636c65c3f508d5f84a57b4f83205c 100644 (file)
@@ -1426,6 +1426,9 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
 #include <StepKinematics_KinematicTopologyDirectedStructure.hxx>
 #include <StepKinematics_KinematicTopologyNetworkStructure.hxx>
 #include <StepKinematics_KinematicTopologyStructure.hxx>
+#include <StepKinematics_LinearFlexibleAndPinionPair.hxx>
+#include <StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx>
+#include <StepKinematics_LinearFlexibleLinkRepresentation.hxx>
 #include <StepKinematics_LowOrderKinematicPair.hxx>
 #include <StepKinematics_LowOrderKinematicPairValue.hxx>
 #include <StepKinematics_LowOrderKinematicPairWithRange.hxx>
@@ -1498,6 +1501,9 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
 #include <RWStepKinematics_RWKinematicTopologyDirectedStructure.hxx>
 #include <RWStepKinematics_RWKinematicTopologyNetworkStructure.hxx>
 #include <RWStepKinematics_RWKinematicTopologyStructure.hxx>
+#include <RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx>
+#include <RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx>
+#include <RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx>
 #include <RWStepKinematics_RWLowOrderKinematicPair.hxx>
 #include <RWStepKinematics_RWLowOrderKinematicPairValue.hxx>
 #include <RWStepKinematics_RWLowOrderKinematicPairWithRange.hxx>
@@ -2213,6 +2219,9 @@ static TCollection_AsciiString Reco_KinematicPropertyMechanismRepresentation("KI
 static TCollection_AsciiString Reco_KinematicTopologyDirectedStructure("KINEMATIC_TOPOLOGY_DIRECTED_STRUCTURE");
 static TCollection_AsciiString Reco_KinematicTopologyNetworkStructure("KINEMATIC_TOPOLOGY_NETWORK_STRUCTURE");
 static TCollection_AsciiString Reco_KinematicTopologyStructure("KINEMATIC_TOPOLOGY_STRUCTURE");
+static TCollection_AsciiString Reco_LinearFlexibleAndPinionPair("LINEAR_FLEXIBLE_AND_PINION_PAIR");
+static TCollection_AsciiString Reco_LinearFlexibleAndPlanarCurvePair("LINEAR_FLEXIBLE_AND_PLANAR_CURVE_PAIR");
+static TCollection_AsciiString Reco_LinearFlexibleLinkRepresentation("LINEAR_FLEXIBLE_LINK_REPRESENTATION");
 static TCollection_AsciiString Reco_LowOrderKinematicPair("LOW_ORDER_KINEMATIC_PAIR");
 static TCollection_AsciiString Reco_LowOrderKinematicPairValue("LOW_ORDER_KINEMATIC_PAIR_VALUE");
 static TCollection_AsciiString Reco_LowOrderKinematicPairWithRange("LOW_ORDER_KINEMATIC_PAIR_WITH_RANGE");
@@ -2994,6 +3003,9 @@ RWStepAP214_ReadWriteModule::RWStepAP214_ReadWriteModule ()
   typenums.Bind(Reco_RigidLinkRepresentation, 789);
   typenums.Bind(Reco_KinematicTopologyDirectedStructure, 790);
   typenums.Bind(Reco_KinematicTopologyNetworkStructure, 791);
+  typenums.Bind(Reco_LinearFlexibleAndPinionPair, 792);
+  typenums.Bind(Reco_LinearFlexibleAndPlanarCurvePair, 793);
+  typenums.Bind(Reco_LinearFlexibleLinkRepresentation, 794);
 
   
 //    SHORT NAMES
@@ -4922,6 +4934,9 @@ const TCollection_AsciiString& RWStepAP214_ReadWriteModule::StepType
   case 789: return Reco_RigidLinkRepresentation;
   case 790: return Reco_KinematicTopologyDirectedStructure;
   case 791: return Reco_KinematicTopologyNetworkStructure;
+  case 792: return Reco_LinearFlexibleAndPinionPair;
+  case 793: return Reco_LinearFlexibleAndPlanarCurvePair;
+  case 794: return Reco_LinearFlexibleLinkRepresentation;
 
 
   default : return PasReco;
@@ -10327,6 +10342,27 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer CN,
     tool.ReadStep(data, num, ach, anent);
   }
   break;
+  case 792:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleAndPinionPair, anent, ent);
+    RWStepKinematics_RWLinearFlexibleAndPinionPair tool;
+    tool.ReadStep(data, num, ach, anent);
+  }
+  break;
+  case 793:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleAndPlanarCurvePair, anent, ent);
+    RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair tool;
+    tool.ReadStep(data, num, ach, anent);
+  }
+  break;
+  case 794:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleLinkRepresentation, anent, ent);
+    RWStepKinematics_RWLinearFlexibleLinkRepresentation tool;
+    tool.ReadStep(data, num, ach, anent);
+  }
+  break;
 
   default: 
     ach->AddFail("Type Mismatch when reading - Entity");
@@ -15687,6 +15723,27 @@ void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer CN,
     tool.WriteStep(SW, anent);
   }
   break;
+  case 792:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleAndPinionPair, anent, ent);
+    RWStepKinematics_RWLinearFlexibleAndPinionPair tool;
+    tool.WriteStep(SW, anent);
+  }
+  break;
+  case 793:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleAndPlanarCurvePair, anent, ent);
+    RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair tool;
+    tool.WriteStep(SW, anent);
+  }
+  break;
+  case 794:
+  {
+    DeclareAndCast(StepKinematics_LinearFlexibleLinkRepresentation, anent, ent);
+    RWStepKinematics_RWLinearFlexibleLinkRepresentation tool;
+    tool.WriteStep(SW, anent);
+  }
+  break;
 
   default: 
     return;
index bd44c1b2878823d72e459dd0d051aa555f1a2357..acb088faa7c324fa201322d4e0ab48168a9c6f46 100644 (file)
@@ -28,6 +28,12 @@ RWStepKinematics_RWKinematicPropertyMechanismRepresentation.cxx
 RWStepKinematics_RWKinematicPropertyMechanismRepresentation.hxx
 RWStepKinematics_RWKinematicTopologyStructure.cxx
 RWStepKinematics_RWKinematicTopologyStructure.hxx
+RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx
+RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx
+RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx
+RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx
+RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx
+RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx
 RWStepKinematics_RWLowOrderKinematicPair.cxx
 RWStepKinematics_RWLowOrderKinematicPair.hxx
 RWStepKinematics_RWLowOrderKinematicPairValue.cxx
diff --git a/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx b/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx
new file mode 100644 (file)
index 0000000..a40089d
--- /dev/null
@@ -0,0 +1,153 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <Interface_EntityIterator.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
+#include <RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx>
+#include <StepKinematics_LinearFlexibleAndPinionPair.hxx>
+#include <TCollection_HAsciiString.hxx>
+#include <StepRepr_ItemDefinedTransformation.hxx>
+#include <StepRepr_RepresentationItem.hxx>
+#include <StepKinematics_KinematicJoint.hxx>
+#include <Standard_Real.hxx>
+
+//=======================================================================
+//function : RWStepKinematics_RWLinearFlexibleAndPinionPair
+//purpose  : 
+//=======================================================================
+
+RWStepKinematics_RWLinearFlexibleAndPinionPair::RWStepKinematics_RWLinearFlexibleAndPinionPair() {}
+
+
+//=======================================================================
+//function : ReadStep
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleAndPinionPair::ReadStep (const Handle(StepData_StepReaderData)& data,
+                                                               const Standard_Integer num,
+                                                               Handle(Interface_Check)& ach,
+                                                               const Handle(StepKinematics_LinearFlexibleAndPinionPair)& ent) const
+{
+  // Check number of parameters
+  if ( ! data->CheckNbParams(num,7,ach,"linear_flexible_and_pinion_pair") ) return;
+
+  // Inherited fields of RepresentationItem
+
+  Handle(TCollection_HAsciiString) aRepresentationItem_Name;
+  data->ReadString (num, 1, "representation_item.name", ach, aRepresentationItem_Name);
+
+  // Inherited fields of ItemDefinedTransformation
+
+  Handle(TCollection_HAsciiString) aItemDefinedTransformation_Name;
+  data->ReadString (num, 2, "item_defined_transformation.name", ach, aItemDefinedTransformation_Name);
+
+  Handle(TCollection_HAsciiString) aItemDefinedTransformation_Description;
+  Standard_Boolean hasItemDefinedTransformation_Description = Standard_True;
+  if ( data->IsParamDefined (num,3) ) {
+    data->ReadString (num, 3, "item_defined_transformation.description", ach, aItemDefinedTransformation_Description);
+  }
+  else {
+    hasItemDefinedTransformation_Description = Standard_False;
+    aItemDefinedTransformation_Description.Nullify();
+  }
+
+  Handle(StepRepr_RepresentationItem) aItemDefinedTransformation_TransformItem1;
+  data->ReadEntity (num, 4, "item_defined_transformation.transform_item1", ach, STANDARD_TYPE(StepRepr_RepresentationItem), aItemDefinedTransformation_TransformItem1);
+
+  Handle(StepRepr_RepresentationItem) aItemDefinedTransformation_TransformItem2;
+  data->ReadEntity (num, 5, "item_defined_transformation.transform_item2", ach, STANDARD_TYPE(StepRepr_RepresentationItem), aItemDefinedTransformation_TransformItem2);
+
+  // Inherited fields of KinematicPair
+
+  Handle(StepKinematics_KinematicJoint) aKinematicPair_Joint;
+  data->ReadEntity (num, 6, "kinematic_pair.joint", ach, STANDARD_TYPE(StepKinematics_KinematicJoint), aKinematicPair_Joint);
+
+  // Own fields of LinearFlexibleAndPinionPair
+
+  Standard_Real aPinionRadius;
+  data->ReadReal (num, 7, "pinion_radius", ach, aPinionRadius);
+
+  // Initialize entity
+  ent->Init(aRepresentationItem_Name,
+            aItemDefinedTransformation_Name,
+            hasItemDefinedTransformation_Description,
+            aItemDefinedTransformation_Description,
+            aItemDefinedTransformation_TransformItem1,
+            aItemDefinedTransformation_TransformItem2,
+            aKinematicPair_Joint,
+            aPinionRadius);
+}
+
+//=======================================================================
+//function : WriteStep
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleAndPinionPair::WriteStep (StepData_StepWriter& SW,
+                                                                const Handle(StepKinematics_LinearFlexibleAndPinionPair)& ent) const
+{
+
+  // Own fields of RepresentationItem
+
+  SW.Send (ent->Name());
+
+  // Inherited fields of ItemDefinedTransformation
+
+  SW.Send (ent->ItemDefinedTransformation()->Name());
+
+  if ( ent->ItemDefinedTransformation()->HasDescription() ) {
+    SW.Send (ent->ItemDefinedTransformation()->Description());
+  }
+  else SW.SendUndef();
+
+  SW.Send (ent->ItemDefinedTransformation()->TransformItem1());
+
+  SW.Send (ent->ItemDefinedTransformation()->TransformItem2());
+
+  // Own fields of KinematicPair
+
+  SW.Send (ent->Joint());
+
+  // Own fields of LinearFlexibleAndPinionPair
+
+  SW.Send (ent->PinionRadius());
+}
+
+//=======================================================================
+//function : Share
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleAndPinionPair::Share (const Handle(StepKinematics_LinearFlexibleAndPinionPair)& ent,
+                                                            Interface_EntityIterator& iter) const
+{
+
+  // Inherited fields of RepresentationItem
+
+  // Inherited fields of ItemDefinedTransformation
+
+  iter.AddItem (ent->ItemDefinedTransformation()->TransformItem1());
+
+  iter.AddItem (ent->ItemDefinedTransformation()->TransformItem2());
+
+  // Inherited fields of KinematicPair
+
+  iter.AddItem (ent->StepKinematics_KinematicPair::Joint());
+
+  // Own fields of LinearFlexibleAndPinionPair
+}
diff --git a/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx b/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.hxx
new file mode 100644 (file)
index 0000000..d7fefd6
--- /dev/null
@@ -0,0 +1,46 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#ifndef _RWStepKinematics_RWLinearFlexibleAndPinionPair_HeaderFile_
+#define _RWStepKinematics_RWLinearFlexibleAndPinionPair_HeaderFile_
+
+#include <Standard.hxx>
+#include <Standard_DefineAlloc.hxx>
+#include <Standard_Handle.hxx>
+
+class StepData_StepReaderData;
+class Interface_Check;
+class StepData_StepWriter;
+class Interface_EntityIterator;
+class StepKinematics_LinearFlexibleAndPinionPair;
+
+//! Read & Write tool for LinearFlexibleAndPinionPair
+class RWStepKinematics_RWLinearFlexibleAndPinionPair
+{
+public:
+
+  DEFINE_STANDARD_ALLOC
+
+  Standard_EXPORT RWStepKinematics_RWLinearFlexibleAndPinionPair();
+
+  Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepKinematics_LinearFlexibleAndPinionPair)& ent) const;
+
+  Standard_EXPORT void WriteStep(StepData_StepWriter& SW, const Handle(StepKinematics_LinearFlexibleAndPinionPair)& ent) const;
+
+  Standard_EXPORT void Share(const Handle(StepKinematics_LinearFlexibleAndPinionPair)& ent, Interface_EntityIterator& iter) const;
+
+};
+#endif // _RWStepKinematics_RWLinearFlexibleAndPinionPair_HeaderFile_
diff --git a/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx b/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx
new file mode 100644 (file)
index 0000000..0cba842
--- /dev/null
@@ -0,0 +1,162 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <Interface_EntityIterator.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
+#include <RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx>
+#include <StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx>
+#include <TCollection_HAsciiString.hxx>
+#include <StepRepr_ItemDefinedTransformation.hxx>
+#include <StepRepr_RepresentationItem.hxx>
+#include <StepKinematics_KinematicJoint.hxx>
+#include <StepGeom_Curve.hxx>
+#include <Standard_Boolean.hxx>
+
+//=======================================================================
+//function : RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair
+//purpose  : 
+//=======================================================================
+
+RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair::RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair() {}
+
+
+//=======================================================================
+//function : ReadStep
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair::ReadStep (const Handle(StepData_StepReaderData)& data,
+                                                                    const Standard_Integer num,
+                                                                    Handle(Interface_Check)& ach,
+                                                                    const Handle(StepKinematics_LinearFlexibleAndPlanarCurvePair)& ent) const
+{
+  // Check number of parameters
+  if ( ! data->CheckNbParams(num,8,ach,"linear_flexible_and_planar_curve_pair") ) return;
+
+  // Inherited fields of RepresentationItem
+
+  Handle(TCollection_HAsciiString) aRepresentationItem_Name;
+  data->ReadString (num, 1, "representation_item.name", ach, aRepresentationItem_Name);
+
+  // Inherited fields of ItemDefinedTransformation
+
+  Handle(TCollection_HAsciiString) aItemDefinedTransformation_Name;
+  data->ReadString (num, 2, "item_defined_transformation.name", ach, aItemDefinedTransformation_Name);
+
+  Handle(TCollection_HAsciiString) aItemDefinedTransformation_Description;
+  Standard_Boolean hasItemDefinedTransformation_Description = Standard_True;
+  if ( data->IsParamDefined (num,3) ) {
+    data->ReadString (num, 3, "item_defined_transformation.description", ach, aItemDefinedTransformation_Description);
+  }
+  else {
+    hasItemDefinedTransformation_Description = Standard_False;
+    aItemDefinedTransformation_Description.Nullify();
+  }
+
+  Handle(StepRepr_RepresentationItem) aItemDefinedTransformation_TransformItem1;
+  data->ReadEntity (num, 4, "item_defined_transformation.transform_item1", ach, STANDARD_TYPE(StepRepr_RepresentationItem), aItemDefinedTransformation_TransformItem1);
+
+  Handle(StepRepr_RepresentationItem) aItemDefinedTransformation_TransformItem2;
+  data->ReadEntity (num, 5, "item_defined_transformation.transform_item2", ach, STANDARD_TYPE(StepRepr_RepresentationItem), aItemDefinedTransformation_TransformItem2);
+
+  // Inherited fields of KinematicPair
+
+  Handle(StepKinematics_KinematicJoint) aKinematicPair_Joint;
+  data->ReadEntity (num, 6, "kinematic_pair.joint", ach, STANDARD_TYPE(StepKinematics_KinematicJoint), aKinematicPair_Joint);
+
+  // Own fields of LinearFlexibleAndPlanarCurvePair
+
+  Handle(StepGeom_Curve) aPairCurve;
+  data->ReadEntity (num, 7, "pair_curve", ach, STANDARD_TYPE(StepGeom_Curve), aPairCurve);
+
+  Standard_Boolean aOrientation;
+  data->ReadBoolean (num, 8, "orientation", ach, aOrientation);
+
+  // Initialize entity
+  ent->Init(aRepresentationItem_Name,
+            aItemDefinedTransformation_Name,
+            hasItemDefinedTransformation_Description,
+            aItemDefinedTransformation_Description,
+            aItemDefinedTransformation_TransformItem1,
+            aItemDefinedTransformation_TransformItem2,
+            aKinematicPair_Joint,
+            aPairCurve,
+            aOrientation);
+}
+
+//=======================================================================
+//function : WriteStep
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair::WriteStep (StepData_StepWriter& SW,
+                                                                     const Handle(StepKinematics_LinearFlexibleAndPlanarCurvePair)& ent) const
+{
+
+  // Own fields of RepresentationItem
+
+  SW.Send (ent->Name());
+
+  // Inherited fields of ItemDefinedTransformation
+
+  SW.Send (ent->ItemDefinedTransformation()->Name());
+
+  if ( ent->ItemDefinedTransformation()->HasDescription() ) {
+    SW.Send (ent->ItemDefinedTransformation()->Description());
+  }
+  else SW.SendUndef();
+
+  SW.Send (ent->ItemDefinedTransformation()->TransformItem1());
+
+  SW.Send (ent->ItemDefinedTransformation()->TransformItem2());
+
+  // Own fields of KinematicPair
+
+  SW.Send (ent->Joint());
+
+  // Own fields of LinearFlexibleAndPlanarCurvePair
+
+  SW.Send (ent->PairCurve());
+
+  SW.SendBoolean (ent->Orientation());
+}
+
+//=======================================================================
+//function : Share
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair::Share (const Handle(StepKinematics_LinearFlexibleAndPlanarCurvePair)& ent,
+                                                                 Interface_EntityIterator& iter) const
+{
+
+  // Inherited fields of RepresentationItem
+
+  // Inherited fields of ItemDefinedTransformation
+
+  iter.AddItem (ent->ItemDefinedTransformation()->TransformItem1());
+
+  iter.AddItem (ent->ItemDefinedTransformation()->TransformItem2());
+
+  // Inherited fields of KinematicPair
+
+  iter.AddItem (ent->StepKinematics_KinematicPair::Joint());
+
+  // Own fields of LinearFlexibleAndPlanarCurvePair
+
+  iter.AddItem (ent->PairCurve());
+}
diff --git a/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx b/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.hxx
new file mode 100644 (file)
index 0000000..9dbad14
--- /dev/null
@@ -0,0 +1,46 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#ifndef _RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair_HeaderFile_
+#define _RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair_HeaderFile_
+
+#include <Standard.hxx>
+#include <Standard_DefineAlloc.hxx>
+#include <Standard_Handle.hxx>
+
+class StepData_StepReaderData;
+class Interface_Check;
+class StepData_StepWriter;
+class Interface_EntityIterator;
+class StepKinematics_LinearFlexibleAndPlanarCurvePair;
+
+//! Read & Write tool for LinearFlexibleAndPlanarCurvePair
+class RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair
+{
+public:
+
+  DEFINE_STANDARD_ALLOC
+
+  Standard_EXPORT RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair();
+
+  Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepKinematics_LinearFlexibleAndPlanarCurvePair)& ent) const;
+
+  Standard_EXPORT void WriteStep(StepData_StepWriter& SW, const Handle(StepKinematics_LinearFlexibleAndPlanarCurvePair)& ent) const;
+
+  Standard_EXPORT void Share(const Handle(StepKinematics_LinearFlexibleAndPlanarCurvePair)& ent, Interface_EntityIterator& iter) const;
+
+};
+#endif // _RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair_HeaderFile_
diff --git a/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx b/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx
new file mode 100644 (file)
index 0000000..4d041dc
--- /dev/null
@@ -0,0 +1,130 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <Interface_EntityIterator.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
+#include <RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx>
+#include <StepKinematics_LinearFlexibleLinkRepresentation.hxx>
+#include <TCollection_HAsciiString.hxx>
+#include <StepRepr_HArray1OfRepresentationItem.hxx>
+#include <StepRepr_RepresentationItem.hxx>
+#include <StepRepr_RepresentationContext.hxx>
+#include <StepKinematics_KinematicLink.hxx>
+
+//=======================================================================
+//function : RWStepKinematics_RWLinearFlexibleLinkRepresentation
+//purpose  : 
+//=======================================================================
+
+RWStepKinematics_RWLinearFlexibleLinkRepresentation::RWStepKinematics_RWLinearFlexibleLinkRepresentation() {}
+
+
+//=======================================================================
+//function : ReadStep
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleLinkRepresentation::ReadStep (const Handle(StepData_StepReaderData)& data,
+                                                                    const Standard_Integer num,
+                                                                    Handle(Interface_Check)& ach,
+                                                                    const Handle(StepKinematics_LinearFlexibleLinkRepresentation)& ent) const
+{
+  // Check number of parameters
+  if ( ! data->CheckNbParams(num,4,ach,"linear_flexible_link_representation") ) return;
+
+  // Inherited fields of Representation
+
+  Handle(TCollection_HAsciiString) aRepresentation_Name;
+  data->ReadString (num, 1, "representation.name", ach, aRepresentation_Name);
+
+  Handle(StepRepr_HArray1OfRepresentationItem) aRepresentation_Items;
+  Standard_Integer sub2 = 0;
+  if ( data->ReadSubList (num, 2, "representation.items", ach, sub2) ) {
+    Standard_Integer nb0 = data->NbParams(sub2);
+    aRepresentation_Items = new StepRepr_HArray1OfRepresentationItem (1, nb0);
+    Standard_Integer num2 = sub2;
+    for ( Standard_Integer i0=1; i0 <= nb0; i0++ ) {
+      Handle(StepRepr_RepresentationItem) anIt0;
+      data->ReadEntity (num2, i0, "representation_item", ach, STANDARD_TYPE(StepRepr_RepresentationItem), anIt0);
+      aRepresentation_Items->SetValue(i0, anIt0);
+    }
+  }
+
+  Handle(StepRepr_RepresentationContext) aRepresentation_ContextOfItems;
+  data->ReadEntity (num, 3, "representation.context_of_items", ach, STANDARD_TYPE(StepRepr_RepresentationContext), aRepresentation_ContextOfItems);
+
+  // Inherited fields of KinematicLinkRepresentation
+
+  Handle(StepKinematics_KinematicLink) aKinematicLinkRepresentation_RepresentedLink;
+  data->ReadEntity (num, 4, "kinematic_link_representation.represented_link", ach, STANDARD_TYPE(StepKinematics_KinematicLink), aKinematicLinkRepresentation_RepresentedLink);
+
+  // Initialize entity
+  ent->Init(aRepresentation_Name,
+            aRepresentation_Items,
+            aRepresentation_ContextOfItems,
+            aKinematicLinkRepresentation_RepresentedLink);
+}
+
+//=======================================================================
+//function : WriteStep
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleLinkRepresentation::WriteStep (StepData_StepWriter& SW,
+                                                                     const Handle(StepKinematics_LinearFlexibleLinkRepresentation)& ent) const
+{
+
+  // Own fields of Representation
+
+  SW.Send (ent->Name());
+
+  SW.OpenSub();
+  for (Standard_Integer i1=1; i1 <= ent->Items()->Length(); i1++ ) {
+    Handle(StepRepr_RepresentationItem) Var0 = ent->Items()->Value(i1);
+    SW.Send (Var0);
+  }
+  SW.CloseSub();
+
+  SW.Send (ent->ContextOfItems());
+
+  // Own fields of KinematicLinkRepresentation
+
+  SW.Send (ent->RepresentedLink());
+}
+
+//=======================================================================
+//function : Share
+//purpose  : 
+//=======================================================================
+
+void RWStepKinematics_RWLinearFlexibleLinkRepresentation::Share (const Handle(StepKinematics_LinearFlexibleLinkRepresentation)& ent,
+                                                                 Interface_EntityIterator& iter) const
+{
+
+  // Inherited fields of Representation
+
+  for (Standard_Integer i1=1; i1 <= ent->StepRepr_Representation::Items()->Length(); i1++ ) {
+    Handle(StepRepr_RepresentationItem) Var0 = ent->StepRepr_Representation::Items()->Value(i1);
+    iter.AddItem (Var0);
+  }
+
+  iter.AddItem (ent->StepRepr_Representation::ContextOfItems());
+
+  // Inherited fields of KinematicLinkRepresentation
+
+  iter.AddItem (ent->StepKinematics_KinematicLinkRepresentation::RepresentedLink());
+}
diff --git a/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx b/src/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.hxx
new file mode 100644 (file)
index 0000000..10ab92c
--- /dev/null
@@ -0,0 +1,46 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#ifndef _RWStepKinematics_RWLinearFlexibleLinkRepresentation_HeaderFile_
+#define _RWStepKinematics_RWLinearFlexibleLinkRepresentation_HeaderFile_
+
+#include <Standard.hxx>
+#include <Standard_DefineAlloc.hxx>
+#include <Standard_Handle.hxx>
+
+class StepData_StepReaderData;
+class Interface_Check;
+class StepData_StepWriter;
+class Interface_EntityIterator;
+class StepKinematics_LinearFlexibleLinkRepresentation;
+
+//! Read & Write tool for LinearFlexibleLinkRepresentation
+class RWStepKinematics_RWLinearFlexibleLinkRepresentation
+{
+public:
+
+  DEFINE_STANDARD_ALLOC
+
+  Standard_EXPORT RWStepKinematics_RWLinearFlexibleLinkRepresentation();
+
+  Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepKinematics_LinearFlexibleLinkRepresentation)& ent) const;
+
+  Standard_EXPORT void WriteStep(StepData_StepWriter& SW, const Handle(StepKinematics_LinearFlexibleLinkRepresentation)& ent) const;
+
+  Standard_EXPORT void Share(const Handle(StepKinematics_LinearFlexibleLinkRepresentation)& ent, Interface_EntityIterator& iter) const;
+
+};
+#endif // _RWStepKinematics_RWLinearFlexibleLinkRepresentation_HeaderFile_
index 356ad791bb594a9860d0ea14559cdc1fd2a9032e..45097d145ad0e04b600087b0a46a502f94ed7564 100644 (file)
@@ -771,6 +771,9 @@ static Standard_CString schemaAP242DIS = "AP242_MANAGED_MODEL_BASED_3D_ENGINEERI
 #include <StepKinematics_KinematicTopologyDirectedStructure.hxx>
 #include <StepKinematics_KinematicTopologyNetworkStructure.hxx>
 #include <StepKinematics_KinematicTopologyStructure.hxx>
+#include <StepKinematics_LinearFlexibleAndPinionPair.hxx>
+#include <StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx>
+#include <StepKinematics_LinearFlexibleLinkRepresentation.hxx>
 #include <StepKinematics_LowOrderKinematicPair.hxx>
 #include <StepKinematics_LowOrderKinematicPairValue.hxx>
 #include <StepKinematics_LowOrderKinematicPairWithRange.hxx>
@@ -1607,7 +1610,9 @@ StepAP214_Protocol::StepAP214_Protocol ()
   types.Bind(STANDARD_TYPE(StepKinematics_RigidLinkRepresentation), 789);
   types.Bind(STANDARD_TYPE(StepKinematics_KinematicTopologyDirectedStructure), 790);
   types.Bind(STANDARD_TYPE(StepKinematics_KinematicTopologyNetworkStructure), 791);
-
+  types.Bind(STANDARD_TYPE(StepKinematics_LinearFlexibleAndPinionPair), 792);
+  types.Bind(STANDARD_TYPE(StepKinematics_LinearFlexibleAndPlanarCurvePair), 793);
+  types.Bind(STANDARD_TYPE(StepKinematics_LinearFlexibleLinkRepresentation), 794);
 }
 
 
index 8a63ec856ab7b8d5279e38beab6fbe9947d8c543..d0ea174d4319d0d61facd14700ab8fef350f2dd5 100644 (file)
@@ -37,6 +37,12 @@ StepKinematics_KinematicPropertyMechanismRepresentation.cxx
 StepKinematics_KinematicPropertyMechanismRepresentation.hxx
 StepKinematics_KinematicTopologyStructure.cxx
 StepKinematics_KinematicTopologyStructure.hxx
+StepKinematics_LinearFlexibleAndPinionPair.cxx
+StepKinematics_LinearFlexibleAndPinionPair.hxx
+StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx
+StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx
+StepKinematics_LinearFlexibleLinkRepresentation.cxx
+StepKinematics_LinearFlexibleLinkRepresentation.hxx
 StepKinematics_LowOrderKinematicPair.cxx
 StepKinematics_LowOrderKinematicPair.hxx
 StepKinematics_LowOrderKinematicPairValue.cxx
diff --git a/src/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx b/src/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx
new file mode 100644 (file)
index 0000000..65ce02c
--- /dev/null
@@ -0,0 +1,73 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <StepKinematics_LinearFlexibleAndPinionPair.hxx>
+
+IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPinionPair, StepKinematics_LowOrderKinematicPairWithMotionCoupling)
+
+//=======================================================================
+//function : StepKinematics_LinearFlexibleAndPinionPair
+//purpose  : 
+//=======================================================================
+
+StepKinematics_LinearFlexibleAndPinionPair::StepKinematics_LinearFlexibleAndPinionPair ()
+{
+}
+
+//=======================================================================
+//function : Init
+//purpose  : 
+//=======================================================================
+
+void StepKinematics_LinearFlexibleAndPinionPair::Init (const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
+                                                       const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
+                                                       const Standard_Boolean hasItemDefinedTransformation_Description,
+                                                       const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
+                                                       const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
+                                                       const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
+                                                       const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
+                                                       const Standard_Real thePinionRadius)
+{
+  StepKinematics_LowOrderKinematicPairWithMotionCoupling::Init(theRepresentationItem_Name,
+                                                               theItemDefinedTransformation_Name,
+                                                               hasItemDefinedTransformation_Description,
+                                                               theItemDefinedTransformation_Description,
+                                                               theItemDefinedTransformation_TransformItem1,
+                                                               theItemDefinedTransformation_TransformItem2,
+                                                               theKinematicPair_Joint);
+
+  myPinionRadius = thePinionRadius;
+}
+
+//=======================================================================
+//function : PinionRadius
+//purpose  : 
+//=======================================================================
+
+Standard_Real StepKinematics_LinearFlexibleAndPinionPair::PinionRadius () const
+{
+  return myPinionRadius;
+}
+
+//=======================================================================
+//function : SetPinionRadius
+//purpose  : 
+//=======================================================================
+
+void StepKinematics_LinearFlexibleAndPinionPair::SetPinionRadius (const Standard_Real thePinionRadius)
+{
+  myPinionRadius = thePinionRadius;
+}
diff --git a/src/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.hxx b/src/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.hxx
new file mode 100644 (file)
index 0000000..966e285
--- /dev/null
@@ -0,0 +1,60 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#ifndef _StepKinematics_LinearFlexibleAndPinionPair_HeaderFile_
+#define _StepKinematics_LinearFlexibleAndPinionPair_HeaderFile_
+
+#include <Standard.hxx>
+#include <Standard_Type.hxx>
+#include <StepKinematics_LowOrderKinematicPairWithMotionCoupling.hxx>
+
+#include <TCollection_HAsciiString.hxx>
+#include <StepRepr_RepresentationItem.hxx>
+#include <StepRepr_ItemDefinedTransformation.hxx>
+#include <StepKinematics_KinematicJoint.hxx>
+
+DEFINE_STANDARD_HANDLE(StepKinematics_LinearFlexibleAndPinionPair, StepKinematics_LowOrderKinematicPairWithMotionCoupling)
+
+//! Representation of STEP entity LinearFlexibleAndPinionPair
+class StepKinematics_LinearFlexibleAndPinionPair : public StepKinematics_LowOrderKinematicPairWithMotionCoupling
+{
+public :
+
+  //! default constructor
+  Standard_EXPORT StepKinematics_LinearFlexibleAndPinionPair();
+
+  //! Initialize all fields (own and inherited)
+ Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
+                           const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
+                           const Standard_Boolean hasItemDefinedTransformation_Description,
+                           const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
+                           const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
+                           const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
+                           const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
+                           const Standard_Real thePinionRadius);
+
+  //! Returns field PinionRadius
+  Standard_EXPORT Standard_Real PinionRadius() const;
+  //! Sets field PinionRadius
+  Standard_EXPORT void SetPinionRadius (const Standard_Real thePinionRadius);
+
+DEFINE_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPinionPair, StepKinematics_LowOrderKinematicPairWithMotionCoupling)
+
+private:
+  Standard_Real myPinionRadius;
+
+};
+#endif // _StepKinematics_LinearFlexibleAndPinionPair_HeaderFile_
diff --git a/src/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx b/src/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx
new file mode 100644 (file)
index 0000000..96c307a
--- /dev/null
@@ -0,0 +1,96 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx>
+
+IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPlanarCurvePair, StepKinematics_HighOrderKinematicPair)
+
+//=======================================================================
+//function : StepKinematics_LinearFlexibleAndPlanarCurvePair
+//purpose  : 
+//=======================================================================
+
+StepKinematics_LinearFlexibleAndPlanarCurvePair::StepKinematics_LinearFlexibleAndPlanarCurvePair ()
+{
+}
+
+//=======================================================================
+//function : Init
+//purpose  : 
+//=======================================================================
+
+void StepKinematics_LinearFlexibleAndPlanarCurvePair::Init (const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
+                                                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
+                                                            const Standard_Boolean hasItemDefinedTransformation_Description,
+                                                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
+                                                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
+                                                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
+                                                            const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
+                                                            const Handle(StepGeom_Curve)& thePairCurve,
+                                                            const Standard_Boolean theOrientation)
+{
+  StepKinematics_HighOrderKinematicPair::Init(theRepresentationItem_Name,
+                                              theItemDefinedTransformation_Name,
+                                              hasItemDefinedTransformation_Description,
+                                              theItemDefinedTransformation_Description,
+                                              theItemDefinedTransformation_TransformItem1,
+                                              theItemDefinedTransformation_TransformItem2,
+                                              theKinematicPair_Joint);
+
+  myPairCurve = thePairCurve;
+
+  myOrientation = theOrientation;
+}
+
+//=======================================================================
+//function : PairCurve
+//purpose  : 
+//=======================================================================
+
+Handle(StepGeom_Curve) StepKinematics_LinearFlexibleAndPlanarCurvePair::PairCurve () const
+{
+  return myPairCurve;
+}
+
+//=======================================================================
+//function : SetPairCurve
+//purpose  : 
+//=======================================================================
+
+void StepKinematics_LinearFlexibleAndPlanarCurvePair::SetPairCurve (const Handle(StepGeom_Curve)& thePairCurve)
+{
+  myPairCurve = thePairCurve;
+}
+
+//=======================================================================
+//function : Orientation
+//purpose  : 
+//=======================================================================
+
+Standard_Boolean StepKinematics_LinearFlexibleAndPlanarCurvePair::Orientation () const
+{
+  return myOrientation;
+}
+
+//=======================================================================
+//function : SetOrientation
+//purpose  : 
+//=======================================================================
+
+void StepKinematics_LinearFlexibleAndPlanarCurvePair::SetOrientation (const Standard_Boolean theOrientation)
+{
+  myOrientation = theOrientation;
+}
diff --git a/src/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx b/src/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.hxx
new file mode 100644 (file)
index 0000000..22c4b3c
--- /dev/null
@@ -0,0 +1,68 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#ifndef _StepKinematics_LinearFlexibleAndPlanarCurvePair_HeaderFile_
+#define _StepKinematics_LinearFlexibleAndPlanarCurvePair_HeaderFile_
+
+#include <Standard.hxx>
+#include <Standard_Type.hxx>
+#include <StepKinematics_HighOrderKinematicPair.hxx>
+
+#include <TCollection_HAsciiString.hxx>
+#include <StepRepr_RepresentationItem.hxx>
+#include <StepRepr_ItemDefinedTransformation.hxx>
+#include <StepKinematics_KinematicJoint.hxx>
+#include <StepGeom_Curve.hxx>
+
+DEFINE_STANDARD_HANDLE(StepKinematics_LinearFlexibleAndPlanarCurvePair, StepKinematics_HighOrderKinematicPair)
+
+//! Representation of STEP entity LinearFlexibleAndPlanarCurvePair
+class StepKinematics_LinearFlexibleAndPlanarCurvePair : public StepKinematics_HighOrderKinematicPair
+{
+public :
+
+  //! default constructor
+  Standard_EXPORT StepKinematics_LinearFlexibleAndPlanarCurvePair();
+
+  //! Initialize all fields (own and inherited)
+ Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
+                           const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
+                           const Standard_Boolean hasItemDefinedTransformation_Description,
+                           const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
+                           const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
+                           const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
+                           const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
+                           const Handle(StepGeom_Curve)& thePairCurve,
+                           const Standard_Boolean theOrientation);
+
+  //! Returns field PairCurve
+  Standard_EXPORT Handle(StepGeom_Curve) PairCurve() const;
+  //! Sets field PairCurve
+  Standard_EXPORT void SetPairCurve (const Handle(StepGeom_Curve)& thePairCurve);
+
+  //! Returns field Orientation
+  Standard_EXPORT Standard_Boolean Orientation() const;
+  //! Sets field Orientation
+  Standard_EXPORT void SetOrientation (const Standard_Boolean theOrientation);
+
+DEFINE_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPlanarCurvePair, StepKinematics_HighOrderKinematicPair)
+
+private:
+  Handle(StepGeom_Curve) myPairCurve;
+  Standard_Boolean myOrientation;
+
+};
+#endif // _StepKinematics_LinearFlexibleAndPlanarCurvePair_HeaderFile_
diff --git a/src/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx b/src/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx
new file mode 100644 (file)
index 0000000..8659b60
--- /dev/null
@@ -0,0 +1,28 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#include <StepKinematics_LinearFlexibleLinkRepresentation.hxx>
+
+IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleLinkRepresentation, StepKinematics_KinematicLinkRepresentation)
+
+//=======================================================================
+//function : StepKinematics_LinearFlexibleLinkRepresentation
+//purpose  : 
+//=======================================================================
+
+StepKinematics_LinearFlexibleLinkRepresentation::StepKinematics_LinearFlexibleLinkRepresentation ()
+{
+}
diff --git a/src/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.hxx b/src/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.hxx
new file mode 100644 (file)
index 0000000..de0a6c2
--- /dev/null
@@ -0,0 +1,42 @@
+// Created on : Fri May 08 19:02:07 2020 
+// Created by: Irina KRYLOVA
+// Generator:  Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
+// Copyright (c) Open CASCADE 2020
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+#ifndef _StepKinematics_LinearFlexibleLinkRepresentation_HeaderFile_
+#define _StepKinematics_LinearFlexibleLinkRepresentation_HeaderFile_
+
+#include <Standard.hxx>
+#include <Standard_Type.hxx>
+#include <StepKinematics_KinematicLinkRepresentation.hxx>
+
+#include <TCollection_HAsciiString.hxx>
+#include <StepRepr_HArray1OfRepresentationItem.hxx>
+#include <StepRepr_RepresentationContext.hxx>
+#include <StepKinematics_KinematicLink.hxx>
+
+DEFINE_STANDARD_HANDLE(StepKinematics_LinearFlexibleLinkRepresentation, StepKinematics_KinematicLinkRepresentation)
+
+//! Representation of STEP entity LinearFlexibleLinkRepresentation
+class StepKinematics_LinearFlexibleLinkRepresentation : public StepKinematics_KinematicLinkRepresentation
+{
+public :
+
+  //! default constructor
+  Standard_EXPORT StepKinematics_LinearFlexibleLinkRepresentation();
+
+DEFINE_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleLinkRepresentation, StepKinematics_KinematicLinkRepresentation)
+
+};
+#endif // _StepKinematics_LinearFlexibleLinkRepresentation_HeaderFile_