libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | List of all members
Slic3r::IO::TMFEditor Class Reference

3MF Editor class responsible for reading and writing 3mf files. More...

#include <TMF.hpp>

Public Member Functions

 TMFEditor (std::string input_file, Model *_model)
 
bool produce_TMF ()
 Write TMF function called by TMF::write() function. More...
 
bool consume_TMF ()
 Read TMF function called by TMF::read() function. More...
 
 ~TMFEditor ()
 

Public Attributes

const std::map< std::string, std::string > namespaces
 Namespaces in the 3MF document. More...
 

Detailed Description

3MF Editor class responsible for reading and writing 3mf files.

Constructor & Destructor Documentation

◆ TMFEditor()

Slic3r::IO::TMFEditor::TMFEditor ( std::string  input_file,
Model _model 
)
inline

◆ ~TMFEditor()

Slic3r::IO::TMFEditor::~TMFEditor ( )

Member Function Documentation

◆ consume_TMF()

bool Slic3r::IO::TMFEditor::consume_TMF ( )

Read TMF function called by TMF::read() function.

◆ produce_TMF()

bool Slic3r::IO::TMFEditor::produce_TMF ( )

Write TMF function called by TMF::write() function.

Member Data Documentation

◆ namespaces

const std::map<std::string, std::string> Slic3r::IO::TMFEditor::namespaces
Initial value:
= {
{"3mf", "http://schemas.microsoft.com/3dmanufacturing/core/2015/02"},
{"slic3r", "http://schemas.slic3r.org/3mf/2017/06"},
{"s", "http://schemas.microsoft.com/3dmanufacturing/slice/2015/07"},
{"content_types", "http://schemas.openxmlformats.org/package/2006/content-types"},
{"relationships", "http://schemas.openxmlformats.org/package/2006/relationships"}
}

Namespaces in the 3MF document.


The documentation for this class was generated from the following files: