Blender
V3.3
|
Public Attributes | |
GHash * | vert_hash |
GHash * | face_hash |
MemArena * | mem_arena |
ProfileSpacing | pro_spacing |
ProfileSpacing | pro_spacing_miter |
MathLayerInfo | math_layer_info |
BMesh * | bm |
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 CurveProfile * | custom_profile |
const struct MDeformVert * | dvert |
int | vertex_group |
int | mat_nr |
int | face_strength_mode |
int | miter_outer |
int | miter_inner |
int | vmesh_method |
float | spread |
float | smoothresh |
Bevel parameters and state.
Definition at line 305 of file bmesh_bevel.c.
char BevelParams::_pad[1] |
Definition at line 348 of file bmesh_bevel.c.
int BevelParams::affect_type |
Bevel vertices only or edges.
Definition at line 327 of file bmesh_bevel.c.
Referenced by bevel_build_rings(), bevel_limit_offset(), bevel_vert_construct(), bevel_vert_two_edges(), BM_mesh_bevel(), build_boundary(), build_boundary_vertex_only(), build_vmesh(), set_profile_params(), and tri_corner_test().
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().
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().
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().
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().
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().
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().
bool BevelParams::limit_offset |
Should offsets be limited by collisions?
Definition at line 339 of file bmesh_bevel.c.
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().
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().
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().
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().
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().
MemArena* BevelParams::mem_arena |
Use for all allocs while bevel runs. NOTE: If we need to free we can switch to mempool.
Definition at line 311 of file bmesh_bevel.c.
Referenced by adj_vmesh(), bevel_build_cutoff(), bevel_vert_construct(), BM_mesh_bevel(), build_boundary(), build_boundary_terminal_edge(), build_boundary_vertex_only(), build_vmesh(), calculate_profile(), cubic_subdiv(), interp_vmesh(), make_cube_corner_adj_vmesh(), math_layer_info_init(), set_profile_spacing(), and square_out_adj_vmesh().
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().
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().
float BevelParams::offset |
Blender units to offset each side of a beveled edge.
Definition at line 321 of file bmesh_bevel.c.
Referenced by adjust_miter_coords(), bevel_harden_normals(), bevel_limit_offset(), bevel_vert_construct(), BM_mesh_bevel(), geometry_collide_offset(), offset_meet_lines_percent_or_absolute(), offset_on_edge_between(), and vertex_collide_offset().
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().
int BevelParams::offset_type |
How offset is measured; enum defined in bmesh_operators.h.
Definition at line 323 of file bmesh_bevel.c.
Referenced by bevel_vert_construct(), build_boundary_terminal_edge(), geometry_collide_offset(), offset_meet(), offset_meet_lines_percent_or_absolute(), and offset_on_edge_between().
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().
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().
float BevelParams::pro_super_r |
Superellipse parameter for edge profile.
Definition at line 333 of file bmesh_bevel.c.
Referenced by adj_vmesh(), bevel_build_rings(), bevel_vert_two_edges(), BM_mesh_bevel(), find_profile_fullness(), make_cube_corner_adj_vmesh(), set_profile_params(), set_profile_spacing(), and tri_corner_test().
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().
int BevelParams::profile_type |
Profile type: radius, superellipse, or custom
Definition at line 325 of file bmesh_bevel.c.
Referenced by adj_vmesh(), bevel_build_rings(), BM_mesh_bevel(), build_boundary_terminal_edge(), build_vmesh(), calculate_profile(), calculate_vm_profiles(), cubic_subdiv(), find_profile_fullness(), make_cube_corner_adj_vmesh(), pipe_adj_vmesh(), and tri_corner_test().
int BevelParams::seg |
Number of segments in beveled edge profile.
Definition at line 329 of file bmesh_bevel.c.
Referenced by adjust_miter_coords(), bevel_build_cutoff(), bevel_vert_construct(), BM_mesh_bevel(), build_boundary(), build_boundary_vertex_only(), build_vmesh(), calculate_profile(), find_profile_fullness(), get_profile_point(), make_cube_corner_adj_vmesh(), math_layer_info_init(), set_profile_spacing(), and tri_corner_adj_vmesh().
float BevelParams::smoothresh |
Mesh's smoothresh, used if hardening.
Definition at line 368 of file bmesh_bevel.c.
Referenced by bevel_harden_normals().
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().
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().
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().
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().
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().