enter image description hereNew Blender user-- Can you mark edges for a single object to different linesets in order to assign different colors (in line style)? Many thanks

I'm adding this drawing-- solid geometric object with selected edges marked for freestyle render-- but in different colors, thickness etc. (Sorry i didn't do this originally, and just saw response after Thanksgiving travel.)

  • $\begingroup$ something like this could be achievable, perhsps, but it could depend on object features (mesh), can you show an example of the dedired result? $\endgroup$ – m.ardito Nov 23 '17 at 10:12

I would suggest using the Material modifier for the freestyle edges.

Apply different materials to the object for the parts you want to color.

mesh with various materials

To control a property, use the Material modifier and select the material property.

enter image description here

Select the Freestyle Line color as you wish. I'll use the Diffuse Red channel to control the thickness and the Diffuse Blue channel to control the Opacity.

Note that the color channels can have any float value.

enter image description here

The green material has a Priority of 1.

enter image description here

| improve this answer | |
  • $\begingroup$ This has been a great help--THANK YOU!!! $\endgroup$ – Archigram Nov 28 '17 at 20:40
  • $\begingroup$ @Archigram You're welcome, if this answer solves your problem, mark it as accepted. If you want to generate more answers, consider editing your post to bump the thread. $\endgroup$ – Leander Nov 28 '17 at 23:50
  • $\begingroup$ I've succeeded using m. ardito's suggestion, but am not sure how to post a new image of my result. A couple of notes for anyone else going down this path: $\endgroup$ – Archigram Nov 29 '17 at 21:38
  • $\begingroup$ @Archigram You can answer your own question. You can also accept your own answer. It's encouraged to add an answer if you provide additional details or a different take. Alternatively you can extend my answer by editing it. $\endgroup$ – Leander Nov 29 '17 at 22:57

Here are my notes for others trying to do this:

  1. Freestyle box must be checked at bottom of Render tab or freestyle line option will not show up in Materials tab.
  2. Render Layers tab is where you find the freestyle linesets and their linestyles, with the option to add the materials modifier.
  3. For the attached image I remade the geometry to eliminate seams that result from extrusion and inset tool, instead manipulating vertices directly and joining separate primitives into single object.
  4. The crease setting is 166 degrees.
  5. I also marked a few edges that weren't showing (in 3D view, mesh, mark edges for Freestyle) and checked Edge Mark box in edge types. They render in correct color for that material.
  6. I made a second lineset, checked only contour, and set that color (black) separately.

(black here)

| improve this answer | |

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.