|
Blender V4.3
|
#include <stl_import_mesh.hh>
Public Member Functions | |
| STLMeshHelper (int tris_num, bool use_custom_normals) | |
| bool | add_triangle (const PackedTriangle &data) |
| Mesh * | to_mesh () |
Definition at line 50 of file stl_import_mesh.hh.
| blender::io::stl::STLMeshHelper::STLMeshHelper | ( | int | tris_num, |
| bool | use_custom_normals ) |
Definition at line 23 of file stl_import_mesh.cc.
| bool blender::io::stl::STLMeshHelper::add_triangle | ( | const PackedTriangle & | data | ) |
Definition at line 36 of file stl_import_mesh.cc.
Referenced by blender::io::stl::read_stl_ascii(), and blender::io::stl::read_stl_binary().
| Mesh * blender::io::stl::STLMeshHelper::to_mesh | ( | ) |
Definition at line 56 of file stl_import_mesh.cc.
References BKE_mesh_new_nomain(), BKE_mesh_set_custom_normals(), blender::array_utils::copy(), blender::offset_indices::fill_constant_group_size(), mesh, blender::bke::mesh_calc_edges(), and blender::bke::mesh_smooth_set().
Referenced by blender::io::stl::read_stl_ascii(), and blender::io::stl::read_stl_binary().