Blender  V3.3
Public Member Functions | List of all members
blender::io::stl::STLMeshHelper Class Reference

#include <stl_import_mesh.hh>

Public Member Functions

 STLMeshHelper (int tris_num, bool use_custom_normals)
 
bool add_triangle (const float3 &a, const float3 &b, const float3 &c)
 
void add_triangle (const float3 &a, const float3 &b, const float3 &c, const float3 &custom_normal)
 
Meshto_mesh (Main *bmain, char *mesh_name)
 

Detailed Description

Definition at line 48 of file stl_import_mesh.hh.

Constructor & Destructor Documentation

◆ STLMeshHelper()

blender::io::stl::STLMeshHelper::STLMeshHelper ( int  tris_num,
bool  use_custom_normals 
)

Definition at line 24 of file stl_import_mesh.cc.

Member Function Documentation

◆ add_triangle() [1/2]

bool blender::io::stl::STLMeshHelper::add_triangle ( const float3 a,
const float3 b,
const float3 c 
)

◆ add_triangle() [2/2]

void blender::io::stl::STLMeshHelper::add_triangle ( const float3 a,
const float3 b,
const float3 c,
const float3 custom_normal 
)

Definition at line 53 of file stl_import_mesh.cc.

References Freestyle::a, add_triangle(), usdtokens::b(), and Freestyle::c.

◆ to_mesh()

Mesh * blender::io::stl::STLMeshHelper::to_mesh ( Main bmain,
char *  mesh_name 
)

The documentation for this class was generated from the following files: