Blender  V3.3
Public Attributes | List of all members
BevelParams Struct Reference

Public Attributes

GHashvert_hash
 
GHashface_hash
 
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
 
bool loop_slide
 
bool limit_offset
 
bool offset_adjust
 
bool mark_seam
 
bool mark_sharp
 
bool harden_normals
 
char _pad [1]
 
const struct CurveProfilecustom_profile
 
const struct MDeformVertdvert
 
int vertex_group
 
int mat_nr
 
int face_strength_mode
 
int miter_outer
 
int miter_inner
 
int vmesh_method
 
float spread
 
float smoothresh
 

Detailed Description

Bevel parameters and state.

Definition at line 305 of file bmesh_bevel.c.

Member Data Documentation

◆ _pad

char BevelParams::_pad[1]

Definition at line 348 of file bmesh_bevel.c.

◆ affect_type

int BevelParams::affect_type

◆ bm

BMesh* BevelParams::bm

The argument BMesh.

Definition at line 319 of file bmesh_bevel.c.

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

◆ custom_profile

const struct CurveProfile* BevelParams::custom_profile

The struct used to store the custom profile input.

Definition at line 350 of file bmesh_bevel.c.

Referenced by set_profile_spacing().

◆ dvert

const struct MDeformVert* BevelParams::dvert

Vertex group array, maybe set if vertex only.

Definition at line 352 of file bmesh_bevel.c.

Referenced by bevel_vert_construct().

◆ face_hash

GHash* BevelParams::face_hash

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

Definition at line 309 of file bmesh_bevel.c.

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 358 of file bmesh_bevel.c.

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 347 of file bmesh_bevel.c.

Referenced by bevel_harden_normals(), and BM_mesh_bevel().

◆ limit_offset

bool BevelParams::limit_offset

Should offsets be limited by collisions?

Definition at line 339 of file bmesh_bevel.c.

◆ loop_slide

bool BevelParams::loop_slide

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

Definition at line 337 of file bmesh_bevel.c.

Referenced by build_boundary().

◆ mark_seam

bool BevelParams::mark_seam

Should we propagate seam edge markings?

Definition at line 343 of file bmesh_bevel.c.

Referenced by build_boundary_terminal_edge(), and build_boundary_vertex_only().

◆ mark_sharp

bool BevelParams::mark_sharp

Should we propagate sharp edge markings?

Definition at line 345 of file bmesh_bevel.c.

Referenced by 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 356 of file bmesh_bevel.c.

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

◆ math_layer_info

MathLayerInfo BevelParams::math_layer_info

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

Definition at line 317 of file bmesh_bevel.c.

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

◆ mem_arena

MemArena* BevelParams::mem_arena

◆ miter_inner

int BevelParams::miter_inner

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

Definition at line 362 of file bmesh_bevel.c.

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 360 of file bmesh_bevel.c.

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

◆ offset

float BevelParams::offset

◆ offset_adjust

bool BevelParams::offset_adjust

Should offsets be adjusted to try to get even widths?

Definition at line 341 of file bmesh_bevel.c.

Referenced by BM_mesh_bevel().

◆ offset_type

int BevelParams::offset_type

◆ pro_spacing

ProfileSpacing BevelParams::pro_spacing

Profile vertex location and spacings.

Definition at line 313 of file bmesh_bevel.c.

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 315 of file bmesh_bevel.c.

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 331 of file bmesh_bevel.c.

Referenced by build_boundary_terminal_edge(), and find_profile_fullness().

◆ profile_type

int BevelParams::profile_type

◆ seg

int BevelParams::seg

◆ smoothresh

float BevelParams::smoothresh

Mesh's smoothresh, used if hardening.

Definition at line 368 of file bmesh_bevel.c.

Referenced by bevel_harden_normals().

◆ spread

float BevelParams::spread

Amount to spread when doing inside miter.

Definition at line 366 of file bmesh_bevel.c.

Referenced by adjust_miter_inner_coords().

◆ use_weights

bool BevelParams::use_weights

Bevel amount affected by weights on edges or verts.

Definition at line 335 of file bmesh_bevel.c.

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

◆ vert_hash

GHash* BevelParams::vert_hash

Records BevVerts made: key BMVert*, value BevVert*

Definition at line 307 of file bmesh_bevel.c.

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 354 of file bmesh_bevel.c.

Referenced by bevel_vert_construct().

◆ vmesh_method

int BevelParams::vmesh_method

The method to use for vertex mesh creation

Definition at line 364 of file bmesh_bevel.c.

Referenced by BM_mesh_bevel(), and calculate_profile().


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