Suggested and funded by BNPR, this patch adds a collection of linestyle presets
Brush
Doodle
Generic Tapered
Invisible Lines
Noisy
Pen
Pencil
Thick Joins
Differential D10517
Freestyle: Linestyle presets Authored by Iyad Ahmed (iyadahmed2001) on Feb 23 2021, 7:18 PM.
Details Suggested and funded by BNPR, this patch adds a collection of linestyle presets Brush Doodle Generic Tapered Invisible Lines Noisy Pen Pencil Thick Joins
Diff Detail
Event TimelineComment Actions This is missing the ability to add new presets, see release/scripts/startup/bl_operators/presets.py and preset_add_operator
Comment Actions Was looking into the comments about adding presets, I don't know if this is possible with the complexity of modifiers. Comment Actions perhaps we could leave this ability for now, the presets serve as examples and starting points Comment Actions I thought about a solution for this, presets could be loaded from and saved to a blend file, if it is worth to add the ability for use to add presets I could try out this idea Comment Actions According to the module wiki, Render & Cycles is responsible for Freestyle nowadays. The most problematic thing I see is that adding a presets adds a new linestyle data-block. Presets should only modify settings, not add data - at least if we follow existing conventions. Couldn't the preset just modify the current data-block instead? Comment Actions Right, adding new datablocks is not the way other presets work, that should be avoided. Comment Actions Yes, but there's problem if user already changed settings or even chose a preset, Comment Actions Switching between presets does not work well with this change.
Comment Actions Indeed this is the issue I tried to solve before by creating a new data block, will try to reset settings instead | ||||||