set_edge_bevel_weight
Set bevel weight on specific edges to control which edges are bevelled when using a Bevel modifier in weight limit mode. Assign weights from 0 to 1 to selectively bevel edges.
Instructions
Set bevel weight on edges, used with the Bevel modifier (limit_method=WEIGHT).
Only edges with weight > 0 will be bevelled when the modifier uses WEIGHT mode. This lets you selectively bevel specific edges without affecting the whole mesh.
Typical workflow:
set_edge_bevel_weight("Cube", "4,5,6,7", weight=1.0) ← top edges only
add_modifier("Cube", "BEVEL", params='{"width": 0.05, "limit_method": "WEIGHT"}')
Parameters:
name: Mesh object name
edge_indices: Comma-separated edge indices, or "all"
weight: 0.0 (no bevel) to 1.0 (full bevel)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| edge_indices | Yes | ||
| weight | Yes |