MeshLib
 
Loading...
Searching...
No Matches
MRMeshLoadStep.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#ifndef MRMESH_NO_OPENCASCADE
5#include "MRExpected.h"
7
8#include <filesystem>
9#include <iostream>
10
11namespace MR::MeshLoad
12{
13
15MRMESH_API Expected<Mesh> fromStep( const std::filesystem::path& path, const MeshLoadSettings& settings = {} );
16MRMESH_API Expected<Mesh> fromStep( std::istream& in, const MeshLoadSettings& settings = {} );
17
19MRMESH_API Expected<std::shared_ptr<Object>> fromSceneStepFile( const std::filesystem::path& path, const MeshLoadSettings& settings = {} );
21
22} // namespace MR::MeshLoad
23#endif
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRIOFormatsRegistry.h:14
MRMESH_API Expected< std::shared_ptr< Object > > fromSceneStepFile(const std::filesystem::path &path, const MeshLoadSettings &settings={})
load scene from STEP file using OpenCASCADE
MRMESH_API Expected< Mesh > fromStep(const std::filesystem::path &path, const MeshLoadSettings &settings={})
load mesh data from STEP file using OpenCASCADE
tl::expected< T, E > Expected
Definition MRExpected.h:49
setting for mesh loading from external format, and locations of optional output data
Definition MRMeshLoadSettings.h:10