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')VERTICESVertices – Affect only vertices.EDGESEdges – 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:
- 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_NONENone – Do not set face strength.FSTR_NEWNew – Set face strength on new faces only.FSTR_AFFECTEDAffected – Set face strength on new and affected faces only.FSTR_ALLAll – 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')NONENone – Bevel the entire mesh by a constant amount.ANGLEAngle – Only bevel edges with sharp enough angles between faces.WEIGHTWeight – Use bevel weights to determine how much bevel is applied in edge mode.VGROUPVertex 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_SHARPSharp – Inside of miter is sharp.MITER_ARCArc – Inside of miter is arc.
- Type:
Literal[‘MITER_SHARP’, ‘MITER_ARC’]
- miter_outer
Pattern to use for outside of miters (default
'MITER_SHARP')MITER_SHARPSharp – Outside of miter is sharp.MITER_PATCHPatch – Outside of miter is squared-off patch.MITER_ARCArc – Outside of miter is arc.
- Type:
Literal[‘MITER_SHARP’, ‘MITER_PATCH’, ‘MITER_ARC’]
- offset_type
What distance Width measures (default
'OFFSET')OFFSETOffset – Amount is offset of new edges from original.WIDTHWidth – Amount is width of new face.DEPTHDepth – Amount is perpendicular distance from original edge to bevel face.PERCENTPercent – Amount is percent of adjacent edge length.ABSOLUTEAbsolute – 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')SUPERELLIPSESuperellipse – The profile can be a concave or convex curve.CUSTOMCustom – 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')ADJGrid Fill – Default patterned fill.CUTOFFCutoff – 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:
- 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