FreestyleSettings(bpy_struct)

base class — bpy_struct

class bpy.types.FreestyleSettings(bpy_struct)

Freestyle settings for a SceneRenderLayer datablock

crease_angle

Angular threshold for detecting crease edges

Type :float in [0, 3.14159], default 0.0
kr_derivative_epsilon

Kr derivative epsilon for computing suggestive contours

Type :float in [-1000, 1000], default 0.0
linesets
Type :Linesets bpy_prop_collection of FreestyleLineSet, (readonly)
mode

Select the Freestyle control mode

  • SCRIPT Python Scripting Mode, Advanced mode for using style modules in Python.
  • EDITOR Parameter Editor Mode, Basic mode for interactive style parameter editing.
Type :enum in [‘SCRIPT’, ‘EDITOR’], default ‘SCRIPT’
modules

A list of style modules (to be applied from top to bottom)

Type :bpy_prop_collection of FreestyleModuleSettings, (readonly)
raycasting_algorithm

Select the Freestyle raycasting algorithm

  • REGULAR Normal Ray Casting, Consider all FEdges in each ViewEdge.
  • FAST Fast Ray Casting, Sample some FEdges in each ViewEdge.
  • VERYFAST Very Fast Ray Casting, Sample one FEdge in each ViewEdge; do not save list of occluders.
  • CULLEDADAPTIVETRADITIONAL Culled Traditional Visibility Detection, Culled adaptive grid with heuristic density and traditional QI calculation.
  • ADAPTIVETRADITIONAL Unculled Traditional Visibility Detection, Adaptive grid with heuristic density and traditional QI calculation.
  • CULLEDADAPTIVECUMULATIVE Culled Cumulative Visibility Detection, Culled adaptive grid with heuristic density and cumulative QI calculation.
  • ADAPTIVECUMULATIVE Unculled Cumulative Visibility Detection, Adaptive grid with heuristic density and cumulative QI calculation.
Type :enum in [‘REGULAR’, ‘FAST’, ‘VERYFAST’, ‘CULLEDADAPTIVETRADITIONAL’, ‘ADAPTIVETRADITIONAL’, ‘CULLEDADAPTIVECUMULATIVE’, ‘ADAPTIVECUMULATIVE’], default ‘REGULAR’
sphere_radius

Sphere radius for computing curvatures

Type :float in [0, 1000], default 0.0
use_advanced_options

Enable advanced edge detection options (sphere radius and Kr derivative epsilon)

Type :boolean, default False
use_culling

If enabled, out-of-view edges are ignored

Type :boolean, default False
use_material_boundaries

Enable material boundaries

Type :boolean, default False
use_ridges_and_valleys

Enable ridges and valleys

Type :boolean, default False
use_smoothness

Take face smoothness into account in view map calculation

Type :boolean, default False
use_suggestive_contours

Enable suggestive contours

Type :boolean, default False

Inherited Properties

Inherited Functions

References

Previous topic

FreestyleModuleSettings(bpy_struct)

Next topic

Function(bpy_struct)