I'm working on a new character, and rather than use a style for both fill and stroke (my usual method), I want to use two styles: one for fill only and one for stroke only. Some people on this forum have mentioned doing this, and it sounds useful.
Any tips?
I haven't been able to get it to work yet, so a step-by-step would be helpful. Thanks.
Using a style for stroke only
Moderators: Víctor Paredes, Belgarath, slowtiger
- Víctor Paredes
- Site Admin
- Posts: 5818
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Using a style for stroke only
When you are creating/editing a Style, there are checkboxes next to Fill color, Stroke Color and Width.
If you uncheck any of those in the Style, then the style won't apply those values to the shape.
For instance, here is a style that will only affect the strokes, turning them blue blue with a 25 Width:

And here is a style that will only affect the fills, turning them red:

In a similar way, you can select a shape with styles applied and override the style.
For instance, here the shape selected has both Stroke1 and Fill1 styles applied, but I activated the checkbox of the Width, so I can set it to be 13 instead of 25

I hope this makes sense
If you uncheck any of those in the Style, then the style won't apply those values to the shape.
For instance, here is a style that will only affect the strokes, turning them blue blue with a 25 Width:

And here is a style that will only affect the fills, turning them red:

In a similar way, you can select a shape with styles applied and override the style.
For instance, here the shape selected has both Stroke1 and Fill1 styles applied, but I activated the checkbox of the Width, so I can set it to be 13 instead of 25

I hope this makes sense







Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Re: Using a style for stroke only
Thank you for your reply. It makes perfect sense and I followed your directions carefully.
Success!
Thanks!
Success!
Thanks!
Re: Using a style for stroke only
Good explanation!
I adopted this technique to control the thickness of all the strokes at once, after reading about it from Greenlaw here: https://www.lostmarble.com/forum/viewto ... 13&t=22018
Just wanted to recommend it and thank him for it. Every other technique and script I used before had problems, mostly with controlling shape visibility through shape transparency, something I do a lot in combination with references to fake animated layer ordering. As only the thickness is applied, it doesn't mess with the transparency of any shape.
Proposal:
I think that it would be great to have a built in system that did just that under the hood for stroke thickness. The setting could be on the group layer settings, for example bone layers, and would be something like: "force stroke thickness on sublayers" with a checkmark to activate it and a number to set the desired thickness. That workflow would be simpler and nicer to use, as you don't have to take the time to apply the thickness style to each and every shape you create. You just go to your character, and in its bone layer you have that setting that you can change, turn on and off very comfortably.
Alternatively, the setting could be in the syle panel to enhance discoverability, as it's probably where users will be looking at when thinking about controlling the thickness of the strokes. A setting like "global stroke thickness" with the checkmark, the number and a layer that you can choose as the parent. At mouse hovering, it should have an explanation like "this setting forces the selected stroke thickness value on every shape of every sublayer" or something like that.
I don't know, the implementation doesn't matter that much but I think that having the system would be useful for everyone.
I adopted this technique to control the thickness of all the strokes at once, after reading about it from Greenlaw here: https://www.lostmarble.com/forum/viewto ... 13&t=22018
Just wanted to recommend it and thank him for it. Every other technique and script I used before had problems, mostly with controlling shape visibility through shape transparency, something I do a lot in combination with references to fake animated layer ordering. As only the thickness is applied, it doesn't mess with the transparency of any shape.
Proposal:
I think that it would be great to have a built in system that did just that under the hood for stroke thickness. The setting could be on the group layer settings, for example bone layers, and would be something like: "force stroke thickness on sublayers" with a checkmark to activate it and a number to set the desired thickness. That workflow would be simpler and nicer to use, as you don't have to take the time to apply the thickness style to each and every shape you create. You just go to your character, and in its bone layer you have that setting that you can change, turn on and off very comfortably.
Alternatively, the setting could be in the syle panel to enhance discoverability, as it's probably where users will be looking at when thinking about controlling the thickness of the strokes. A setting like "global stroke thickness" with the checkmark, the number and a layer that you can choose as the parent. At mouse hovering, it should have an explanation like "this setting forces the selected stroke thickness value on every shape of every sublayer" or something like that.
I don't know, the implementation doesn't matter that much but I think that having the system would be useful for everyone.
Re: Using a style for stroke only
Wow, I like this feature.
I wanted to change all the strokes on my character, so I went to the Styles menu and selected my custom style, "stroke-A," and increased the stroke width.
Instantly, all the strokes in all the shapes of my character changed. . .at the same. Awesome.
Also awesome: because I was using the scroll wheel in the width box, strokes get thicker or thinner as I scrolled back and forth on the wheel.
I wanted to change all the strokes on my character, so I went to the Styles menu and selected my custom style, "stroke-A," and increased the stroke width.
Instantly, all the strokes in all the shapes of my character changed. . .at the same. Awesome.
Also awesome: because I was using the scroll wheel in the width box, strokes get thicker or thinner as I scrolled back and forth on the wheel.