Blender V5.0
BevelParams Struct Reference

Public Attributes

GHashvert_hash
GHashface_hash
GHashuv_face_hash
Vector< UVVertMapuv_vert_maps
MemArenamem_arena
ProfileSpacing pro_spacing
ProfileSpacing pro_spacing_miter
MathLayerInfo math_layer_info
BMeshbm
float offset
int offset_type
int profile_type
int affect_type
int seg
float profile
float pro_super_r
bool use_weights
int bweight_offset_vert
int bweight_offset_edge
bool loop_slide
bool limit_offset
bool offset_adjust
bool mark_seam
bool mark_sharp
bool harden_normals
char _pad [1]
const CurveProfilecustom_profile
const MDeformVertdvert
int vertex_group
int mat_nr
int face_strength_mode
int miter_outer
int miter_inner
int vmesh_method
float spread

Detailed Description

Bevel parameters and state.

Definition at line 341 of file bmesh_bevel.cc.

Member Data Documentation

◆ _pad

char BevelParams::_pad[1]

Definition at line 393 of file bmesh_bevel.cc.

◆ affect_type

◆ bm

BMesh* BevelParams::bm

The argument BMesh.

Definition at line 362 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel().

◆ bweight_offset_edge

int BevelParams::bweight_offset_edge

◆ bweight_offset_vert

int BevelParams::bweight_offset_vert

Definition at line 379 of file bmesh_bevel.cc.

Referenced by bevel_vert_construct(), and BM_mesh_bevel().

◆ custom_profile

const CurveProfile* BevelParams::custom_profile

The struct used to store the custom profile input.

Definition at line 395 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), and set_profile_spacing().

◆ dvert

const MDeformVert* BevelParams::dvert

Vertex group array, maybe set if vertex only.

Definition at line 397 of file bmesh_bevel.cc.

Referenced by bevel_vert_construct(), and BM_mesh_bevel().

◆ face_hash

GHash* BevelParams::face_hash

Records new faces: key BMFace*, value one of {VERT/EDGE/RECON}_POLY.

Definition at line 345 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), get_face_kind(), and record_face_kind().

◆ face_strength_mode

int BevelParams::face_strength_mode

Setting face strength if > 0.

Definition at line 403 of file bmesh_bevel.cc.

Referenced by bevel_set_weighted_normal_face_strength(), and BM_mesh_bevel().

◆ harden_normals

bool BevelParams::harden_normals

Should we harden normals?

Definition at line 392 of file bmesh_bevel.cc.

Referenced by bevel_harden_normals(), and BM_mesh_bevel().

◆ limit_offset

bool BevelParams::limit_offset

Should offsets be limited by collisions?

Definition at line 384 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel().

◆ loop_slide

bool BevelParams::loop_slide

Should bevel prefer to slide along edges rather than keep widths spec?

Definition at line 382 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), and build_boundary().

◆ mark_seam

bool BevelParams::mark_seam

Should we propagate seam edge markings?

Definition at line 388 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), build_boundary(), build_boundary_terminal_edge(), and build_boundary_vertex_only().

◆ mark_sharp

bool BevelParams::mark_sharp

Should we propagate sharp edge markings?

Definition at line 390 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), build_boundary(), build_boundary_terminal_edge(), and build_boundary_vertex_only().

◆ mat_nr

int BevelParams::mat_nr

If >= 0, material number for bevel; else material comes from adjacent faces.

Definition at line 401 of file bmesh_bevel.cc.

Referenced by bevel_build_cutoff(), bevel_build_edge_polygons(), bevel_build_poly(), bevel_build_rings(), BM_mesh_bevel(), and build_square_in_vmesh().

◆ math_layer_info

MathLayerInfo BevelParams::math_layer_info

Information about 'math' loop layers, like UV layers.

Definition at line 360 of file bmesh_bevel.cc.

Referenced by choose_rep_face(), frep_for_center_poly(), and math_layer_info_init().

◆ mem_arena

◆ miter_inner

int BevelParams::miter_inner

What kind of miter pattern to use on non-reflex angles.

Definition at line 407 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), and build_boundary().

◆ miter_outer

int BevelParams::miter_outer

What kind of miter pattern to use on reflex angles.

Definition at line 405 of file bmesh_bevel.cc.

Referenced by adjust_miter_coords(), BM_mesh_bevel(), and build_boundary().

◆ offset

◆ offset_adjust

bool BevelParams::offset_adjust

Should offsets be adjusted to try to get even widths?

Definition at line 386 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel().

◆ offset_type

◆ pro_spacing

ProfileSpacing BevelParams::pro_spacing

Profile vertex location and spacings.

Definition at line 356 of file bmesh_bevel.cc.

Referenced by adj_vmesh(), BM_mesh_bevel(), calculate_profile(), find_profile_fullness(), get_profile_point(), and set_profile_spacing().

◆ pro_spacing_miter

ProfileSpacing BevelParams::pro_spacing_miter

Parameter values for evenly spaced profile points for the miter profiles.

Definition at line 358 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), and calculate_profile().

◆ pro_super_r

float BevelParams::pro_super_r

◆ profile

float BevelParams::profile

User profile setting.

Definition at line 374 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), build_boundary_terminal_edge(), and find_profile_fullness().

◆ profile_type

◆ seg

◆ spread

float BevelParams::spread

Amount to spread when doing inside miter.

Definition at line 411 of file bmesh_bevel.cc.

Referenced by adjust_miter_inner_coords(), and BM_mesh_bevel().

◆ use_weights

bool BevelParams::use_weights

Bevel amount affected by weights on edges or verts.

Definition at line 378 of file bmesh_bevel.cc.

Referenced by bevel_vert_construct(), BM_mesh_bevel(), offset_meet_lines_percent_or_absolute(), and offset_on_edge_between().

◆ uv_face_hash

GHash* BevelParams::uv_face_hash

Records UVFace made: key BMFace*, value UVFace*.

Definition at line 347 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), find_uv_face(), and register_uv_face().

◆ uv_vert_maps

Vector<UVVertMap> BevelParams::uv_vert_maps

Container which keeps track of UV vert connectivity in different UV maps.

Definition at line 349 of file bmesh_bevel.cc.

Referenced by bevel_merge_uvs(), determine_uv_vert_connectivity(), update_uv_vert_map(), uv_vert_map_init(), and uv_vert_map_pop().

◆ vert_hash

GHash* BevelParams::vert_hash

Records BevVerts made: key BMVert*, value BevVert*

Definition at line 343 of file bmesh_bevel.cc.

Referenced by bevel_vert_construct(), BM_mesh_bevel(), and find_bevvert().

◆ vertex_group

int BevelParams::vertex_group

Vertex group index, maybe set if vertex only.

Definition at line 399 of file bmesh_bevel.cc.

Referenced by bevel_vert_construct(), and BM_mesh_bevel().

◆ vmesh_method

int BevelParams::vmesh_method

The method to use for vertex mesh creation

Definition at line 409 of file bmesh_bevel.cc.

Referenced by BM_mesh_bevel(), build_boundary(), and calculate_profile().


The documentation for this struct was generated from the following file: