MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / toModel3mf

Function toModel3mf

source/MRMesh/MRMeshSave3mf.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66} // anonymous namespace
67
68Expected<void> toModel3mf( const Mesh & mesh, const std::filesystem::path & file, const SaveSettings & settings )
69{
70 std::ofstream out( file, std::ofstream::binary );
71 if ( !out )
72 return unexpected( std::string( "Cannot open file for writing " ) + utf8string( file ) );
73
74 return toModel3mf( mesh, out, settings );
75}
76
77Expected<void> toModel3mf( const Mesh & mesh, std::ostream & out, const SaveSettings & settings )
78{

Callers 1

to3mfFunction · 0.85

Calls 14

utf8stringFunction · 0.85
makePaletteFunction · 0.85
reportProgressFunction · 0.85
sizeVertsMethod · 0.80
lastValidFaceMethod · 0.80
numValidFacesMethod · 0.80
hasFaceMethod · 0.80
getTriVertsMethod · 0.80
unexpectedFunction · 0.70
getAtFunction · 0.70
lastValidVertMethod · 0.45

Tested by

no test coverage detected