#include "BuildAPI_Wire.h"
+#include <ModelHighAPI_Dumper.h>
#include <ModelHighAPI_Tools.h>
//==================================================================================================
execute();
}
+//==================================================================================================
+void BuildAPI_Wire::dump(ModelHighAPI_Dumper& theDumper) const
+{
+ FeaturePtr aBase = feature();
+ std::string aPartName = theDumper.name(aBase->document());
+
+ theDumper << aBase << " = model.addWire(" << aPartName << ", "
+ << aBase->selectionList(BuildPlugin_Wire::BASE_OBJECTS_ID()) << ")" << std::endl;
+}
+
//==================================================================================================
void BuildAPI_Wire::addContour()
{
"""Package for Build plugin for the Parametric Geometry API of the Modeler.
"""
-from BuildAPI import addVertex, addEdge, addFace, addShell
+from BuildAPI import addVertex, addEdge, addWire, addFace, addShell
from BuildAPI import addSubShapes