--- a/src/linetypes/compoundobject.cpp Tue Mar 15 19:48:07 2022 +0200 +++ b/src/linetypes/compoundobject.cpp Thu Apr 14 11:08:20 2022 +0300 @@ -113,3 +113,21 @@ return {}; } } + +QString ldraw::CompoundObject::transformToBareString() const +{ + return utility::format( + "%1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12", + this->transformation[3][0], + this->transformation[3][1], + this->transformation[3][2], + this->transformation[0][0], + this->transformation[1][0], + this->transformation[2][0], + this->transformation[0][1], + this->transformation[1][1], + this->transformation[2][1], + this->transformation[0][2], + this->transformation[1][2], + this->transformation[2][2]); +}