5
$\begingroup$

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?

$\endgroup$
7
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.