MeshLib C++ Docs
Loading...
Searching...
No Matches
MRNesting3mfExport.h
Go to the documentation of this file.
1#pragma once
2#include "config.h"
3#ifndef MRIOEXTRAS_NO_XML
4#include "exports.h"
5
6#include "MRMesh/MRMeshFwd.h"
8#include "MRMesh/MRExpected.h"
9#include "MRMesh/MRVector.h"
10
11#include <filesystem>
12
13namespace MR
14{
17
18
19namespace Nesting
20{
21
23{
26
28 float zStep = 1.0f;
29
32 float decimateMaxError = 0.f;
33
35 const Image* image = nullptr;
36
38 const std::vector<Image>* meshImages{ nullptr };
39
41 const std::vector<std::string>* meshNames{ nullptr };
42
44};
45
47MRIOEXTRAS_API Expected<void> exportNesting3mf( const std::filesystem::path& path, const Nesting3mfParams& params );
48
49}
50
51}
52#endif
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:23
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:751
const std::vector< Image > * meshImages
optional screen shots of each mesh one by one
Definition MRNesting3mfExport.h:38
const Image * image
optional image of all meshes in nest
Definition MRNesting3mfExport.h:35
ProgressCallback cb
Definition MRNesting3mfExport.h:43
Expected< void > exportNesting3mf(const std::filesystem::path &path, const Nesting3mfParams &params)
exports slicestack 3mf file based on placed meshes
tl::expected< T, E > Expected
Definition MRExpected.h:31
Vector< MeshXf, ObjId > meshes
nested meshes with their transforms into nest
Definition MRNesting3mfExport.h:25
const std::vector< std::string > * meshNames
optional names of each mesh one by one
Definition MRNesting3mfExport.h:41
float zStep
slicing step
Definition MRNesting3mfExport.h:28
float decimateMaxError
Definition MRNesting3mfExport.h:32
Definition MRNesting3mfExport.h:20
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRImage.h:19
Definition MRNesting3mfExport.h:23