set_freestyle
Configure Freestyle line rendering on the active view layer to draw ink outlines, toon edges, or technical-drawing details over renders.
Instructions
Draw ink lines over the render: outlines, toon, technical-drawing looks.
Applies to the active view layer's line set (created if needed).
Args: enabled: Turn line rendering on or off. thickness: Line width in pixels, 0.1 to 10000. color: RGB of the lines, 0.0 to 1.0. edges: Which edges get lines: SILHOUETTE (object outline against others), BORDER (open mesh edges), CREASE (sharp folds, see crease_angle), CONTOUR, EXTERNAL_CONTOUR (outer outline only), MATERIAL_BOUNDARY, RIDGE_VALLEY, SUGGESTIVE_CONTOUR, EDGE_MARK (edges marked for Freestyle). Replaces the current choice. crease_angle: Degrees, 0 to 180: edges sharper than this count as creases. as_render_pass: Put the lines in their own pass instead of on the image.
Returns: Dict with the Freestyle state after the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| edges | No | ||
| enabled | No | ||
| thickness | No | ||
| crease_angle | No | ||
| as_render_pass | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||