Skip to content

Instantly share code, notes, and snippets.

@xixixao
Last active November 6, 2022 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xixixao/1c83153adbcefbe0859f9cc9ba757d46 to your computer and use it in GitHub Desktop.
Save xixixao/1c83153adbcefbe0859f9cc9ba757d46 to your computer and use it in GitHub Desktop.
Changes caused by D16400
diff --git a/doc/python_api/rst/bmesh.ops.rst b/doc/python_api/rst/bmesh.ops.rst
index cfd99c1..e44eab5 100644
--- a/doc/python_api/rst/bmesh.ops.rst
+++ b/doc/python_api/rst/bmesh.ops.rst
@@ -15,7 +15,7 @@ Operator Example
This script shows how operators can be used to model a link of a chain.
.. literalinclude:: __/examples/bmesh.ops.1.py
-.. function:: smooth_vert(bm, verts, factor, mirror_clip_x, mirror_clip_y, mirror_clip_z, clip_dist, use_axis_x, use_axis_y, use_axis_z)
+.. function:: smooth_vert(bm, verts=[], factor=0, mirror_clip_x=False, mirror_clip_y=False, mirror_clip_z=False, clip_dist=0, use_axis_x=False, use_axis_y=False, use_axis_z=False)
Vertex Smooth.
@@ -43,7 +43,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_axis_z: bool
-.. function:: smooth_laplacian_vert(bm, verts, lambda_factor, lambda_border, use_x, use_y, use_z, preserve_volume)
+.. function:: smooth_laplacian_vert(bm, verts=[], lambda_factor=0, lambda_border=0, use_x=False, use_y=False, use_z=False, preserve_volume=False)
Vertex Smooth Laplacian.
@@ -68,7 +68,7 @@ This script shows how operators can be used to model a link of a chain.
:type preserve_volume: bool
-.. function:: recalc_face_normals(bm, faces)
+.. function:: recalc_face_normals(bm, faces=[])
Right-Hand Faces.
@@ -80,7 +80,7 @@ This script shows how operators can be used to model a link of a chain.
:type faces: list of (:class:`bmesh.types.BMFace`)
-.. function:: planar_faces(bm, faces, iterations, factor)
+.. function:: planar_faces(bm, faces=[], iterations=0, factor=0)
Planar Faces.
@@ -103,7 +103,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: region_extend(bm, geom, use_contract, use_faces, use_face_step)
+.. function:: region_extend(bm, geom=[], use_contract=False, use_faces=False, use_face_step=False)
Region Extend.
@@ -133,7 +133,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: rotate_edges(bm, edges, use_ccw)
+.. function:: rotate_edges(bm, edges=[], use_ccw=False)
Edge Rotate.
@@ -155,7 +155,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: reverse_faces(bm, faces, flip_multires)
+.. function:: reverse_faces(bm, faces=[], flip_multires=False)
Reverse Faces.
@@ -170,7 +170,7 @@ This script shows how operators can be used to model a link of a chain.
:type flip_multires: bool
-.. function:: bisect_edges(bm, edges, cuts, edge_percents)
+.. function:: bisect_edges(bm, edges=[], cuts=0, edge_percents={})
Edge Bisect.
@@ -194,7 +194,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: mirror(bm, geom, matrix, merge_dist, axis, mirror_u, mirror_v, mirror_udim, use_shapekey)
+.. function:: mirror(bm, geom=[], matrix=mathutils.Matrix.Identity(4), merge_dist=0, axis='X', mirror_u=False, mirror_v=False, mirror_udim=False, use_shapekey=False)
Mirror.
@@ -229,7 +229,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: find_doubles(bm, verts, keep_verts, dist)
+.. function:: find_doubles(bm, verts=[], keep_verts=[], dist=0)
Find Doubles.
@@ -256,7 +256,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: remove_doubles(bm, verts, dist)
+.. function:: remove_doubles(bm, verts=[], dist=0)
Remove Doubles.
@@ -271,7 +271,7 @@ This script shows how operators can be used to model a link of a chain.
:type dist: float
-.. function:: collapse(bm, edges, uvs)
+.. function:: collapse(bm, edges=[], uvs=False)
Collapse Connected.
@@ -285,7 +285,7 @@ This script shows how operators can be used to model a link of a chain.
:type uvs: bool
-.. function:: pointmerge_facedata(bm, verts, vert_snap)
+.. function:: pointmerge_facedata(bm, verts=[], vert_snap)
Face-Data Point Merge.
@@ -299,7 +299,7 @@ This script shows how operators can be used to model a link of a chain.
:type vert_snap: :class:`bmesh.types.BMVert`
-.. function:: average_vert_facedata(bm, verts)
+.. function:: average_vert_facedata(bm, verts=[])
Average Vertices Facevert Data.
@@ -313,7 +313,7 @@ This script shows how operators can be used to model a link of a chain.
:type verts: list of (:class:`bmesh.types.BMVert`)
-.. function:: pointmerge(bm, verts, merge_co)
+.. function:: pointmerge(bm, verts=[], merge_co=mathutils.Vector())
Point Merge.
@@ -327,7 +327,7 @@ This script shows how operators can be used to model a link of a chain.
:type merge_co: :class:`mathutils.Vector` or any sequence of 3 floats
-.. function:: collapse_uvs(bm, edges)
+.. function:: collapse_uvs(bm, edges=[])
Collapse Connected UV's.
@@ -339,7 +339,7 @@ This script shows how operators can be used to model a link of a chain.
:type edges: list of (:class:`bmesh.types.BMEdge`)
-.. function:: weld_verts(bm, targetmap)
+.. function:: weld_verts(bm, targetmap={})
Weld Verts.
@@ -353,7 +353,7 @@ This script shows how operators can be used to model a link of a chain.
:type targetmap: dict mapping vert/edge/face types to :class:`bmesh.types.BMVert`/:class:`bmesh.types.BMEdge`/:class:`bmesh.types.BMFace`
-.. function:: create_vert(bm, co)
+.. function:: create_vert(bm, co=mathutils.Vector())
Make Vertex.
@@ -373,7 +373,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: join_triangles(bm, faces, cmp_seam, cmp_sharp, cmp_uvs, cmp_vcols, cmp_materials, angle_face_threshold, angle_shape_threshold)
+.. function:: join_triangles(bm, faces=[], cmp_seam=False, cmp_sharp=False, cmp_uvs=False, cmp_vcols=False, cmp_materials=False, angle_face_threshold=0, angle_shape_threshold=0)
Join Triangles.
@@ -407,7 +407,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: contextual_create(bm, geom, mat_nr, use_smooth)
+.. function:: contextual_create(bm, geom=[], mat_nr=0, use_smooth=False)
Contextual Create.
@@ -438,7 +438,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: bridge_loops(bm, edges, use_pairs, use_cyclic, use_merge, merge_factor, twist_offset)
+.. function:: bridge_loops(bm, edges=[], use_pairs=False, use_cyclic=False, use_merge=False, merge_factor=0, twist_offset=0)
Bridge edge loops with faces.
@@ -468,7 +468,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: grid_fill(bm, edges, mat_nr, use_smooth, use_interp_simple)
+.. function:: grid_fill(bm, edges=[], mat_nr=0, use_smooth=False, use_interp_simple=False)
Grid Fill.
@@ -493,7 +493,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: holes_fill(bm, edges, sides)
+.. function:: holes_fill(bm, edges=[], sides=0)
Fill Holes.
@@ -514,7 +514,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: face_attribute_fill(bm, faces, use_normals, use_data)
+.. function:: face_attribute_fill(bm, faces=[], use_normals=False, use_data=False)
Face Attribute Fill.
@@ -537,7 +537,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: edgeloop_fill(bm, edges, mat_nr, use_smooth)
+.. function:: edgeloop_fill(bm, edges=[], mat_nr=0, use_smooth=False)
Edge Loop Fill.
@@ -560,7 +560,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: edgenet_fill(bm, edges, mat_nr, use_smooth, sides)
+.. function:: edgenet_fill(bm, edges=[], mat_nr=0, use_smooth=False, sides=0)
Edge Net Fill.
@@ -585,7 +585,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: edgenet_prepare(bm, edges)
+.. function:: edgenet_prepare(bm, edges=[])
Edge-net Prepare.
@@ -609,7 +609,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: rotate(bm, cent, matrix, verts, space, use_shapekey)
+.. function:: rotate(bm, cent=mathutils.Vector(), matrix=mathutils.Matrix.Identity(4), verts=[], space=mathutils.Matrix.Identity(4), use_shapekey=False)
Rotate.
@@ -629,7 +629,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_shapekey: bool
-.. function:: translate(bm, vec, space, verts, use_shapekey)
+.. function:: translate(bm, vec=mathutils.Vector(), space=mathutils.Matrix.Identity(4), verts=[], use_shapekey=False)
Translate.
@@ -647,7 +647,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_shapekey: bool
-.. function:: scale(bm, vec, space, verts, use_shapekey)
+.. function:: scale(bm, vec=mathutils.Vector(), space=mathutils.Matrix.Identity(4), verts=[], use_shapekey=False)
Scale.
@@ -665,7 +665,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_shapekey: bool
-.. function:: transform(bm, matrix, space, verts, use_shapekey)
+.. function:: transform(bm, matrix=mathutils.Matrix.Identity(4), space=mathutils.Matrix.Identity(4), verts=[], use_shapekey=False)
Transform.
@@ -713,7 +713,7 @@ This script shows how operators can be used to model a link of a chain.
:type object: :class:`bpy.types.Object`
-.. function:: mesh_to_bmesh(bm, mesh, object, use_shapekey)
+.. function:: mesh_to_bmesh(bm, mesh, object, use_shapekey=False)
Mesh to BMesh.
@@ -730,7 +730,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_shapekey: bool
-.. function:: extrude_discrete_faces(bm, faces, use_normal_flip, use_select_history)
+.. function:: extrude_discrete_faces(bm, faces=[], use_normal_flip=False, use_select_history=False)
Individual Face Extrude.
@@ -753,7 +753,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: extrude_edge_only(bm, edges, use_normal_flip, use_select_history)
+.. function:: extrude_edge_only(bm, edges=[], use_normal_flip=False, use_select_history=False)
Extrude Only Edges.
@@ -777,7 +777,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: extrude_vert_indiv(bm, verts, use_select_history)
+.. function:: extrude_vert_indiv(bm, verts=[], use_select_history=False)
Individual Vertex Extrude.
@@ -801,7 +801,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: connect_verts(bm, verts, faces_exclude, check_degenerate)
+.. function:: connect_verts(bm, verts=[], faces_exclude=[], check_degenerate=False)
Connect Verts.
@@ -824,7 +824,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: connect_verts_concave(bm, faces)
+.. function:: connect_verts_concave(bm, faces=[])
Connect Verts to form Convex Faces.
@@ -846,7 +846,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: connect_verts_nonplanar(bm, angle_limit, faces)
+.. function:: connect_verts_nonplanar(bm, angle_limit=0, faces=[])
Connect Verts Across non Planer Faces.
@@ -870,7 +870,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: connect_vert_pair(bm, verts, verts_exclude, faces_exclude)
+.. function:: connect_vert_pair(bm, verts=[], verts_exclude=[], faces_exclude=[])
Connect Verts.
@@ -893,7 +893,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: extrude_face_region(bm, geom, edges_exclude, use_keep_orig, use_normal_flip, use_normal_from_adjacent, use_dissolve_ortho_edges, use_select_history)
+.. function:: extrude_face_region(bm, geom=[], edges_exclude=set(), use_keep_orig=False, use_normal_flip=False, use_normal_from_adjacent=False, use_dissolve_ortho_edges=False, use_select_history=False)
Extrude Faces.
@@ -924,7 +924,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: dissolve_verts(bm, verts, use_face_split, use_boundary_tear)
+.. function:: dissolve_verts(bm, verts=[], use_face_split=False, use_boundary_tear=False)
Dissolve Verts.
@@ -938,7 +938,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_boundary_tear: bool
-.. function:: dissolve_edges(bm, edges, use_verts, use_face_split)
+.. function:: dissolve_edges(bm, edges=[], use_verts=False, use_face_split=False)
Dissolve Edges.
@@ -959,7 +959,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: dissolve_faces(bm, faces, use_verts)
+.. function:: dissolve_faces(bm, faces=[], use_verts=False)
Dissolve Faces.
@@ -978,7 +978,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: dissolve_limit(bm, angle_limit, use_dissolve_boundaries, verts, edges, delimit)
+.. function:: dissolve_limit(bm, angle_limit=0, use_dissolve_boundaries=False, verts=[], edges=[], delimit=set())
Limited Dissolve.
@@ -995,7 +995,7 @@ This script shows how operators can be used to model a link of a chain.
:arg edges: input edges
:type edges: list of (:class:`bmesh.types.BMEdge`)
:arg delimit: delimit dissolve operation
- :type delimit: set of flags from ['NORMAL', 'MATERIAL', 'SEAM', 'SHARP', 'UV'], default {}
+ :type delimit: set of flags from ['NORMAL', 'MATERIAL', 'SEAM', 'SHARP', 'UV'], default set()
:return:
- ``region``:
@@ -1005,7 +1005,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: dissolve_degenerate(bm, dist, edges)
+.. function:: dissolve_degenerate(bm, dist=0, edges=[])
Degenerate Dissolve.
@@ -1019,7 +1019,7 @@ This script shows how operators can be used to model a link of a chain.
:type edges: list of (:class:`bmesh.types.BMEdge`)
-.. function:: triangulate(bm, faces, quad_method, ngon_method)
+.. function:: triangulate(bm, faces=[], quad_method='BEAUTY', ngon_method='BEAUTY')
Triangulate.
@@ -1049,7 +1049,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: unsubdivide(bm, verts, iterations)
+.. function:: unsubdivide(bm, verts=[], iterations=0)
Un-Subdivide.
@@ -1063,7 +1063,7 @@ This script shows how operators can be used to model a link of a chain.
:type iterations: int
-.. function:: subdivide_edges(bm, edges, smooth, smooth_falloff, fractal, along_normal, cuts, seed, custom_patterns, edge_percents, quad_corner_type, use_grid_fill, use_single_edge, use_only_quads, use_sphere, use_smooth_even)
+.. function:: subdivide_edges(bm, edges=[], smooth=0, smooth_falloff='SMOOTH', fractal=0, along_normal=0, cuts=0, seed=0, custom_patterns={}, edge_percents={}, quad_corner_type='STRAIGHT_CUT', use_grid_fill=False, use_single_edge=False, use_only_quads=False, use_sphere=False, use_smooth_even=False)
Subdivide Edges.
@@ -1117,7 +1117,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: subdivide_edgering(bm, edges, interp_mode, smooth, cuts, profile_shape, profile_shape_factor)
+.. function:: subdivide_edgering(bm, edges=[], interp_mode='LINEAR', smooth=0, cuts=0, profile_shape='SMOOTH', profile_shape_factor=0)
Subdivide Edge-Ring.
@@ -1146,7 +1146,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: bisect_plane(bm, geom, dist, plane_co, plane_no, use_snap_center, clear_outer, clear_inner)
+.. function:: bisect_plane(bm, geom=[], dist=0, plane_co=mathutils.Vector(), plane_no=mathutils.Vector(), use_snap_center=False, clear_outer=False, clear_inner=False)
Bisect Plane.
@@ -1180,7 +1180,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: delete(bm, geom, context)
+.. function:: delete(bm, geom=[], context='VERTS')
Delete Geometry.
@@ -1194,7 +1194,7 @@ This script shows how operators can be used to model a link of a chain.
:type context: enum in ['VERTS', 'EDGES', 'FACES_ONLY', 'EDGES_FACES', 'FACES', 'FACES_KEEP_BOUNDARY', 'TAGGED_ONLY'], default 'VERTS'
-.. function:: duplicate(bm, geom, dest, use_select_history, use_edge_flip_from_face)
+.. function:: duplicate(bm, geom=[], dest=None, use_select_history=False, use_edge_flip_from_face=False)
Duplicate Geometry.
@@ -1205,7 +1205,7 @@ This script shows how operators can be used to model a link of a chain.
:type bm: :class:`bmesh.types.BMesh`
:arg geom: input geometry
:type geom: list of (:class:`bmesh.types.BMVert`, :class:`bmesh.types.BMEdge`, :class:`bmesh.types.BMFace`)
- :arg dest: destination bmesh, if NULL will use current on
+ :arg dest: destination bmesh, if None will use current on
:type dest: :class:`bmesh.types.BMesh`
:arg use_select_history: Undocumented.
:type use_select_history: bool
@@ -1238,7 +1238,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: split(bm, geom, dest, use_only_faces)
+.. function:: split(bm, geom=[], dest=None, use_only_faces=False)
Split Off Geometry.
@@ -1249,7 +1249,7 @@ This script shows how operators can be used to model a link of a chain.
:type bm: :class:`bmesh.types.BMesh`
:arg geom: input geometry
:type geom: list of (:class:`bmesh.types.BMVert`, :class:`bmesh.types.BMEdge`, :class:`bmesh.types.BMFace`)
- :arg dest: destination bmesh, if NULL will use current one
+ :arg dest: destination bmesh, if None will use current one
:type dest: :class:`bmesh.types.BMesh`
:arg use_only_faces: when enabled. don't duplicate loose verts/edges
:type use_only_faces: bool
@@ -1268,7 +1268,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: spin(bm, geom, cent, axis, dvec, angle, space, steps, use_merge, use_normal_flip, use_duplicate)
+.. function:: spin(bm, geom=[], cent=mathutils.Vector(), axis=mathutils.Vector(), dvec=mathutils.Vector(), angle=0, space=mathutils.Matrix.Identity(4), steps=0, use_merge=False, use_normal_flip=False, use_duplicate=False)
Spin.
@@ -1306,7 +1306,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: rotate_uvs(bm, faces, use_ccw)
+.. function:: rotate_uvs(bm, faces=[], use_ccw=False)
UV Rotation.
@@ -1320,7 +1320,7 @@ This script shows how operators can be used to model a link of a chain.
:type use_ccw: bool
-.. function:: reverse_uvs(bm, faces)
+.. function:: reverse_uvs(bm, faces=[])
UV Reverse.
@@ -1332,7 +1332,7 @@ This script shows how operators can be used to model a link of a chain.
:type faces: list of (:class:`bmesh.types.BMFace`)
-.. function:: rotate_colors(bm, faces, use_ccw, color_index)
+.. function:: rotate_colors(bm, faces=[], use_ccw=False, color_index=0)
Color Rotation.
@@ -1348,7 +1348,7 @@ This script shows how operators can be used to model a link of a chain.
:type color_index: int
-.. function:: reverse_colors(bm, faces, color_index)
+.. function:: reverse_colors(bm, faces=[], color_index=0)
Color Reverse
@@ -1362,7 +1362,7 @@ This script shows how operators can be used to model a link of a chain.
:type color_index: int
-.. function:: split_edges(bm, edges, verts, use_verts)
+.. function:: split_edges(bm, edges=[], verts=[], use_verts=False)
Edge Split.
@@ -1385,7 +1385,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_grid(bm, x_segments, y_segments, size, matrix, calc_uvs)
+.. function:: create_grid(bm, x_segments=0, y_segments=0, size=0, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Create Grid.
@@ -1412,7 +1412,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_uvsphere(bm, u_segments, v_segments, radius, matrix, calc_uvs)
+.. function:: create_uvsphere(bm, u_segments=0, v_segments=0, radius=0, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Create UV Sphere.
@@ -1439,7 +1439,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_icosphere(bm, subdivisions, radius, matrix, calc_uvs)
+.. function:: create_icosphere(bm, subdivisions=0, radius=0, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Create Ico-Sphere.
@@ -1464,7 +1464,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_monkey(bm, matrix, calc_uvs)
+.. function:: create_monkey(bm, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Create Suzanne.
@@ -1485,7 +1485,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_cone(bm, cap_ends, cap_tris, segments, radius1, radius2, depth, matrix, calc_uvs)
+.. function:: create_cone(bm, cap_ends=False, cap_tris=False, segments=0, radius1=0, radius2=0, depth=0, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Create Cone.
@@ -1518,7 +1518,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_circle(bm, cap_ends, cap_tris, segments, radius, matrix, calc_uvs)
+.. function:: create_circle(bm, cap_ends=False, cap_tris=False, segments=0, radius=0, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Creates a Circle.
@@ -1545,7 +1545,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: create_cube(bm, size, matrix, calc_uvs)
+.. function:: create_cube(bm, size=0, matrix=mathutils.Matrix.Identity(4), calc_uvs=False)
Create Cube
@@ -1568,7 +1568,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: bevel(bm, geom, offset, offset_type, profile_type, segments, profile, affect, clamp_overlap, material, loop_slide, mark_seam, mark_sharp, harden_normals, face_strength_mode, miter_outer, miter_inner, spread, smoothresh, custom_profile, vmesh_method)
+.. function:: bevel(bm, geom=[], offset=0, offset_type='OFFSET', profile_type='SUPERELLIPSE', segments=0, profile=0, affect='VERTICES', clamp_overlap=False, material=0, loop_slide=False, mark_seam=False, mark_sharp=False, harden_normals=False, face_strength_mode='NONE', miter_outer='SHARP', miter_inner='SHARP', spread=0, smoothresh=0, custom_profile=None, vmesh_method='ADJ')
Bevel.
@@ -1612,7 +1612,7 @@ This script shows how operators can be used to model a link of a chain.
:type spread: float
:arg smoothresh: for passing mesh's smoothresh, used in hardening
:type smoothresh: float
- :arg custom_profile: CurveProfile
+ :arg custom_profile: CurveProfile, if None ignored
:type custom_profile: :class:`bpy.types.bpy_struct`
:arg vmesh_method: The method to use to create meshes at intersections.
:type vmesh_method: enum in ['ADJ', 'CUTOFF'], default 'ADJ'
@@ -1631,7 +1631,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: beautify_fill(bm, faces, edges, use_restrict_tag, method)
+.. function:: beautify_fill(bm, faces=[], edges=[], use_restrict_tag=False, method='AREA')
Beautify Fill.
@@ -1656,7 +1656,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: triangle_fill(bm, use_beauty, use_dissolve, edges, normal)
+.. function:: triangle_fill(bm, use_beauty=False, use_dissolve=False, edges=[], normal=mathutils.Vector())
Triangle Fill.
@@ -1681,7 +1681,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: solidify(bm, geom, thickness)
+.. function:: solidify(bm, geom=[], thickness=0)
Solidify.
@@ -1702,7 +1702,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: inset_individual(bm, faces, thickness, depth, use_even_offset, use_interpolate, use_relative_offset)
+.. function:: inset_individual(bm, faces=[], thickness=0, depth=0, use_even_offset=False, use_interpolate=False, use_relative_offset=False)
Face Inset (Individual).
@@ -1731,7 +1731,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: inset_region(bm, faces, faces_exclude, use_boundary, use_even_offset, use_interpolate, use_relative_offset, use_edge_rail, thickness, depth, use_outset)
+.. function:: inset_region(bm, faces=[], faces_exclude=[], use_boundary=False, use_even_offset=False, use_interpolate=False, use_relative_offset=False, use_edge_rail=False, thickness=0, depth=0, use_outset=False)
Face Inset (Regions).
@@ -1768,7 +1768,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: offset_edgeloops(bm, edges, use_cap_endpoint)
+.. function:: offset_edgeloops(bm, edges=[], use_cap_endpoint=False)
Edge-loop Offset.
@@ -1789,7 +1789,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: wireframe(bm, faces, thickness, offset, use_replace, use_boundary, use_even_offset, use_crease, crease_weight, use_relative_offset, material_offset)
+.. function:: wireframe(bm, faces=[], thickness=0, offset=0, use_replace=False, use_boundary=False, use_even_offset=False, use_crease=False, crease_weight=0, use_relative_offset=False, material_offset=0)
Wire Frame.
@@ -1826,7 +1826,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: poke(bm, faces, offset, center_mode, use_relative_offset)
+.. function:: poke(bm, faces=[], offset=0, center_mode='MEAN_WEIGHTED', use_relative_offset=False)
Pokes a face.
@@ -1854,7 +1854,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: convex_hull(bm, input, use_existing_faces)
+.. function:: convex_hull(bm, input=[], use_existing_faces=False)
Convex Hull
@@ -1894,7 +1894,7 @@ This script shows how operators can be used to model a link of a chain.
:rtype: dict with string keys
-.. function:: symmetrize(bm, input, direction, dist, use_shapekey)
+.. function:: symmetrize(bm, input=[], direction='-X', dist=0, use_shapekey=False)
Symmetrize.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment