- INTERFACE_7("Plane",
- creationMethod, "CreationMethod", String, /** Creation method */,
- face, "planeFace", Selection, /** Plane face */,
- distance, "distance", Double, /** Distance */,
- A, "A", Double, /** Parameter A for general equation */,
- B, "B", Double, /** Parameter B for general equation */,
- C, "C", Double, /** Parameter C for general equation */,
- D, "D", Double, /** Parameter D for general equation */
- )
+ INTERFACE_20(ConstructionPlugin_Plane::ID(),
+ creationMethod, ConstructionPlugin_Plane::CREATION_METHOD(),
+ ModelAPI_AttributeString, /** Creation method */,
+ A, ConstructionPlugin_Plane::A(),
+ ModelAPI_AttributeDouble, /** Parameter A for general equation */,
+ B, ConstructionPlugin_Plane::B(),
+ ModelAPI_AttributeDouble, /** Parameter B for general equation */,
+ C, ConstructionPlugin_Plane::C(),
+ ModelAPI_AttributeDouble, /** Parameter C for general equation */,
+ D, ConstructionPlugin_Plane::D(),
+ ModelAPI_AttributeDouble, /** Parameter D for general equation */,
+ point1, ConstructionPlugin_Plane::POINT1(),
+ ModelAPI_AttributeSelection, /** Point 1 for plane */,
+ point2, ConstructionPlugin_Plane::POINT2(),
+ ModelAPI_AttributeSelection, /** Point 2 for plane */,
+ point3, ConstructionPlugin_Plane::POINT3(),
+ ModelAPI_AttributeSelection, /** Point 3 for plane */,
+ line, ConstructionPlugin_Plane::LINE(),
+ ModelAPI_AttributeSelection, /** Line for plane */,
+ point, ConstructionPlugin_Plane::POINT(),
+ ModelAPI_AttributeSelection, /** Point for plane */,
+ perpendicular, ConstructionPlugin_Plane::PERPENDICULAR(),
+ ModelAPI_AttributeBoolean, /** Perpendicular flag */,
+ creationMethodByOtherPlane,
+ ConstructionPlugin_Plane::CREATION_METHOD_BY_OTHER_PLANE_OPTION(),
+ ModelAPI_AttributeString, /** Creation method by other plane*/,
+ plane, ConstructionPlugin_Plane::PLANE(),
+ ModelAPI_AttributeSelection, /** Plane face */,
+ distance, ConstructionPlugin_Plane::DISTANCE(),
+ ModelAPI_AttributeDouble, /** Distance */,
+ reverse, ConstructionPlugin_Plane::REVERSE(),
+ ModelAPI_AttributeBoolean, /** Reverse flag */,
+ coincidentPoint, ConstructionPlugin_Plane::COINCIDENT_POINT(),
+ ModelAPI_AttributeSelection, /** Coincident point */,
+ axis, ConstructionPlugin_Plane::AXIS(),
+ ModelAPI_AttributeSelection, /** Axis for rotation */,
+ angle, ConstructionPlugin_Plane::ANGLE(),
+ ModelAPI_AttributeDouble, /** Rotation angle */,
+ plane1, ConstructionPlugin_Plane::PLANE1(),
+ ModelAPI_AttributeSelection, /** Plane 1 */,
+ plane2, ConstructionPlugin_Plane::PLANE2(),
+ ModelAPI_AttributeSelection, /** Plane 2 */)