aBase->selection(ExchangePlugin_ExportFeature::STL_OBJECT_SELECTED());
theDumper<<","<< aShapeSelected;
-
+
theDumper <<","<< stlabsolute() <<","<< stlrelative();
if (stldeflectionType()->value() == ExchangePlugin_ExportFeature::STL_DEFLECTION_TYPE_RELATIVE()) {
else {
theDumper <<","<< "False";
}
-
+
if (stlfileType()->value() == ExchangePlugin_ExportFeature::STL_FILE_TYPE_BINARY()) {
theDumper << "False";
}
ExportPtr exportToSTL(const std::shared_ptr<ModelAPI_Document> & thePart,
const std::string & theFilePath,
const ModelHighAPI_Selection& theSelectedShape,
- double aDeflectionRelative,
- double aDeflectionAbsolute,
- const bool anIsRelative,
- const bool anIsASCII)
+ double theDeflectionRelative,
+ double theDeflectionAbsolute,
+ const bool theIsRelative,
+ const bool theIsASCII)
{
apply(); // finish previous operation to make sure all previous operations are done
std::shared_ptr<ModelAPI_Feature> aFeature =
return ExportPtr(new ExchangeAPI_Export(aFeature,
theFilePath,
theSelectedShape,
- aDeflectionRelative,
- aDeflectionAbsolute,
- anIsRelative,
- anIsASCII));
+ theDeflectionRelative,
+ theDeflectionAbsolute,
+ theIsRelative,
+ theIsASCII));
}
ExportPtr exportToXAO(const std::shared_ptr<ModelAPI_Document> & thePart,