|
Blender V5.3
|
Public Attributes | |
| float | super_r |
| float | height |
| float | start [3] |
| float | middle [3] |
| float | end [3] |
| float | plane_no [3] |
| float | plane_co [3] |
| float | proj_dir [3] |
| float * | prof_co |
| float * | prof_co_2 |
| bool | special_params |
Profile specification: The profile is a path defined with start, middle, and end control points projected onto a plane (plane_no is normal, plane_co is a point on it) via lines in a given direction (proj_dir).
Many interesting profiles are in family of superellipses: (abs(x/a))^r + (abs(y/b))^r = 1 r==2 => ellipse; r==1 => line; r < 1 => concave; r > 1 => bulging out. Special cases: let r==0 mean straight-inward, and r==4 mean straight outward.
After the parameters are all set, the actual profile points are calculated and pointed to by prof_co. We also may need profile points for a higher resolution number of segments for the subdivision while making the ADJ vertex mesh pattern, and that goes in prof_co_2.
Definition at line 134 of file bmesh_bevel.cc.
| float blender::Profile::end[3] |
End control point for profile.
Definition at line 144 of file bmesh_bevel.cc.
Referenced by blender::bevel_vert_two_edges(), blender::calculate_profile(), blender::calculate_profile_segments(), blender::get_profile_point(), blender::make_cube_corner_adj_vmesh(), blender::move_profile_plane(), blender::set_profile_params(), and blender::snap_to_pipe_profile().
| float blender::Profile::height |
Height for profile cutoff face sides.
Definition at line 138 of file bmesh_bevel.cc.
Referenced by blender::bevel_build_cutoff(), and blender::calculate_profile().
| float blender::Profile::middle[3] |
Mid control point for profile.
Definition at line 142 of file bmesh_bevel.cc.
Referenced by blender::adjust_miter_coords(), blender::bevel_vert_two_edges(), blender::build_boundary(), blender::calculate_profile(), blender::make_cube_corner_adj_vmesh(), blender::set_profile_params(), blender::snap_to_pipe_profile(), and blender::square_out_adj_vmesh().
| float blender::Profile::plane_co[3] |
Coordinate on plane to project to.
Definition at line 148 of file bmesh_bevel.cc.
Referenced by blender::bevel_vert_two_edges(), blender::build_boundary_terminal_edge(), blender::calculate_profile_segments(), blender::make_cube_corner_adj_vmesh(), and blender::set_profile_params().
| float blender::Profile::plane_no[3] |
Normal of plane to project to.
Definition at line 146 of file bmesh_bevel.cc.
Referenced by blender::bevel_build_cutoff(), blender::bevel_vert_two_edges(), blender::build_boundary_terminal_edge(), blender::calculate_profile_segments(), blender::make_cube_corner_adj_vmesh(), blender::move_profile_plane(), blender::move_weld_profile_planes(), and blender::set_profile_params().
| float* blender::Profile::prof_co |
seg+1 profile coordinates (triples of floats).
Definition at line 152 of file bmesh_bevel.cc.
Referenced by blender::calculate_profile(), and blender::get_profile_point().
| float* blender::Profile::prof_co_2 |
Like prof_co, but for seg power of 2 >= seg.
Definition at line 154 of file bmesh_bevel.cc.
Referenced by blender::calculate_profile(), and blender::get_profile_point().
| float blender::Profile::proj_dir[3] |
Direction of projection line.
Definition at line 150 of file bmesh_bevel.cc.
Referenced by blender::bevel_vert_two_edges(), blender::calculate_profile_segments(), blender::make_cube_corner_adj_vmesh(), blender::move_profile_plane(), blender::move_weld_profile_planes(), and blender::set_profile_params().
| bool blender::Profile::special_params |
Mark a special case so these parameters aren't reset with others.
Definition at line 156 of file bmesh_bevel.cc.
Referenced by blender::calculate_vm_profiles(), blender::move_profile_plane(), and blender::move_weld_profile_planes().
| float blender::Profile::start[3] |
Start control point for profile.
Definition at line 140 of file bmesh_bevel.cc.
Referenced by blender::bevel_vert_two_edges(), blender::calculate_profile(), blender::calculate_profile_segments(), blender::get_profile_point(), blender::make_cube_corner_adj_vmesh(), blender::move_profile_plane(), blender::set_profile_params(), and blender::snap_to_pipe_profile().
| float blender::Profile::super_r |
Superellipse r parameter.
Definition at line 136 of file bmesh_bevel.cc.
Referenced by blender::add_new_bound_vert(), blender::bevel_vert_two_edges(), blender::build_vmesh(), blender::calculate_profile(), blender::make_cube_corner_adj_vmesh(), blender::set_profile_params(), and blender::snap_to_pipe_profile().