BevelModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.BevelModifier(Modifier)

Bevel modifier to make edges and vertices more rounded

affect

Affect edges or vertices (default 'EDGES')

  • VERTICES Vertices – Affect only vertices.

  • EDGES Edges – Affect only edges.

Type:

Literal[‘VERTICES’, ‘EDGES’]

angle_limit

Angle above which to bevel edges (in [0, 3.14159], default 0.523599)

Type:

float

custom_profile

The path for the custom profile (readonly)

Type:

CurveProfile

edge_weight

Attribute name for edge weight (default “”, never None)

Type:

str

face_strength_mode

Whether to set face strength, and which faces to set it on (default 'FSTR_NONE')

  • FSTR_NONE None – Do not set face strength.

  • FSTR_NEW New – Set face strength on new faces only.

  • FSTR_AFFECTED Affected – Set face strength on new and affected faces only.

  • FSTR_ALL All – Set face strength on all faces.

Type:

Literal[‘FSTR_NONE’, ‘FSTR_NEW’, ‘FSTR_AFFECTED’, ‘FSTR_ALL’]

harden_normals

Match normals of new faces to adjacent faces (default False)

Type:

bool

invert_vertex_group

Invert vertex group influence (default False)

Type:

bool

limit_method

(default 'ANGLE')

  • NONE None – Bevel the entire mesh by a constant amount.

  • ANGLE Angle – Only bevel edges with sharp enough angles between faces.

  • WEIGHT Weight – Use bevel weights to determine how much bevel is applied in edge mode.

  • VGROUP Vertex Group – Use vertex group weights to select whether vertex or edge is beveled.

Type:

Literal[‘NONE’, ‘ANGLE’, ‘WEIGHT’, ‘VGROUP’]

loop_slide

Prefer sliding along edges to having even widths (default True)

Type:

bool

mark_seam

Mark Seams along beveled edges (default False)

Type:

bool

mark_sharp

Mark beveled edges as sharp (default False)

Type:

bool

material

Material index of generated faces, -1 for automatic (in [-1, 32767], default -1)

Type:

int

miter_inner

Pattern to use for inside of miters (default 'MITER_SHARP')

  • MITER_SHARP Sharp – Inside of miter is sharp.

  • MITER_ARC Arc – Inside of miter is arc.

Type:

Literal[‘MITER_SHARP’, ‘MITER_ARC’]

miter_outer

Pattern to use for outside of miters (default 'MITER_SHARP')

  • MITER_SHARP Sharp – Outside of miter is sharp.

  • MITER_PATCH Patch – Outside of miter is squared-off patch.

  • MITER_ARC Arc – Outside of miter is arc.

Type:

Literal[‘MITER_SHARP’, ‘MITER_PATCH’, ‘MITER_ARC’]

offset_type

What distance Width measures (default 'OFFSET')

  • OFFSET Offset – Amount is offset of new edges from original.

  • WIDTH Width – Amount is width of new face.

  • DEPTH Depth – Amount is perpendicular distance from original edge to bevel face.

  • PERCENT Percent – Amount is percent of adjacent edge length.

  • ABSOLUTE Absolute – Amount is absolute distance along adjacent edge.

Type:

Literal[‘OFFSET’, ‘WIDTH’, ‘DEPTH’, ‘PERCENT’, ‘ABSOLUTE’]

profile

The profile shape (0.5 = round) (in [0, 1], default 0.5)

Type:

float

profile_type

The type of shape used to rebuild a beveled section (default 'SUPERELLIPSE')

  • SUPERELLIPSE Superellipse – The profile can be a concave or convex curve.

  • CUSTOM Custom – The profile can be any arbitrary path between its endpoints.

Type:

Literal[‘SUPERELLIPSE’, ‘CUSTOM’]

segments

Number of segments for round edges/verts (in [1, 1000], default 1)

Type:

int

spread

Spread distance for inner miter arcs (in [0, inf], default 0.1)

Type:

float

use_clamp_overlap

Clamp the width to avoid overlap (default True)

Type:

bool

vertex_group

Vertex group name (default “”, never None)

Type:

str

vertex_weight

Attribute name for vertex weight (default “”, never None)

Type:

str

vmesh_method

The method to use to create the mesh at intersections (default 'ADJ')

  • ADJ Grid Fill – Default patterned fill.

  • CUTOFF Cutoff – A cut-off at the end of each profile before the intersection.

Type:

Literal[‘ADJ’, ‘CUTOFF’]

width

Bevel amount (in [0, inf], default 0.1)

Type:

float

width_pct

Bevel amount for percentage method (in [0, inf], default 0.1)

Type:

float

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions