+//==================================================================================================
+void ConstructionAPI_Axis::setByTwoPlanes(const ModelHighAPI_Selection& thePlane1,
+ const ModelHighAPI_Selection& thePlane2,
+ const ModelHighAPI_Double& theOffset2,
+ const bool theReverseOffset2)
+{
+ fillAttribute(ConstructionPlugin_Axis::CREATION_METHOD_BY_TWO_PLANES(), creationMethod());
+ fillAttribute(thePlane1, plane1());
+ fillAttribute("", useOffset1());
+ fillAttribute(thePlane2, plane2());
+ fillAttribute(ConstructionPlugin_Axis::USE_OFFSET2(), useOffset2());
+ fillAttribute(theOffset2, offset2());
+ fillAttribute(theReverseOffset2, reverseOffset2());
+
+ execute();
+}
+
+//==================================================================================================
+void ConstructionAPI_Axis::setByTwoPlanes(const ModelHighAPI_Selection& thePlane1,
+ const ModelHighAPI_Double& theOffset1,
+ const bool theReverseOffset1,
+ const ModelHighAPI_Selection& thePlane2)
+{
+ fillAttribute(ConstructionPlugin_Axis::CREATION_METHOD_BY_TWO_PLANES(), creationMethod());
+ fillAttribute(thePlane1, plane1());
+ fillAttribute(ConstructionPlugin_Axis::USE_OFFSET1(), useOffset1());
+ fillAttribute(theOffset1, offset1());
+ fillAttribute(theReverseOffset1, reverseOffset1());
+ fillAttribute(thePlane2, plane2());
+ fillAttribute("", useOffset2());
+
+ execute();
+}
+