Freestyle integration into Blender

October 18, 2010

Weekly update September 22-October 17

Filed under: Update — The dev team @ 1:25 AM

In the last blog post, we discussed how the complexity of internal stroke representations may increase when line joins, line caps and extreme thickness are taken into account.  After that, in the BlenderArtists Freestyle thread a separate discussion took place about Python scripting for implementing line caps.  This reminded the dev team that the implementation of different line caps is not that difficult and can be done independently of the other two issues of line joins and extreme thickness.  Hence, a new set of options for controlling the line caps has been added as shown in the screenshot below:

The Strokes panel of the Freestyle Line Style tab now allows you to use three types of line caps: Butt (flat), Round (half-circle), and Square (flat and extended).  See the following example images for each type of line caps.


Another small addition to the Strokes panel is the Same Object option.  By default, feature edges from different objects may be connected to form a stroke.  The Same Object option alters this default chaining rule, requesting that feature edges be connected only when they belong to the same object.



  1. Cooool shit

    Comment by ike — October 18, 2010 @ 2:55 AM

  2. thanks guys for all your hard work!

    Comment by none — October 18, 2010 @ 6:37 AM

  3. I am constantly amazed with how much work and ingenuity you put into Freestyle development. I wouldn’t have thought about many of these things, much less expect them from free software.

    If I could ask, when will Freestyle be merged into Blender trunk? Are there any estimates? Can I hope to see Blender 2.6 with Freestyle included?

    Kind regards,


    Comment by Barts — October 18, 2010 @ 10:47 AM

  4. Thanks all for the comments!

    It is still a bit difficult to estimate the time when the merge into the trunk is finally asked. We have defined a specific list of things that should be done before the merge (see the blog post on 7th of June). There are three items in the to-do list: 1) the new artist-friendly GUI, 2) feature edge detection at mesh intersection, and 3) finalization of Python API improvements. As a rough evaluation, the propotions of work achievement are 30%, 0%, and 80%, respectively. Taking into account the amount of time spent so far and the amount of work to do, I would say the merge is unlikely to happen before the middle of the next year. I keep woking so that this will end up being an overestimate ;-)

    Comment by The dev team — October 21, 2010 @ 12:16 AM

  5. been hoping for this feature, thank T.K. & team!

    Comment by Blenderificus — October 21, 2010 @ 8:42 AM

  6. “There are three items in the to-do list: 1) the new artist-friendly GUI, 2) feature edge detection at mesh intersection, and 3) finalization of Python API improvements. As a rough evaluation, the propotions of work achievement are 30%, 0%, and 80%, respectively.”

    those are perfect to-do’s for this project before the merge. The artist-friendly gui is just so awesome i have no complaints.

    Comment by Ike — October 22, 2010 @ 12:10 AM

  7. It would also be interesting for mechanical and technical renderings the ability dot-line-strokes (- – – – , …..) with control over filled and empty spaces.

    A little further…. add custom dots (small svg/png/jpeg images)

    Thanks for your work

    Comment by ciriaco — October 22, 2010 @ 11:25 AM

  8. clarification of my previous comment:

    the ability of dahsed strokes

    sorry my english

    Comment by ciriaco — October 22, 2010 @ 11:34 AM

  9. ciriaco,
    Your comments reminded me that I had tried to implement dashed lines in Freestyle in the past. At that time, the outcome was not satisfactory due to a wrong approach to an implementation of dashed lines. Now I know a better approach, and the new Parameter Editor mode we have in hand is a perfect venue for interactive editing of dashed lines. In revision 32671, I have added support for dashed lines together with user control over dashes and gaps. Please give it a try and see if the GUI elements are okay. Custom dots sound a good idea. I leave it for now and will come back to it later.

    Comment by The dev team — October 23, 2010 @ 11:48 PM

  10. Thanks!!!!!!!!

    Comment by ciriaco — October 25, 2010 @ 8:01 AM

  11. Maybe there should be an option to invert and elongate the cap similar to the “stroke in” and “stroke out” options in Manga Studio (or in Inkscape “Caps” next to “Fixation”). “Stroke in” isn’t a half circle though, or even an ellipse; it’s more of a pointy eyelash thing. It seems to have the same behavior though as Inkscape’s caps as (opposed to altering the width entire line like japanese_bigbrush) which is what I’m getting at.

    Comment by Roger Wilco — October 25, 2010 @ 9:14 PM

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: