diff --git a/src/serializers/SvgSerializer.h b/src/serializers/SvgSerializer.h index da6ae99c3e..6621b4dc09 100644 --- a/src/serializers/SvgSerializer.h +++ b/src/serializers/SvgSerializer.h @@ -304,6 +304,11 @@ public: } } + void addDrawing(const gp_Pnt& pos, const gp_Dir& dir, const gp_Dir& ref, const std::string& name, bool include_projection) { + deferred_section_data_.emplace(); + deferred_section_data_->push_back(vertical_section{ gp_Pln(gp_Ax3(pos, dir, ref)), name, true }); + } + protected: std::string writeMetadata(const drawing_meta& m); };