Blender  V3.3
stl_import.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "IO_stl.h"
10 
11 namespace blender::io::stl {
12 
13 void stl_import_report_error(FILE *file);
14 
15 /* Main import function used from within Blender. */
16 void importer_main(bContext *C, const STLImportParams &import_params);
17 
18 /* Used from tests, where full bContext does not exist. */
19 void importer_main(Main *bmain,
20  Scene *scene,
21  ViewLayer *view_layer,
22  const STLImportParams &import_params);
23 
24 } // namespace blender::io::stl
FILE * file
Scene scene
void importer_main(bContext *C, const STLImportParams &import_params)
Definition: stl_import.cc:43
void stl_import_report_error(FILE *file)
Definition: stl_import.cc:32
Definition: BKE_main.h:121