mesh operator documentation patch from Ron walker, (edited a few of the descriptions)

This commit is contained in:
2009-08-17 04:15:53 +00:00
parent 73ea51eccd
commit 3425925a77
7 changed files with 76 additions and 0 deletions

View File

@@ -1623,6 +1623,7 @@ void MESH_OT_separate(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Separate";
ot->description= "Separate selected geometry into a new mesh.";
ot->idname= "MESH_OT_separate";
/* api callbacks */

View File

@@ -227,6 +227,7 @@ void MESH_OT_dupli_extrude_cursor(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Duplicate or Extrude at 3D Cursor";
ot->description= "Duplicate and extrude selected vertices, edges or faces towards 3D Cursor.";
ot->idname= "MESH_OT_dupli_extrude_cursor";
/* api callbacks */
@@ -358,6 +359,7 @@ void MESH_OT_fgon_make(struct wmOperatorType *ot)
{
/* identifiers */
ot->name= "Make F-gon";
ot->description= "Make fgon from selected faces.";
ot->idname= "MESH_OT_fgon_make";
/* api callbacks */
@@ -390,6 +392,7 @@ void MESH_OT_fgon_clear(struct wmOperatorType *ot)
{
/* identifiers */
ot->name= "Clear F-gon";
ot->description= "Clear fgon from selected face.";
ot->idname= "MESH_OT_fgon_clear";
/* api callbacks */
@@ -801,6 +804,7 @@ void MESH_OT_edge_face_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Make Edge/Face";
ot->description= "Add an edge or face to selected.";
ot->idname= "MESH_OT_edge_face_add";
/* api callbacks */
@@ -1327,6 +1331,7 @@ void MESH_OT_primitive_plane_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Plane";
ot->description= "Construct a filled planar mesh with 4 vertices.";
ot->idname= "MESH_OT_primitive_plane_add";
/* api callbacks */
@@ -1359,6 +1364,7 @@ void MESH_OT_primitive_cube_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Cube";
ot->description= "Construct a cube mesh.";
ot->idname= "MESH_OT_primitive_cube_add";
/* api callbacks */
@@ -1391,6 +1397,7 @@ void MESH_OT_primitive_circle_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Circle";
ot->description= "Construct a circle mesh.";
ot->idname= "MESH_OT_primitive_circle_add";
/* api callbacks */
@@ -1428,6 +1435,7 @@ void MESH_OT_primitive_cylinder_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Cylinder";
ot->description= "Construct a cylindrical mesh (ends filled).";
ot->idname= "MESH_OT_primitive_cylinder_add";
/* api callbacks */
@@ -1465,6 +1473,7 @@ void MESH_OT_primitive_tube_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Tube";
ot->description= "Construct a cylindrical mesh (ends not filled).";
ot->idname= "MESH_OT_primitive_tube_add";
/* api callbacks */
@@ -1502,6 +1511,7 @@ void MESH_OT_primitive_cone_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Cone";
ot->description= "Construct a conic mesh (ends filled).";
ot->idname= "MESH_OT_primitive_cone_add";
/* api callbacks */
@@ -1541,6 +1551,7 @@ void MESH_OT_primitive_grid_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Grid";
ot->description= "Construct a grid mesh.";
ot->idname= "MESH_OT_primitive_grid_add";
/* api callbacks */
@@ -1576,6 +1587,7 @@ void MESH_OT_primitive_monkey_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Monkey";
ot->description= "Construct a Suzanne mesh.";
ot->idname= "MESH_OT_primitive_monkey_add";
/* api callbacks */
@@ -1608,6 +1620,7 @@ void MESH_OT_primitive_uv_sphere_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add UV Sphere";
ot->description= "Construct a UV sphere mesh.";
ot->idname= "MESH_OT_primitive_uv_sphere_add";
/* api callbacks */
@@ -1645,6 +1658,7 @@ void MESH_OT_primitive_ico_sphere_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Ico Sphere";
ot->description= "Construct an Icosphere mesh.";
ot->idname= "MESH_OT_primitive_ico_sphere_add";
/* api callbacks */
@@ -1690,6 +1704,7 @@ void MESH_OT_duplicate(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Duplicate";
ot->description= "Duplicate selected vertices, edges or faces.";
ot->idname= "MESH_OT_duplicate";
/* api callbacks */

View File

@@ -717,6 +717,7 @@ void MESH_OT_knife_cut(wmOperatorType *ot)
PropertyRNA *prop;
ot->name= "Knife Cut";
ot->description= "Cut selected edges and faces into parts.";
ot->idname= "MESH_OT_knife_cut";
ot->invoke= WM_gesture_lines_invoke;

View File

@@ -1272,6 +1272,7 @@ void MESH_OT_select_similar(wmOperatorType *ot)
/* identifiers */
ot->name= "Select Similar";
ot->description= "Select similar vertices, edges or faces by property types.";
ot->idname= "MESH_OT_select_similar";
/* api callbacks */
@@ -2000,6 +2001,7 @@ void MESH_OT_loop_multi_select(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Multi Select Loops";
ot->description= "Select a loop of connected edges by connection type.";
ot->idname= "MESH_OT_loop_multi_select";
/* api callbacks */
@@ -2078,6 +2080,7 @@ void MESH_OT_loop_select(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Loop Select";
ot->description= "Select a loop of connected edges.";
ot->idname= "MESH_OT_loop_select";
/* api callbacks */
@@ -2177,6 +2180,7 @@ void MESH_OT_select_shortest_path(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Shortest Path Select";
ot->description= "Select shortest path between two selections.";
ot->idname= "MESH_OT_select_shortest_path";
/* api callbacks */
@@ -2468,6 +2472,7 @@ void MESH_OT_select_linked_pick(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Linked";
ot->description= "(un)select all vertices linked to the active mesh.";
ot->idname= "MESH_OT_select_linked_pick";
/* api callbacks */
@@ -2550,6 +2555,7 @@ void MESH_OT_select_linked(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Linked All";
ot->description= "Select all vertices linked to the active mesh.";
ot->idname= "MESH_OT_select_linked";
/* api callbacks */
@@ -2685,6 +2691,7 @@ void MESH_OT_hide(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Hide Selection";
ot->description= "Hide (un)selected vertices, edges or faces.";
ot->idname= "MESH_OT_hide";
/* api callbacks */
@@ -2751,6 +2758,7 @@ void MESH_OT_reveal(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Reveal Hidden";
ot->description= "Reveal all hidden vertices, edges and faces.";
ot->idname= "MESH_OT_reveal";
/* api callbacks */
@@ -2805,6 +2813,7 @@ void MESH_OT_select_by_number_vertices(wmOperatorType *ot)
/* identifiers */
ot->name= "Select by Number of Vertices";
ot->description= "Select vertices or faces by vertex count.";
ot->idname= "MESH_OT_select_by_number_vertices";
/* api callbacks */
@@ -2925,6 +2934,7 @@ void MESH_OT_edges_select_sharp(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Sharp Edges";
ot->description= "Marked selected edges as sharp.";
ot->idname= "MESH_OT_edges_select_sharp";
/* api callbacks */
@@ -3092,6 +3102,7 @@ void MESH_OT_faces_select_linked_flat(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Linked Flat Faces";
ot->description= "Select linked faces by angle.";
ot->idname= "MESH_OT_faces_select_linked_flat";
/* api callbacks */
@@ -3192,6 +3203,7 @@ void MESH_OT_select_non_manifold(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Non Manifold";
ot->description= "Select all non-manifold vertices or edges.";
ot->idname= "MESH_OT_select_non_manifold";
/* api callbacks */
@@ -3255,6 +3267,7 @@ void MESH_OT_select_inverse(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Inverse";
ot->description= "Select inverse of (un)selected vertices, edges or faces.";
ot->idname= "MESH_OT_select_inverse";
/* api callbacks */
@@ -3292,6 +3305,7 @@ void MESH_OT_select_all_toggle(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select/Deselect All";
ot->description= "(de)select all vertices, edges or faces.";
ot->idname= "MESH_OT_select_all_toggle";
/* api callbacks */
@@ -3362,6 +3376,7 @@ void MESH_OT_select_more(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select More";
ot->description= "Select more vertices, edges or faces connected to initial selection.";
ot->idname= "MESH_OT_select_more";
/* api callbacks */
@@ -3451,6 +3466,7 @@ void MESH_OT_select_less(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Less";
ot->description= "Select less vertices, edges or faces connected to initial selection.";
ot->idname= "MESH_OT_select_less";
/* api callbacks */
@@ -3520,6 +3536,7 @@ void MESH_OT_select_random(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Select Random";
ot->description= "Randomly select vertices.";
ot->idname= "MESH_OT_select_random";
/* api callbacks */
@@ -3611,6 +3628,7 @@ void MESH_OT_selection_type(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Selection Mode";
ot->description= "Set the selection mode type.";
ot->idname= "MESH_OT_selection_type";
/* api callbacks */
@@ -3673,6 +3691,7 @@ void MESH_OT_mark_seam(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Mark Seam";
ot->description= "(un)mark selected edges as a seam.";
ot->idname= "MESH_OT_mark_seam";
/* api callbacks */
@@ -3725,6 +3744,7 @@ void MESH_OT_mark_sharp(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Mark Sharp";
ot->description= "(un)mark selected edges as sharp.";
ot->idname= "MESH_OT_mark_sharp";
/* api callbacks */
@@ -3974,6 +3994,7 @@ void MESH_OT_normals_make_consistent(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Make Normals Consistent";
ot->description= "Flip all selected vertex and face normals in a consistent direction.";
ot->idname= "MESH_OT_normals_make_consistent";
/* api callbacks */
@@ -4318,6 +4339,7 @@ void MESH_OT_vertices_smooth(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Smooth Vertex";
ot->description= "Flatten angles of selected vertices.";
ot->idname= "MESH_OT_vertices_smooth";
/* api callbacks */
@@ -4453,6 +4475,7 @@ void MESH_OT_vertices_transform_to_sphere(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Vertices to Sphere";
ot->description= "Move selected vertices outward in a spherical shape.";
ot->idname= "MESH_OT_vertices_transform_to_sphere";
/* api callbacks */
@@ -4516,6 +4539,7 @@ void MESH_OT_flip_normals(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Flip Normals";
ot->description= "Toggle the direction of selected face's vertex and face normals.";
ot->idname= "MESH_OT_flip_normals";
/* api callbacks */

View File

@@ -507,6 +507,7 @@ void MESH_OT_remove_doubles(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Remove Doubles";
ot->description= "Remove duplicate vertices.";
ot->idname= "MESH_OT_remove_doubles";
/* api callbacks */
@@ -747,6 +748,7 @@ void MESH_OT_extrude(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Extrude";
ot->description= "Extrude selected vertices, edges or faces.";
ot->idname= "MESH_OT_extrude";
/* api callbacks */
@@ -785,6 +787,7 @@ void MESH_OT_split(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Split";
ot->description= "Split selected geometry into separate disconnected mesh.";
ot->idname= "MESH_OT_split";
/* api callbacks */
@@ -845,6 +848,7 @@ void MESH_OT_extrude_repeat(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Extrude Repeat Mesh";
ot->description= "Extrude selected vertices, edges or faces repeatedly.";
ot->idname= "MESH_OT_extrude_repeat";
/* api callbacks */
@@ -979,6 +983,7 @@ void MESH_OT_spin(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Spin";
ot->description= "Extrude selected vertices in a circle around the cursor in indicated viewport.";
ot->idname= "MESH_OT_spin";
/* api callbacks */
@@ -1087,6 +1092,7 @@ void MESH_OT_screw(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Screw";
ot->description= "Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport.";
ot->idname= "MESH_OT_screw";
/* api callbacks */
@@ -1319,6 +1325,7 @@ void MESH_OT_delete(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Delete";
ot->description= "Delete selected vertices, edges or faces.";
ot->idname= "MESH_OT_delete";
/* api callbacks */
@@ -3763,6 +3770,7 @@ void MESH_OT_edge_rotate(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Rotate Selected Edge";
ot->description= "Rotate selected edge or adjoining faces.";
ot->idname= "MESH_OT_edge_rotate";
/* api callbacks */
@@ -4997,6 +5005,7 @@ void MESH_OT_rip(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Rip";
ot->description= "Rip selection from mesh (quads only).";
ot->idname= "MESH_OT_rip";
/* api callbacks */
@@ -5843,6 +5852,7 @@ void MESH_OT_merge(wmOperatorType *ot)
/* identifiers */
ot->name= "Merge";
ot->description= "Merge selected vertices.";
ot->idname= "MESH_OT_merge";
/* api callbacks */
@@ -6045,6 +6055,7 @@ void MESH_OT_select_vertex_path(wmOperatorType *ot)
/* identifiers */
ot->name= "Select Vertex Path";
ot->description= "Select shortest path between two vertices by distance type.";
ot->idname= "MESH_OT_select_vertex_path";
/* api callbacks */
@@ -6106,6 +6117,7 @@ void MESH_OT_region_to_loop(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Region to Loop";
ot->description= "Select a region as a loop of connected edges.";
ot->idname= "MESH_OT_region_to_loop";
/* api callbacks */
@@ -6281,6 +6293,7 @@ void MESH_OT_loop_to_region(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Loop to Region";
ot->description= "Select a loop of connected edges as a region.";
ot->idname= "MESH_OT_loop_to_region";
/* api callbacks */
@@ -6579,6 +6592,7 @@ void MESH_OT_uvs_rotate(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Rotate UVs";
ot->description= "Rotate selected UVs.";
ot->idname= "MESH_OT_uvs_rotate";
/* api callbacks */
@@ -6596,6 +6610,7 @@ void MESH_OT_uvs_mirror(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Mirror UVs";
ot->description= "Mirror selected UVs.";
ot->idname= "MESH_OT_uvs_mirror";
/* api callbacks */
@@ -6613,6 +6628,7 @@ void MESH_OT_colors_rotate(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Rotate Colors";
ot->description= "Rotate UV/image color layer.";
ot->idname= "MESH_OT_colors_rotate";
/* api callbacks */
@@ -6630,6 +6646,7 @@ void MESH_OT_colors_mirror(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Mirror Colors";
ot->description= "Mirror UV/image color layer.";
ot->idname= "MESH_OT_colors_mirror";
/* api callbacks */
@@ -6672,6 +6689,7 @@ void MESH_OT_subdivide(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Subdivide";
ot->description= "Subdivide selected edges.";
ot->idname= "MESH_OT_subdivide";
/* api callbacks */
@@ -6954,6 +6972,7 @@ void MESH_OT_fill(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Fill";
ot->description= "Create a segment, edge or face.";
ot->idname= "MESH_OT_fill";
/* api callbacks */
@@ -6984,6 +7003,7 @@ void MESH_OT_beauty_fill(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Beauty Fill";
ot->description= "Arrange geometry on a selected surface to avoid skinny faces.";
ot->idname= "MESH_OT_beauty_fill";
/* api callbacks */
@@ -7015,6 +7035,7 @@ void MESH_OT_quads_convert_to_tris(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Quads to Tris";
ot->description= "Convert selected quads to triangles.";
ot->idname= "MESH_OT_quads_convert_to_tris";
/* api callbacks */
@@ -7044,6 +7065,7 @@ void MESH_OT_tris_convert_to_quads(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Tris to Quads";
ot->description= "Convert selected triangles to quads.";
ot->idname= "MESH_OT_tris_convert_to_quads";
/* api callbacks */
@@ -7073,6 +7095,7 @@ void MESH_OT_edge_flip(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Edge Flip";
ot->description= "Flip selected edge or adjoining faces.";
ot->idname= "MESH_OT_edge_flip";
/* api callbacks */
@@ -7119,6 +7142,7 @@ void MESH_OT_faces_shade_smooth(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Shade Smooth";
ot->description= "Display faces 'smooth' (using vertex normals).";
ot->idname= "MESH_OT_faces_shade_smooth";
/* api callbacks */
@@ -7147,6 +7171,7 @@ void MESH_OT_faces_shade_flat(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Shade Flat";
ot->description= "Display faces 'flat'.";
ot->idname= "MESH_OT_faces_shade_flat";
/* api callbacks */

View File

@@ -199,6 +199,7 @@ void MESH_OT_uv_texture_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add UV Texture";
ot->description= "Add UV texture layer.";
ot->idname= "MESH_OT_uv_texture_add";
/* api callbacks */
@@ -238,6 +239,7 @@ void MESH_OT_uv_texture_remove(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Remove UV Texture";
ot->description= "Remove UV texture layer.";
ot->idname= "MESH_OT_uv_texture_remove";
/* api callbacks */
@@ -302,6 +304,7 @@ void MESH_OT_vertex_color_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Vertex Color";
ot->description= "Add vertex color layer.";
ot->idname= "MESH_OT_vertex_color_add";
/* api callbacks */
@@ -341,6 +344,7 @@ void MESH_OT_vertex_color_remove(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Remove Vertex Color";
ot->description= "Remove vertex color layer.";
ot->idname= "MESH_OT_vertex_color_remove";
/* api callbacks */
@@ -378,6 +382,7 @@ void MESH_OT_sticky_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Sticky";
ot->description= "Add sticky UV texture layer.";
ot->idname= "MESH_OT_sticky_add";
/* api callbacks */
@@ -414,6 +419,7 @@ void MESH_OT_sticky_remove(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Remove Sticky";
ot->description= "Remove sticky UV texture layer.";
ot->idname= "MESH_OT_sticky_remove";
/* api callbacks */

View File

@@ -90,6 +90,7 @@ static void MESH_OT_vertex_specials(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Vertex Specials";
//ot->description= "Perform special vertex operations.";
ot->idname= "MESH_OT_vertex_specials";
/* api callbacks */
@@ -128,6 +129,7 @@ static void MESH_OT_edge_specials(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Edge Specials";
//ot->description= "Perform special edge operations.";
ot->idname= "MESH_OT_edge_specials";
/* api callbacks */
@@ -178,6 +180,7 @@ static void MESH_OT_face_specials(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Face Specials";
//ot->description= "Perform special face operations.";
ot->idname= "MESH_OT_face_specials";
/* api callbacks */
@@ -219,6 +222,7 @@ static void MESH_OT_specials(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Specials";
//ot->description= "Perform special vertice, edge or face operations.";
ot->idname= "MESH_OT_specials";
/* api callbacks */