Blender
V4.3
source
blender
io
stl
importer
stl_import.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
#include "
IO_stl.hh
"
12
13
struct
bContext
;
14
struct
Main
;
15
struct
Mesh
;
16
struct
Scene
;
17
struct
ViewLayer
;
18
19
namespace
blender::io::stl
{
20
21
void
stl_import_report_error
(FILE *file);
22
23
/* Used from Geo nodes import for Mesh* access */
24
Mesh
*
read_stl_file
(
const
STLImportParams
&import_params);
25
26
/* Main import function used from within Blender. */
27
void
importer_main
(
const
bContext
*C,
const
STLImportParams
&import_params);
28
29
/* Used from tests, where full bContext does not exist. */
30
void
importer_main
(
Main
*bmain,
31
Scene
*scene,
32
ViewLayer
*view_layer,
33
const
STLImportParams
&import_params);
34
}
// namespace blender::io::stl
IO_stl.hh
blender::io::stl
Definition
stl_export.cc:38
blender::io::stl::importer_main
void importer_main(const bContext *C, const STLImportParams &import_params)
Definition
stl_import.cc:104
blender::io::stl::stl_import_report_error
void stl_import_report_error(FILE *file)
Definition
stl_import.cc:39
blender::io::stl::read_stl_file
Mesh * read_stl_file(const STLImportParams &import_params)
Definition
stl_import.cc:50
Main
Definition
BKE_main.hh:122
Mesh
Definition
DNA_mesh_types.h:56
STLImportParams
Definition
IO_stl.hh:21
Scene
Definition
DNA_scene_types.h:1988
ViewLayer
Definition
DNA_layer_types.h:151
bContext
Definition
blenkernel/intern/context.cc:61
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0