A new experimentatl STL importer, written in C++. Roughly 7-9x faster than the Python based one. Reviewed By: Aras Pranckevicius, Hans Goudey. Differential Revision: https://developer.blender.org/D14941
17 lines
314 B
C++
17 lines
314 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup stl
|
|
*/
|
|
|
|
#include "BLI_timeit.hh"
|
|
|
|
#include "IO_stl.h"
|
|
#include "stl_import.hh"
|
|
|
|
void STL_import(bContext *C, const struct STLImportParams *import_params)
|
|
{
|
|
SCOPED_TIMER("STL Import");
|
|
blender::io::stl::importer_main(C, *import_params);
|
|
}
|