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
31 bool decimateSlices{ true };
32
34 const Image* image = nullptr;
35
37 const std::vector<Image>* meshImages{ nullptr };
38
40 const std::vector<std::string>* meshNames{ nullptr };
41
43};
44
46MRIOEXTRAS_API Expected<void> exportNesting3mf( const std::filesystem::path& path, const Nesting3mfParams& params );
47
48}
49
50}
51#endif
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:23
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:753
const std::vector< Image > * meshImages
optional screen shots of each mesh one by one
Definition MRNesting3mfExport.h:37
const Image * image
optional image of all meshes in nest
Definition MRNesting3mfExport.h:34
ProgressCallback cb
Definition MRNesting3mfExport.h:42
Expected< void > exportNesting3mf(const std::filesystem::path &path, const Nesting3mfParams &params)
exports slicestack 3mf file based on placed meshes
bool decimateSlices
if set: decimate slices
Definition MRNesting3mfExport.h:31
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:40
float zStep
slicing step
Definition MRNesting3mfExport.h:28
Definition MRNesting3mfExport.h:20
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRImage.h:19
Definition MRNesting3mfExport.h:23