Is there a way to mark all edges to be rendered with freestyle, without marking all edges as freestyle lines in each individual object one by one?
1 Answer
$\begingroup$
$\endgroup$
1
A simple python script can turn them all on/off
import bpy
for object in bpy.data.objects:
if object.type == 'MESH':
for edge in object.data.edges:
edge.use_freestyle_mark = True
#show the marked edges
object.data.show_freestyle_edge_marks = True
Just paste this into the text editor, and press the hotkey ALTP, or the Run Script button to run it.
Then, to remove the marks, just change True
's to False
, and run the script and they should all be gone.
-
$\begingroup$ script above not working i.sstatic.net/WfQqr.png $\endgroup$ Commented Apr 7, 2016 at 15:19